Skip to content

Commit

Permalink
Check RPATH info
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed May 5, 2024
1 parent d899df2 commit b2b9784
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/quick_wheel_test.yml
Expand Up @@ -53,6 +53,15 @@ jobs:
run: |
pip install dist/pyne*.whl
- name: Check RPATH info
if: matrix.os == 'macos-latest'
shell: bash -l {0}
run: |
otool -l /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyne/pyne_config.cpython-312-darwin.so
echo
otool -l /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyne/core/lib/libpyne_core.dylib
- name: Nuc data make
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion cmake/PyneMacros.cmake
Expand Up @@ -14,7 +14,7 @@ endmacro()
macro(pyne_configure_rpath)
if(APPLE)
set(CMAKE_MACOSX_RPATH ON)
set(RPATH "@loader_path")
set(RPATH "@rpath")
elseif(UNIX)
set(RPATH "$ORIGIN")
else()
Expand Down

0 comments on commit b2b9784

Please sign in to comment.