From c6d7e91f8820bf5d1e60614492bdb1f65d154e08 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 26 Apr 2024 11:49:28 -0500 Subject: [PATCH] simplify dependencies --- recipe/.meta.yaml.swp | Bin 16384 -> 0 bytes recipe/build_openmm.bat | 4 ++-- recipe/build_openmm.sh | 4 ++-- recipe/meta.yaml | 11 ++++------- 4 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 recipe/.meta.yaml.swp diff --git a/recipe/.meta.yaml.swp b/recipe/.meta.yaml.swp deleted file mode 100644 index 21ee0b842fadfaceff1a6abc692152148e1ace94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeHOO^h5z6>i5)0OR~9oIpaZ%#!R(wB0kiwrpqcMq1Wu?~3)0ytb3bwpu;iH8Zu_ zf9a~;ADj*1f>4Ab#c%)wNI3)vxFMNaatK5s0gjm1c|G9DvDTcx-=^JCTryBHutNq?)i#gZ zd;Y-0c!O$;R32iVdGP!WE0@Je21*7>21*7>21*7>21*7>21*A09~e;aUB*{o$X&TH zVg9*m=yP}ey`F!@L-PD<`B5@ZGEg#5GEg#5GEg#5GEg#5GEg#5GEg#5GVnjhfa4j) ze)Q{o3ixsUU&R0K+;13f06zz=0Z#!>0-pnR0Uz9F7(WEA0WSdG08-!*a1mGl_5*u? z5AQXMcY$|+KLW1<9pC`){yxLF0XzZB0Y`!Tz&*g9KW!MV0Y3u14}1~${a(ZP9q=3A z7eEYr9(dzZhOq*C0oV)t{ga0AA}|F!2>j&}hVcjBSHN}P+rZZW7nlXcfCqp*z+dk% zj9&vk1-=Db1D*rc0SR=0bHE%h2{eHHzx^DDsFKN+x=9p9(#%SkP;UB>1p1# zo%9u2Rz%36gjH{4ccHCTm<}?vy>d+|9%#;d5vHp{@?pUUI}Jvs=h@u!v7AJSAH}TY z_hB0J?&CGpjY0^(OH<27*vzS8?1|Z#nRzxnJ9X;B%tBr-7IA*(aX)e$#o6PN4Qsq% z9m=0euF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?Bb`B?Bb`9|Hpn7ZQEkkt%Sqyp_oo9TD)PQ{Y+}`Sz11nUL({+&Sh8mxmI0H`=!|86m8hKXGQB#ZjV=)|ISE!LW`zPwPazR#oLP z#{aH5zQ4wh`-NS|L9i2N&dVB8T_g>3cqkOb!zhC6+|!7QogfN3Oo|{ystC$6RY;pg zX{U>z2mcfsQ2x)wnGHq6V2O7UM@5OOjp>t@kV`qHWnFDLijb#lTPD|+m&?`LbU;Bdc<;Lt2p?9E%8kd_ck_VNFr&nT*YE_wF1$30 z&*AxfPVcm$v`DDmVIs`Bq*K+ovX7qj>en`$?fhr<5BvnXVbkdil7J!HGkqF&DQBPxsVe^c~6oVDMql2Q^lJqVCk(E)xh r#YW1t@D9(uLQIW*rAR&?`PDlM%Q~tPAzPkG#W;y1%Qkn0k~RMU8d#)u diff --git a/recipe/build_openmm.bat b/recipe/build_openmm.bat index a2d9db4..76a3983 100644 --- a/recipe/build_openmm.bat +++ b/recipe/build_openmm.bat @@ -40,7 +40,7 @@ dir dist for %%f in (dist\*.whl) do ( echo "fixing %%f" cd %LIBRARY_PREFIX% - %PYTHON% ^ + %BUILD_PREFIX%\python.exe ^ %RECIPE_DIR%\vendor_wheel.py ^ %SRC_DIR%\build\python\%%f ^ include\openmm ^ @@ -72,7 +72,7 @@ cd %SRC_DIR%\build\python for %%f in (dist\*.whl) do ( echo "fixing %%f" cd %LIBRARY_PREFIX% - %PYTHON% ^ + %BUILD_PREFIX%\python.exe ^ %RECIPE_DIR%\vendor_wheel.py ^ %SRC_DIR%\build\python\%%f ^ lib\plugins\OpenMMCUDA.dll ^ diff --git a/recipe/build_openmm.sh b/recipe/build_openmm.sh index f3d1bdf..7571836 100644 --- a/recipe/build_openmm.sh +++ b/recipe/build_openmm.sh @@ -103,7 +103,7 @@ for whl in $PWD/dist/*.whl; do plugins="$plugins $plugin" fi done - $PREFIX/bin/python \ + $BUILD_PREFIX/bin/python${PY_VER} $(which delocate-wheel) \ $RECIPE_DIR/vendor_wheel.py \ $whl \ include/openmm \ @@ -145,7 +145,7 @@ function repair() { --exclude libnvrtc.so.12 \ --lib-sdir=$LIB_SDIR else - $PYTHON $(which delocate-wheel) \ + $BUILD_PREFIX/bin/python${PY_VER} $(which delocate-wheel) \ -w fixed_wheels \ --sanitize-rpaths \ -v \ diff --git a/recipe/meta.yaml b/recipe/meta.yaml index cb86d21..4821cb0 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -64,6 +64,10 @@ requirements: # START WHEEL CHANGES - unzip # [unix] - patchelf # [linux] + - auditwheel # [linux] + - setuptools # [linux] + - delocate >=0.10.6 + - pip # END WHEEL CHANGES host: @@ -86,13 +90,6 @@ requirements: # No cuda-driver-dev in windows - cuda-driver-dev # [linux] {% endif %} - # START WHEEL CHANGES - - auditwheel # [linux] - - setuptools # [linux] - - delocate >=0.10.6 - - pip - - macholib - # END WHEEL CHANGES run: - python - numpy