forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add variant to disable tests for bufr becuase it downloads test files during CMake phase * Create patch that links to libm for C tests to workaround DSO error
- Loading branch information
1 parent
82e4136
commit 54bc0d8
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/test/CMakeLists.txt 2022-07-28 11:25:13.000000000 -0400 | ||
+++ b/test/CMakeLists.txt 2022-07-28 11:26:40.000000000 -0400 | ||
@@ -205,7 +205,7 @@ | ||
set(test_exe ${test}.x) | ||
add_executable(${test_exe} ${test_src}) | ||
add_dependencies(${test_exe} bufr_${kind}) | ||
- target_link_libraries(${test_exe} PRIVATE bufr::bufr_${kind}) | ||
+ target_link_libraries(${test_exe} PRIVATE bufr::bufr_${kind} m) | ||
add_test(NAME ${test} COMMAND ${CMAKE_BINARY_DIR}/test/${test_exe}) | ||
endforeach() | ||
endforeach() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters