]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
cmake: disable SSE4.2 by default
authorKefu Chai <tchaikov@gmail.com>
Fri, 15 Sep 2017 02:18:45 +0000 (10:18 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 15 Sep 2017 02:18:47 +0000 (10:18 +0800)
this commit is not cherry-picked from fb upstream, as it added "PORTABLE"
and "FORCE_SSE42" to do this.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
CMakeLists.txt

index 1b1719de5776a23a594e0865901948eb16999352..5f82b33af921badfbfbf7df70b7088a68b8f58d2 100644 (file)
@@ -125,7 +125,7 @@ if(WIN32)
     endif()
   endif()
 else()
-  option(WITH_SSE42 "build with SSE4.2" ON)
+  option(WITH_SSE42 "build with SSE4.2" OFF)
   if(WITH_SSE42)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2")
   endif()