mirror of
https://github.com/ceph/ceph
synced 2025-01-31 07:22:56 +00:00
src/test/CMakeLists.txt: don't assume Intel (sse/sse2)
Fixes ARM64 build of ceph_perf_local test Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
parent
dbdd1a8526
commit
7595b0b66f
@ -356,8 +356,12 @@ target_link_libraries(ceph_multi_stress_watch librados global radostest
|
||||
add_executable(ceph_perf_local
|
||||
perf_local.cc
|
||||
perf_helper.cc)
|
||||
#INTEL_SSE & INTEL_SSE2 flags
|
||||
set(PERF_LOCAL_FLAGS "-msse -msse2")
|
||||
if(HAVE_SSE)
|
||||
set(PERF_LOCAL_FLAGS ${SSE3_FLAGS})
|
||||
endif(HAVE_SSE)
|
||||
if(HAVE_NEON)
|
||||
set(PERF_LOCAL_FLAGS ${ARM_NEON_FLAGS})
|
||||
endif(HAVE_NEON)
|
||||
set_target_properties(ceph_perf_local PROPERTIES COMPILE_FLAGS
|
||||
${PERF_LOCAL_FLAGS})
|
||||
target_link_libraries(ceph_perf_local os global ${UNITTEST_LIBS})
|
||||
|
Loading…
Reference in New Issue
Block a user