Skip to content
Snippets Groups Projects
Commit 5dc77b6c authored by Vasileios Karakasis's avatar Vasileios Karakasis Committed by Ben Cumming
Browse files

Conditionally compile AVX2 transcendentals unit tests (#355)

Only compile AVX2 intrinsics unit tests if NMC_VECTORIZE_TARGET=AVX2 is defined.

Fixes #351.
parent 180a7ace
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,6 @@ set(TEST_SOURCES
test_event_binner.cpp
test_filter.cpp
test_fvm_multi.cpp
#test_intrin.cpp
test_mc_cell_group.cpp
test_lexcmp.cpp
test_mask_stream.cpp
......@@ -87,6 +86,9 @@ set(TEST_SOURCES
stats.cpp
)
if(NMC_VECTORIZE_TARGET STREQUAL "AVX2")
list(APPEND TEST_SOURCES test_intrin.cpp)
endif()
set(TARGETS test.exe)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment