From ba4884c8494054e8cfbea93e5e39daef7b98f107 Mon Sep 17 00:00:00 2001 From: "John C. Linford" Date: Tue, 5 Sep 2017 12:24:26 -0400 Subject: [PATCH] Hacky release_all.sh script. --- release_all.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 release_all.sh diff --git a/release_all.sh b/release_all.sh new file mode 100755 index 0000000000..e3c7b39f5c --- /dev/null +++ b/release_all.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# +# Build release packages for all known TAU targets. +# +# This script is a hack to work around setuptools' stateful +# implementation of sdist. It should be removed someday. +# +# Author: John C. Linford (jlinford@paratools.com) +# + + +release="python setup.py release" + +$release --web +python setup.py release --all | grep '^(' | (while read line ; do + line=`echo $line | tr -d '()'` + arch=`echo $line | cut -d, -f1` + os=`echo $line | cut -d, -f2` + $release --target-arch $arch --target-os $os +done) +