Skip to content
Snippets Groups Projects
Commit daedbe78 authored by Oksana Shadura's avatar Oksana Shadura Committed by Philippe Canal
Browse files

Changing detection to only zlib-cf specific (only SIMD)

parent a3de4a9d
No related branches found
No related tags found
No related merge requests found
......@@ -437,7 +437,7 @@ elseif(compression_default STREQUAL "lzma")
endif()
# cloudflare zlib is available only on x86 and aarch64 platforms with Linux
# for other platforms we have available builtin zlib 1.2.8
if((builtinzlib) AND (CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64|AMD64|X86_64|aarch64") AND (CMAKE_SYSTEM_NAME MATCHES "Linux"))
if(ZLIB_CF)
set(usecloudflarezlib define)
else()
set(usecloudflarezlib undef)
......
......@@ -125,7 +125,7 @@ if(ZLIB_CF)
configure_file(stressGraphics_builtinzlib.ref stressGraphics_builtinzlib.ref COPYONLY)
else()
configure_file(stressGraphics.ref stressGraphics.ref COPYONLY)
endif()
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../tutorials/graphics/earth.dat earth.dat COPYONLY)
ROOT_ADD_TEST(test-stressgraphics ENVIRONMENT LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib:$ENV{LD_LIBRARY_PATH} COMMAND stressGraphics -b -k FAILREGEX "FAILED|Error in" LABELS longtest)
ROOT_ADD_TEST(test-stressgraphics-interpreted COMMAND ${ROOT_root_CMD} -b -q -l ${CMAKE_CURRENT_SOURCE_DIR}/stressGraphics.cxx
......@@ -198,7 +198,7 @@ ROOT_ADD_TEST(test-stressmathcore-interpreted COMMAND ${ROOT_root_CMD} -b -q -l
#--stressRooFit----------------------------------------------------------------------------------
if(ROOT_roofit_FOUND)
ROOT_EXECUTABLE(stressRooFit stressRooFit.cxx LIBRARIES RooFit)
configure_file(stressRooFit_ref.root stressRooFit_ref.root COPYONLY)
configure_file(stressRooFit_ref.root stressRooFit_ref.root COPYONLY)
ROOT_ADD_TEST(test-stressroofit COMMAND stressRooFit FAILREGEX "FAILED|Error in" LABELS longtest)
ROOT_ADD_TEST(test-stressroofit-interpreted COMMAND ${ROOT_root_CMD} -b -q -l ${CMAKE_CURRENT_SOURCE_DIR}/stressRooFit.cxx
FAILREGEX "FAILED|Error in" DEPENDS test-stressroofit )
......@@ -209,7 +209,7 @@ endif()
#--stressRooStats----------------------------------------------------------------------------------
if(ROOT_roofit_FOUND)
ROOT_EXECUTABLE(stressRooStats stressRooStats.cxx LIBRARIES RooStats)
configure_file(stressRooStats_ref.root stressRooStats_ref.root COPYONLY)
configure_file(stressRooStats_ref.root stressRooStats_ref.root COPYONLY)
ROOT_ADD_TEST(test-stressroostats COMMAND stressRooStats FAILREGEX "FAILED|Error in" LABELS longtest)
ROOT_ADD_TEST(test-stressroostats-interpreted COMMAND ${ROOT_root_CMD} -b -q -l ${CMAKE_CURRENT_SOURCE_DIR}/stressRooStats.cxx
FAILREGEX "FAILED|Error in" DEPENDS test-stressroostats )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment