vcpkg/ports/magma/no-tests.patch

41 lines
1.1 KiB
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3c9606..a783c57 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -569,6 +569,7 @@ target_link_libraries( lapacktest
# ----------------------------------------
# compile tester library
+if(FALSE)
add_library( tester ${libtest_all} )
target_link_libraries( tester
magma
@@ -576,8 +577,7 @@ target_link_libraries( tester
${blas_fix}
${LAPACK_LIBRARIES}
)
-
-
+endif()
# ----------------------------------------
# compile MAGMA sparse library
@@ -619,7 +619,7 @@ add_custom_target( sparse-lib DEPENDS magma_sparse )
# ----------------------------------------
# compile each tester
-
+if(FALSE)
# save testers to testing/
# save tester lib files to testing_lib/ to avoid cluttering lib/
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY testing )
@@ -664,7 +664,7 @@ foreach( TEST ${sparse_testing_all} )
list( APPEND sparse-testing ${EXE} )
endforeach()
add_custom_target( sparse-testing DEPENDS ${sparse-testing} )
-
+endif()
# ----------------------------------------
# what to install