From b32801bee71b13e7a26052874923bb31f1a3dcbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20And=C3=A9n?= Date: Mon, 9 Sep 2024 22:31:48 +0200 Subject: [PATCH] py: add helper script for sdist --- tools/common/sdist-helper.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/common/sdist-helper.sh 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