Skip to content

Commit 0d12885

Browse files
authored
Merge pull request #4881 from alphacep/openblas-repo-rename
Openblas repo was renamed
2 parents e8ed610 + fe12720 commit 0d12885

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/extras/install_openblas.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ fi
1919

2020
tarball=OpenBLAS-$OPENBLAS_VERSION.tar.gz
2121

22-
rm -rf xianyi-OpenBLAS-* OpenBLAS OpenBLAS-*.tar.gz
22+
rm -rf OpenMathLib-OpenBLAS-* OpenBLAS OpenBLAS-*.tar.gz
2323

2424
if [ -d "$DOWNLOAD_DIR" ]; then
2525
cp -p "$DOWNLOAD_DIR/$tarball" .
2626
else
27-
url=$($WGET -qO- "https://api.github.com/repos/xianyi/OpenBLAS/releases/tags/v${OPENBLAS_VERSION}" | python -c 'import sys,json;print(json.load(sys.stdin)["tarball_url"])')
27+
url=$($WGET -qO- "https://api.github.com/repos/OpenMathLib/OpenBLAS/releases/tags/v${OPENBLAS_VERSION}" | python3 -c 'import sys,json;print(json.load(sys.stdin)["tarball_url"])')
2828
test -n "$url"
2929
$WGET -t3 -nv -O $tarball "$url"
3030
fi
3131

3232
tar xzf $tarball
33-
mv xianyi-OpenBLAS-* OpenBLAS
33+
mv OpenMathLib-OpenBLAS-* OpenBLAS
3434

3535
make PREFIX=$(pwd)/OpenBLAS/install USE_LOCKING=1 USE_THREAD=0 -C OpenBLAS all install
3636
if [ $? -eq 0 ]; then

0 commit comments

Comments
 (0)