Skip to content

Commit

Permalink
update er to v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adammoody committed Mar 16, 2022
1 parent 45cc856 commit 510b5fa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ popd

pushd AXL
if [ $build_dev -eq 0 ] ; then
git checkout v0.6.0
git checkout v0.7.0
fi
rm -rf build
mkdir -p build
Expand Down Expand Up @@ -266,7 +266,7 @@ popd

pushd er
if [ $build_dev -eq 0 ] ; then
git checkout v0.2.0
git checkout v0.3.0
fi
rm -rf build
mkdir -p build
Expand Down
25 changes: 13 additions & 12 deletions dist/builddist
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/bash

SCRTAG="v3.0.1"

print_usage() {
echo "Usage: builddist <tag>"
echo ""
echo "Tags:"
echo " develop - build tarball of latest"
# echo " v3.0rc1"
# echo " v3.0rc2"
echo " v3.0"
echo " v3.0.1"
}

# check that we got an argument or print usage
Expand All @@ -29,7 +31,7 @@ if [ "$1" == "develop" ] ; then
"redset" "ecp-veloc" "main"
"er" "ecp-veloc" "main"
"rankstr" "ecp-veloc" "main"
"scr" "llnl" "develop"
"scr" "llnl" "v3"
)
#elif [ "$1" == "v3.0rc1" ] ; then
# # to build the scr-v3.0rc1 release
Expand Down Expand Up @@ -59,19 +61,19 @@ if [ "$1" == "develop" ] ; then
# "rankstr" "ecp-veloc" "v0.1.0"
# "scr" "llnl" "v3.0rc2"
# )
elif [ "$1" == "v3.0" ] ; then
elif [ "$1" == "v3.0.1" ] ; then
# to build the scr-v3.0 release
ORGS=(
"lwgrp" "llnl" "v1.0.5"
"dtcmp" "llnl" "v1.1.4"
"kvtree" "ecp-veloc" "v1.3.0"
"axl" "ecp-veloc" "v0.6.0"
"axl" "ecp-veloc" "v0.7.0"
"spath" "ecp-veloc" "v0.2.0"
"shuffile" "ecp-veloc" "v0.2.0"
"redset" "ecp-veloc" "v0.2.0"
"er" "ecp-veloc" "v0.2.0"
"er" "ecp-veloc" "v0.3.0"
"rankstr" "ecp-veloc" "v0.2.0"
"scr" "llnl" "v3.0"
"scr" "llnl" "v3"
)
else
echo "Error: unknown tag: $1"
Expand Down Expand Up @@ -134,18 +136,17 @@ for (( i=0; i<${len}; i=$(($i + 3)) )); do
cd ..
done

# NOTE: last TAG is from SCR
# rename archive directory to scr-TAG
mv $ARCH_DIR scr-$TAG
# rename archive directory to scr-SCRTAG
mv $ARCH_DIR scr-$SCRTAG

# copy in top-level CMake files
cp -r ../CMakeLists.txt ../NOTICE ../cmake scr-$TAG
cp -r ../CMakeLists.txt ../NOTICE ../cmake scr-$SCRTAG

# copy in README file
cp -r ../README.dist scr-$TAG/README
cp -r ../README.dist scr-$SCRTAG/README

# zip up release tarball
tar -czf ../scr-${TAG}.tgz scr-$TAG
tar -czf ../scr-${SCRTAG}.tgz scr-$SCRTAG

# delete prep directory
cd ..
Expand Down

0 comments on commit 510b5fa

Please sign in to comment.