From: Yi Wu Date: Thu, 21 Jun 2018 21:30:00 +0000 (-0700) Subject: Update TARGETS file (#4028) X-Git-Tag: v5.14.2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4e69cf0d20ebe99be0fa4076736f2940692e193c;p=rocksdb.git Update TARGETS file (#4028) Summary: -Wshorten-64-to-32 is invalid flag in fbcode. Changing it to -Warrowing. Closes https://github.com/facebook/rocksdb/pull/4028 Differential Revision: D8553694 Pulled By: yiwu-arbug fbshipit-source-id: 1523cbcb4c76cf1d2b10a4d28b5f58c78e6cb876 --- diff --git a/TARGETS b/TARGETS index 7bd3a45dc..cb4c07d9f 100644 --- a/TARGETS +++ b/TARGETS @@ -28,7 +28,7 @@ rocksdb_compiler_flags = [ # Added missing flags from output of build_detect_platform "-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX", "-DROCKSDB_BACKTRACE", - "-Wshorten-64-to-32", + "-Wnarrowing", ] rocksdb_external_deps = [ @@ -556,13 +556,13 @@ ROCKS_TESTS = [ "serial", ], [ - "db_iter_test", - "db/db_iter_test.cc", + "db_iter_stress_test", + "db/db_iter_stress_test.cc", "serial", ], [ - "db_iter_stress_test", - "db/db_iter_stress_test.cc", + "db_iter_test", + "db/db_iter_test.cc", "serial", ], [ diff --git a/buckifier/targets_cfg.py b/buckifier/targets_cfg.py index 006f653a2..9d46bcd58 100644 --- a/buckifier/targets_cfg.py +++ b/buckifier/targets_cfg.py @@ -32,7 +32,7 @@ rocksdb_compiler_flags = [ # Added missing flags from output of build_detect_platform "-DROCKSDB_PTHREAD_ADAPTIVE_MUTEX", "-DROCKSDB_BACKTRACE", - "-Wshorten-64-to-32", + "-Wnarrowing", ] rocksdb_external_deps = [