Skip to content

Commit

Permalink
include other headers
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Apr 26, 2024
1 parent 6541682 commit 5144328
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Binary file added recipe/.meta.yaml.swp
Binary file not shown.
2 changes: 2 additions & 0 deletions recipe/build_openmm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ for %%f in (dist\*.whl) do (
%SRC_DIR%\build\python\%%f ^
include\openmm ^
include\lepton ^
include\OpenMM* ^
include\AmoebaOpenMM* ^
lib\OpenMM.dll ^
lib\OpenMMRPMD.dll ^
lib\OpenMMAmoeba.dll ^
Expand Down
2 changes: 2 additions & 0 deletions recipe/build_openmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ for whl in $PWD/dist/*.whl; do
$RECIPE_DIR/vendor_wheel.py \
$whl \
include/openmm \
include/OpenMM* \
include/AmoebaOpenMM* \
include/lepton \
lib/libOpenMM${SHLIB_EXT} \
lib/${LIBNAME} \
Expand Down
5 changes: 4 additions & 1 deletion recipe/vendor_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ def main():
args = list(sys.argv)
args.pop(0)
dist_path = args.pop(0)
add_library(args, dist_path)
lib_paths = []
for arg in args:
lib_paths.extend(glob(arg))
add_library(lib_paths, dist_path)

if __name__ == '__main__':
main()

0 comments on commit 5144328

Please sign in to comment.