We should not enable checkperf on anything but Linux. (#762)

This commit is contained in:
Daniel Lemire 2020-04-22 21:54:03 -04:00 committed by GitHub
parent 185274e70f
commit 80dbf9a32a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ if (SIMDJSON_COMPETITION)
target_compile_definitions(allparsingcompetition PRIVATE ALLPARSER)
endif()
if (NOT MSVC)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_test(NAME checkperf
COMMAND ${CMAKE_COMMAND} -E env
CHECKPERF_REPOSITORY=https://github.com/simdjson/simdjson
@ -46,4 +46,4 @@ if (NOT MSVC)
set_property(TEST checkperf APPEND PROPERTY LABELS per_implementation)
set_property(TEST checkperf APPEND PROPERTY DEPENDS parse perfdiff ${SIMDJSON_USER_CMAKECACHE})
set_property(TEST checkperf PROPERTY RUN_SERIAL TRUE)
endif()
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")