Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-blas/blob/main/tests/netlib/fetch.sh # omega-blas aien-dev/omega-blas Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-blas / tests / netlib / fetch.sh` 13 lines ยท 603 bytes Raw Blame History 1 #!/bin/sh 2 # tests/netlib/fetch.sh : download and verify netlib LAPACK v3.12.1 (only its BLAS/CBLAS test 3 # drivers are used, by tests/netlib/run.sh), unpack it under , print the LAPACK= path. 4 set -eu 5 D=${1:?usage: fetch.sh } 6 URL=https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.12.1.tar.gz 7 SHA=`2ca6407a001a474d4d4d35f3a61550156050c48016d949f0da0529c0aa052422` 8 mkdir -p "$D" 9 T=$D/lapack-3.12.1.tar.gz 10 [ -f "$T" ] || curl -fsSL -o "$T" "$URL" 11 echo "$SHA $T" | sha256sum -c - >&2 12 [ -d "$D/lapack-3.12.1" ] || tar -xzf "$T" -C "$D" 13 echo "LAPACK=$(cd "$D/lapack-3.12.1" && pwd)"