Skip to content

Commit

Permalink
fix mac, win
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Mar 22, 2024
1 parent fc5af6c commit 3276dfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions recipe/build_openmm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,17 @@ for %%f in (dist\*.whl) do (
%RECIPE_DIR%\vendor_wheel.py ^
%SRC_DIR%\build\python\%%f ^
lib\plugins\OpenMMCUDA.dll ^
lib\plugins\OpenMMRPMD\CUDA.dll ^
lib\plugins\OpenMMRPMDCUDA.dll ^
lib\plugins\OpenMMAmoebaCUDA.dll ^
lib\plugins\OpenMMDrudeCUDA.dll ^
lib\plugins\OpenMMDrudeCUDA.dll
if errorlevel 1 exit 1
cd %SRC_DIR%\build\python
move %%f fixed_wheels\
if errorlevel 1 exit 1
)

mkdir %RECIPE_DIR%\..\build_artifacts\pypi_wheels\

for %%f in (fixed_wheels\*.whl) do (
copy %%f %RECIPE_DIR%\..\build_artifacts\pypi_wheels\
if errorlevel 1 exit 1
Expand Down
2 changes: 1 addition & 1 deletion recipe/build_openmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function repair() {
--exclude libnvrtc.so.12 \
--lib-sdir=$LIB_SDIR
else
python -m pip install "git+https://github.com/isuruf/delocate@delete_rpath"
python -m pip install "git+https://github.com/matthew-brett/delocate"
python $(which delocate-wheel) \
-w fixed_wheels \
--sanitize-rpaths \
Expand Down

0 comments on commit 3276dfe

Please sign in to comment.