diff options
Diffstat (limited to 'vcpkg/ports/magma/no-tests.patch')
| -rw-r--r-- | vcpkg/ports/magma/no-tests.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/magma/no-tests.patch b/vcpkg/ports/magma/no-tests.patch new file mode 100644 index 0000000..0807181 --- /dev/null +++ b/vcpkg/ports/magma/no-tests.patch @@ -0,0 +1,40 @@ +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
|