We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e358b commit 593ce9eCopy full SHA for 593ce9e
test/CMakeLists.txt
@@ -3,11 +3,18 @@ include_directories(${PROJECT_BINARY_DIR})
3
4
enable_language(Fortran)
5
6
-set(OpenBLAS_Tests
7
- sblat1 sblat2 sblat3
8
- dblat1 dblat2 dblat3
9
- cblat1 cblat2 cblat3
10
- zblat1 zblat2 zblat3)
+if (BUILD_SINGLE)
+ list( APPEND OpenBLAS_Tests sblat1 sblat2 sblat3)
+endif()
+if (BUILD_DOUBLE)
+ list (APPEND OpenBLAS_Tests dblat1 dblat2 dblat3)
11
12
+if (BUILD_COMPLEX)
13
+ list (APPEND OpenBLAS_Tests cblat1 cblat2 cblat3)
14
15
+if (BUILD_COMPLEX16)
16
+ list (APPEND OpenBLAS_Tests zblat1 zblat2 zblat3)
17
18
19
foreach(test_bin ${OpenBLAS_Tests})
20
add_executable(${test_bin} ${test_bin}.f)
0 commit comments