diff --git a/tools/common/sdist-helper.sh b/tools/common/sdist-helper.sh new file mode 100755 index 000000000..7b878b79f --- /dev/null +++ b/tools/common/sdist-helper.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +set -e -x + +dockerhub=janden +image=finufft-sdist + +docker build --file tools/common/docker/Dockerfile-x86_64 \ + --tag ${dockerhub}/${image} \ + . + +docker run --volume $(pwd)/wheelhouse:/io/wheelhouse \ + ${dockerhub}/${image} \ + /io/finufft/tools/finufft/build-sdist.sh + +docker run --volume $(pwd)/wheelhouse:/io/wheelhouse \ + ${dockerhub}/${image} \ + /io/finufft/tools/cufinufft/build-sdist.sh