Skip to content

Commit

Permalink
And another way more to set LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinariojoe committed Aug 7, 2024
1 parent 86da575 commit a5973bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-wheels-emulated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
# Skip 32-bit windows wheels builds.
CIBW_SKIP: "*-win32*"
CIBW_ARCHS: ${{inputs.arch}}
CIBW_ENVIRONMENT_LINUX: "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/project/install/lib"
CIBW_BEFORE_ALL_LINUX: >
echo "Considering vtk-manylinux2014_`uname -m`.tar.gz..." &&
mkdir -p vtk &&
Expand All @@ -46,7 +47,6 @@ jobs:
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install -DEXTERNAL_EIGEN:BOOL=OFF -DPYTHON_WRAPPER:BOOL=OFF -DFORTRAN_WRAPPER:BOOL=OFF -DRUST_WRAPPER:BOOL=OFF -DUSE_VTK=ON -DMOORDYN_PACKAGE_IGNORE_VTK_DEPENDENCY=ON -DBUILD_TESTING=OFF -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 &&
cmake --build ${{github.workspace}}/build --config Release &&
cmake --install ${{github.workspace}}/build --config Release
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:install/lib auditwheel repair -w {dest_dir} {wheel}"
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit a5973bd

Please sign in to comment.