]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: include(SIMDExt) in src/CMakeLists.txt 11003/head
authorKefu Chai <kchai@redhat.com>
Wed, 7 Sep 2016 11:58:44 +0000 (19:58 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 7 Sep 2016 11:58:45 +0000 (19:58 +0800)
as we need to check HAVE_ARMV8_CRC in src/CMakeLists.txt.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/erasure-code/CMakeLists.txt
src/test/CMakeLists.txt

index 3eed3d40f4f3d37d3e59d92415b6536754a2e0c6..9a6948148812226348b1835bb13a9fdb2ae049e4 100644 (file)
@@ -467,6 +467,7 @@ set_source_files_properties(${CMAKE_SOURCE_DIR}/src/ceph_ver.c
   ${CMAKE_SOURCE_DIR}/src/test/encoding/ceph_dencoder.cc
   APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/src/include/ceph_ver.h)
 
+include(SIMDExt)
 if(HAVE_ARMV8_CRC)
   add_library(common_crc_aarch64 STATIC common/crc32c_aarch64.c)
   set_target_properties(common_crc_aarch64 PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} ${ARM_CRC_FLAGS}")
index 86ecbbc813325966406aa8068d6a9f61bf9bd937..d0941c1123112e950f7d8e89f24411f5e1608255 100644 (file)
@@ -7,8 +7,6 @@ include_directories(jerasure/jerasure/include)
 include_directories(jerasure/gf-complete/include)
 include_directories(jerasure)
 
-include(SIMDExt)
-
 if(TRUE)
   list(APPEND jerasure_flavors generic)
 endif()
index 93283537d09bc035789b5647853223431d4f9302..8c1c2814ad4bcd6614717fc0e2011b8f96cef138 100644 (file)
@@ -363,8 +363,6 @@ target_link_libraries(ceph_multi_stress_watch librados global radostest
   ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
 
 #ceph_perf_local
-include(SIMDExt)
-
 add_executable(ceph_perf_local 
   perf_local.cc
   perf_helper.cc)