@@ -5,7 +5,7 @@ index 44ba37edd..6ba5a69f1 100644
55@@ -566,8 +566,8 @@ install(
66 COMPONENT dev
77 )
8-
8+
99- option(BUILD_TESTS "If enabled, compile the tests." OFF)
1010- option(BUILD_BENCHMARKS "If enabled, compile the benchmarks." OFF)
1111+ option(BUILD_TESTS "If enabled, compile the tests." ON)
@@ -45,7 +45,7 @@ index 44ba37edd..6ba5a69f1 100644
4545+
4646+ DIRECTORY test/function_benchmark/
4747+ BENCHMARK function_benchmark SOURCES main.cpp benchmark_impl.cpp test_functions.cpp
48-
48+
4949 DIRECTORY synchronization/detail/test/
5050 TEST synchronization_detail_hardware_test SOURCES HardwareTest.cpp
5151@@ -1139,6 +1146,8 @@ if (BUILD_TESTS OR BUILD_BENCHMARKS)
@@ -72,7 +72,7 @@ index 44ba37edd..6ba5a69f1 100644
7272+ BENCHMARK lt_hash_benchmark SOURCES LtHashBenchmark.cpp
7373 )
7474 endif()
75-
75+
7676diff --git a/folly/concurrency/test/ConcurrentHashMapBench.cpp b/folly/concurrency/test/ConcurrentHashMapBench.cpp
7777index 770c47ed0..e1e5bf097 100644
7878--- a/folly/concurrency/test/ConcurrentHashMapBench.cpp
@@ -91,11 +91,11 @@ index 2c207a551..bd577ed98 100644
9191--- a/folly/lang/Hint-inl.h
9292+++ b/folly/lang/Hint-inl.h
9393@@ -115,7 +115,7 @@ FOLLY_ALWAYS_INLINE void compiler_must_not_elide(T const& t, std::true_type) {
94-
94+
9595 template <typename T>
9696 FOLLY_ALWAYS_INLINE void compiler_must_not_predict(T& t, std::false_type) {
9797- asm volatile("" : "+r"(t));
9898+ //asm volatile("" : "+r"(t));
9999 }
100-
100+
101101 template <typename T>
0 commit comments