Commit 970ea81
Also rpath <prefix>/lib so configure tests find libomp/libgomp
The previous commit baked <prefix>/lib/esys as the only RPATH, but
scons configure tests (e.g. "working complex std::acos") execute
small test programs that need to dlopen libomp.dylib / libgomp.so.
Those libs live in <prefix>/lib (not <prefix>/lib/esys), so the
probes crashed with "Library not loaded: @rpath/libomp.dylib" on
osx and silently fell back to the boost std::acos implementation.
Add <prefix>/lib as a second -rpath entry so the configure tests
work, and so the runtime keeps working even if conda-forge ever
ships an llvm-openmp with an @rpath install_name.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 59f63f8 commit 970ea81
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
624 | 627 | | |
625 | | - | |
626 | | - | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
627 | 632 | | |
628 | 633 | | |
629 | 634 | | |
| |||
0 commit comments