-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There were two main problems 1. Dynamic linking on macOS requires some extra hoop-jumping: ```cmake if(APPLE) target_link_options(nain4-tests PRIVATE -undefined dynamic_lookup) endif() ``` 2. There was a clash of libc++ versions between clang 16 and the dependencies pulled in by Qt and Geant4. This caused very mysterious segfaults before main was entered on pretty much any executable. We got around this by overriding the libc++ version used by clang 16 on Darwin. (The Linux version had no such problems). An [upstream fix](NixOS/nixpkgs#234710) is in the works. Once that lands, we can remove our hack. Now that all this has been fixed, GHA failures on macOS are no longer allowed. We need to bump the tag in the client-side fetch-content test, which will continue to fail until we push the corresponding tag to this merge commit.
- Loading branch information
Showing
5 changed files
with
51 additions
and
24 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
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
tmp_dir=$(mktemp -d -t nain4-recompile-XXXXXX) | ||
test_dir=$(dirname "$(readlink -f "$0")") | ||
|
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
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