Skip to content

Commit

Permalink
fix plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Mar 21, 2024
1 parent 6cabfa1 commit ff0837a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions recipe/build_openmm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ set "OPENMM_INCLUDE_PATH=%LIBRARY_INC%"

cd %LIBRARY_PREFIX%
for %%f in (dist\*.whl) do (
set "plugins=lib\plugins\OpenMMCPU.dll"
for %%p in (lib\plugins\*Reference.dll) do (
set "plugins=%plugins% %%p"
)
for %%p in (lib\plugins\*OpenCL.dll) do (
set "plugins=%plugins% %%p"
)
%PYTHON% ^
%RECIPE_DIR%\vendor_wheel.py ^
%%f ^
Expand All @@ -44,13 +51,6 @@ for %%f in (dist\*.whl) do (
lib\OpenMMAmoeba.dll ^
lib\OpenMMDrude.dll ^
%plugins%
set "plugins=lib\plugins\OpenMMCPU.dll"
for %%plugin in (lib\plugins\*Reference.dll) do (
set "plugins=%plugins% %%plugin"
)
for %%plugin in (lib\plugins\*OpenCL.dll) do (
set "plugins=%plugins% %%plugin"
)
if errorlevel 1 exit 1
delvewheel repair ^
-w %cd%\fixed_wheels ^
Expand Down

0 comments on commit ff0837a

Please sign in to comment.