summaryrefslogtreecommitdiffstats
path: root/src/erasure-code
diff options
context:
space:
mode:
authorBassam Tabbara <bassam.tabbara@quantum.com>2016-09-22 21:25:16 +0200
committerBassam Tabbara <bassam.tabbara@quantum.com>2016-09-29 19:34:34 +0200
commitfeb224d7e179f0681e6d4454f20a2a930e001d8a (patch)
tree5afdea97c3d236dd1b76e32a7b3ce10cf99a907b /src/erasure-code
parentdoc: Updated PendingReleaseNotes. (diff)
downloadceph-feb224d7e179f0681e6d4454f20a2a930e001d8a.tar.xz
ceph-feb224d7e179f0681e6d4454f20a2a930e001d8a.zip
erasure-code: improve non-regression testing
Pickup new ec corpus with improved testing. Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Diffstat (limited to 'src/erasure-code')
-rw-r--r--src/erasure-code/jerasure/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/erasure-code/jerasure/CMakeLists.txt b/src/erasure-code/jerasure/CMakeLists.txt
index 3225b6b99e1..88c1ca40da8 100644
--- a/src/erasure-code/jerasure/CMakeLists.txt
+++ b/src/erasure-code/jerasure/CMakeLists.txt
@@ -35,6 +35,13 @@ if(HAVE_INTEL_SSE4_2)
list(APPEND GF_COMPILE_FLAGS INTEL_SSE4)
endif()
+# set this to TRUE to enable debugging of SIMD detection
+# inside gf-complete. gf-complete will printf the SIMD
+# instructions detected to stdout.
+if (FALSE)
+ list(APPEND GF_COMPILE_FLAGS DEBUG_CPU_DETECTION)
+endif()
+
set(gf-complete_srcs
gf-complete/src/gf_cpu.c
gf-complete/src/gf_wgen.c
@@ -59,7 +66,7 @@ endif()
add_library(gf-complete_objs OBJECT ${gf-complete_srcs})
set_target_properties(gf-complete_objs PROPERTIES
- COMPILE_FLAGS ${SIMD_COMPILE_FLAGS})
+ COMPILE_FLAGS "${SIMD_COMPILE_FLAGS}")
set_target_properties(gf-complete_objs PROPERTIES
COMPILE_DEFINITIONS "${GF_COMPILE_FLAGS}")