Skip to content

Commit

Permalink
format shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Mar 21, 2024
1 parent 32c2cf0 commit b6c07ea
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions recipe/build_openmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,17 @@ for whl in $PWD/dist/*.whl; do
plugins="$plugins $plugin"
fi
done
$BUILD_PREFIX/bin/python $RECIPE_DIR/vendor_wheel.py $whl include/openmm include/lepton lib/libOpenMM${SHLIB_EXT} ${LIBNAME} lib/libOpenMMRPMD${SHLIB_EXT} lib/libOpenMMAmoeba${SHLIB_EXT} lib/libOpenMMDrude${SHLIB_EXT} $plugins
$BUILD_PREFIX/bin/python \
$RECIPE_DIR/vendor_wheel.py \
$whl \
include/openmm \
include/lepton \
lib/libOpenMM${SHLIB_EXT} \
${LIBNAME} \
lib/libOpenMMRPMD${SHLIB_EXT} \
lib/libOpenMMAmoeba${SHLIB_EXT} \
lib/libOpenMMDrude${SHLIB_EXT} \
$plugins
popd
done

Expand Down Expand Up @@ -111,7 +121,17 @@ function repair() {
--exclude libnvrtc.so.${cuda_compiler_version} \
--lib-sdir=$LIB_SDIR
else
python $(which delocate-wheel) -w fixed_wheels --sanitize-rpaths -v dist/*.whl
python $(which delocate-wheel) \
-w fixed_wheels \
--sanitize-rpaths \
-v \
dist/*.whl
--exclude ${LIBNAME} \
--exclude libOpenMMCUDA.dylib \
--exclude libOpenMMOpenCL.dylib \
--exclude libOpenMMDrude.dylib \
--exclude libOpenMMAmoeba.dylib \
--exclude libOpenMMRPMD.dylib
fi
}

Expand Down

0 comments on commit b6c07ea

Please sign in to comment.