You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Update macOS build scripts for libomp dependency (#906)
* Link against checked in libomp.dylib
* Try another explicit link strategy
* Show contents of osx folder
* Try another linker strategy
* go back to old linker pattern
* try other syntax
* Try checked in openmp headers
* try getting more info from otool
* Try adapting libomp rpath on mac
* Ensure libomp lands in drops folder
* Additional copy of libomp
* Add explanatory comments
* Use @loader_path instead of @executable_path
# Note we use `-rpath @loader_path` to ensure the produced binary includes the folder of the binary
95
+
# itself in the runtime search path for dynamic library load, regardless of environment settings.
96
+
# We don't use `@executable_path` because that takes into account recursive dependencies and will be
97
+
# the folder of the originally launched binary (root of the dependency tree) instead of loading binary
98
+
# (the immediate parent in the dependency tree), which will be the simulatory library itself.
99
+
# See https://www.man7.org/linux/man-pages/man1/ld.1.html and https://stackoverflow.com/questions/52981210/linking-with-dylib-library-from-the-command-line-using-clang
0 commit comments