Skip to content

Commit 69182a2

Browse files
committed
move version override
1 parent 70ac2b5 commit 69182a2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

build-openblas.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ before_build
77

88
echo "------ CLEAN CODE --------"
99
clean_code $OPENBLAS_COMMIT
10+
sed -e "s/^VERSION = .*/VERSION = ${OPENBLAS_VERSION}/" -i.bak OpenBLAS/Makefile.rule
1011
echo "------ BUILD LIB --------"
1112
build_lib "$PLAT" "$INTERFACE64"

ci-before-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [[ "${obcommit//-/.}" != *"${version%.*}"* ]]; then
2626
exit -1
2727
fi
2828

29-
sed -e "s/^VERSION = .*/VERSION = ${version}/" -i.bak OpenBLAS/Makefile.rule
29+
export OPENBLAS_VERSION=version
3030
echo "creating wheel from $OPENBLAS_COMMIT (NIGHTLY is $NIGHTLY)"
3131

3232
case "$PLAT" in

0 commit comments

Comments
 (0)