Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/test/CMakeLists.txt
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | set(SRC | ||||
| util_math_test.cpp | util_math_test.cpp | ||||
| util_path_test.cpp | util_path_test.cpp | ||||
| util_string_test.cpp | util_string_test.cpp | ||||
| util_task_test.cpp | util_task_test.cpp | ||||
| util_time_test.cpp | util_time_test.cpp | ||||
| util_transform_test.cpp | util_transform_test.cpp | ||||
| ) | ) | ||||
| # Disable AVX tests on macOS. Rosetta has problems running them, and other | |||||
| # platforms should be enough to verify AVX operations are implemented correctly. | |||||
| if(NOT APPLE) | |||||
| if(CXX_HAS_AVX) | if(CXX_HAS_AVX) | ||||
| list(APPEND SRC | list(APPEND SRC | ||||
| util_avxf_avx_test.cpp | util_avxf_avx_test.cpp | ||||
| ) | ) | ||||
| set_source_files_properties(util_avxf_avx_test.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_AVX_KERNEL_FLAGS}") | set_source_files_properties(util_avxf_avx_test.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_AVX_KERNEL_FLAGS}") | ||||
| endif() | endif() | ||||
| if(CXX_HAS_AVX2) | if(CXX_HAS_AVX2) | ||||
| list(APPEND SRC | list(APPEND SRC | ||||
| util_avxf_avx2_test.cpp | util_avxf_avx2_test.cpp | ||||
| ) | ) | ||||
| set_source_files_properties(util_avxf_avx2_test.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_AVX2_KERNEL_FLAGS}") | set_source_files_properties(util_avxf_avx2_test.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_AVX2_KERNEL_FLAGS}") | ||||
| endif() | endif() | ||||
| endif() | |||||
| if(WITH_GTESTS) | if(WITH_GTESTS) | ||||
| BLENDER_SRC_GTEST(cycles "${SRC}" "${ALL_CYCLES_LIBRARIES}") | BLENDER_SRC_GTEST(cycles "${SRC}" "${ALL_CYCLES_LIBRARIES}") | ||||
| cycles_target_link_libraries(cycles_test) | cycles_target_link_libraries(cycles_test) | ||||
| endif() | endif() | ||||