]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: do not pass $SIMD_COMPILE_FLAGS to rocksdb cmake 17745/head
authorKefu Chai <kchai@redhat.com>
Fri, 15 Sep 2017 02:30:16 +0000 (10:30 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Sep 2017 02:38:14 +0000 (10:38 +0800)
commit381ed45b491fecd9254c2b8ee3da89064cfe8c1a
tree8b68ccf596ff94a0d882d9bbdb167b344b703836
parent9216086795a6a9c7b33000d44bea8ec9c62d41bb
cmake: do not pass $SIMD_COMPILE_FLAGS to rocksdb cmake

which enables SSE42 globally in rocksdb. and we will end up with a
binary not portable on non-SSE42 enabled machines.

Fixes: http://tracker.ceph.com/issues/20529
Signed-off-by: Kefu Chai <kchai@redhat.com>
Conflicts:
this change is not cherry-picked from master. because the
PR targeting master (https://github.com/ceph/ceph/pull/17388) is
still pending on review. and the cmake changes is different if
we want to use a recent commit of rocksdb, as it's doing differently
in cmake to address the portability issues.
src/CMakeLists.txt