Merge pull request #10438 from ceph/wip-arm64

ARM64 fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Tested-by: tone zhang <tone.zhang@linaro.org>
This commit is contained in:
Kefu Chai 2016-07-27 23:49:05 +08:00 committed by GitHub
commit e93f25c65e
3 changed files with 8 additions and 3 deletions

View File

@ -45,6 +45,7 @@ if(ARM_NEON OR ARM_NEON2)
gf-complete/src/neon/gf_w32_neon.c
gf-complete/src/neon/gf_w64_neon.c)
add_library(neon_objs OBJECT ${neon_objs_srcs})
set_target_properties(neon_objs PROPERTIES COMPILE_FLAGS ${ARM_NEON_FLAGS})
set(jerasure_neon_srcs
$<TARGET_OBJECTS:ec_jerasure_objs>

@ -1 +1 @@
Subproject commit 5647fa427c4eab87c0caf8bcbb91f5846a4623f9
Subproject commit 6797e6ffacd90470140f64cea068970bb3a30aaf

View File

@ -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})