File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 71
71
env :
72
72
CIBW_ARCHS : ${{ matrix.cibw_archs }}
73
73
CIBW_BUILD : ${{ matrix.cibw_build }}
74
- CIBW_BEFORE_ALL : mkdir openexr/ build && cd openexr/ build && cmake .. -DCMAKE_INSTALL_PREFIX=../../ openexr-install && make all install
74
+ CIBW_BEFORE_ALL : mkdir openexr\ build && cd openexr\ build && cmake .. -DCMAKE_INSTALL_PREFIX=..\..\ openexr-install && make && make install
75
75
CIBW_ENVIRONMENT : LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/openexr-install/lib64:${GITHUB_WORKSPACE}/openexr-install/lib
76
76
77
77
- uses : actions/upload-artifact@v3
@@ -147,7 +147,10 @@ jobs:
147
147
CIBW_ARCHS : ${{ matrix.cibw_archs }}
148
148
CIBW_BUILD : ${{ matrix.cibw_build }}
149
149
CIBW_BEFORE_ALL : mkdir openexr/build && cd openexr/build && cmake .. -DCMAKE_INSTALL_PREFIX=../../openexr-install && make all install
150
- CIBW_ENVIRONMENT : LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/openexr-install/lib64:${GITHUB_WORKSPACE}/openexr-install/lib
150
+ CIBW_ENVIRONMENT : REPAIR_LIBRARY_PATH=${GITHUB_WORKSPACE}/openexr-install/lib64:${GITHUB_WORKSPACE}/openexr-install/lib
151
+ CIBW_REPAIR_WHEEL_COMMAND_MACOS : >
152
+ # https://cibuildwheel.readthedocs.io/en/stable/faq/#macos-passing-dyld_library_path-to-delocate
153
+ DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
151
154
152
155
- uses : actions/upload-artifact@v3
153
156
with :
You can’t perform that action at this time.
0 commit comments