diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /libs/openblas/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'libs/openblas/MAKEPKG')
| -rw-r--r-- | libs/openblas/MAKEPKG | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libs/openblas/MAKEPKG b/libs/openblas/MAKEPKG new file mode 100644 index 0000000..22d2ec2 --- /dev/null +++ b/libs/openblas/MAKEPKG @@ -0,0 +1,40 @@ +#!/bin/mkpkg +# description: Optimized BLAS/LAPACK library +# url: https://www.openblas.net/ + +name=openblas +version=0.3.34 +release=1 +makedeps=() +source=(https://github.com/OpenMathLib/OpenBLAS/releases/download/v$version/OpenBLAS-$version.tar.gz) + +sha256sums=( + "cd7e129868320cc2d033afa920e31202dfe0b8066a5b66661900ccc0f197dfed" +) + +build() { + cd OpenBLAS-$version + + make \ + CC=clang \ + HOSTCC=clang \ + NOFORTRAN=1 \ + BUILD_LAPACK_DEPRECATED=0 \ + DYNAMIC_ARCH=0 \ + USE_THREAD=1 \ + USE_OPENMP=0 \ + NUM_THREADS=64 \ + PREFIX=/usr \ + -j$(nproc) + + make install \ + PREFIX="$PKG/usr" \ + NOFORTRAN=1 +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
