<div dir="ltr">From the latest git repo, I run the toolchain script to install the third party tools and libraries. I'm on a cluster that is blocked from using wget, curl, etc. so I have to download all the packages manually and place them in the ./build/ directory. This is fine until script/get_openblas_arch.sh is called. It successfully finds openblas-0.3.5.tar.gz but errors when it tries to unpack it. Here is the offending code. <br><br><br><div>echo "==================== Getting proc arch info using OpenBLAS tools ===================="</div><div># find existing openblas source dir</div><div>openblas_dir="$(find_openblas_dir)"</div><div># if cannot find openblas source dir, try download one</div><div>if ! [ "$openblas_dir" ] ; then</div><div> if [ -f openblas-${openblas_ver}.tar.gz ] ; then</div><div> echo "openblas-${openblas_ver}.tar.gz is found"</div><div> else</div><div> download_pkg ${DOWNLOADER_FLAGS} ${openblas_sha256} \</div><div> https://github.com/xianyi/OpenBLAS/archive/v${openblas_ver}.tar.gz \</div><div> -o OpenBLAS-${openblas_ver}.tar.gz</div><div> fi</div><div> tar -xzf OpenBLAS-${openblas_ver}.tar.gz</div><div> openblas_dir="$(find_openblas_dir)"</div><div>fi</div><div><br></div><div>The fix is easy enough, just replace "OpenBLAS" with "openblas" everywhere.</div><div><br></div><div><br></div><style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #c1651c; background-color: #000000; background-color: rgba(0, 0, 0, 0.91)}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #2eaebb; background-color: #000000; background-color: rgba(0, 0, 0, 0.91)}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #c814c9; background-color: #000000; background-color: rgba(0, 0, 0, 0.91)}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #ffff0a; background-color: #000000; background-color: rgba(0, 0, 0, 0.91)}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #9fa01c; background-color: #000000; background-color: rgba(0, 0, 0, 0.91)}
span.s1 {font-variant-ligatures: no-common-ligatures; color: #9fa01c}
span.s2 {font-variant-ligatures: no-common-ligatures}
span.s3 {font-variant-ligatures: no-common-ligatures; color: #2eaebb}
span.s4 {font-variant-ligatures: no-common-ligatures; color: #ffff0a}
span.s5 {font-variant-ligatures: no-common-ligatures; color: #c814c9}
</style></div>