forked from ports/contrib
openblas: reworked to coexist with contrib/lapack
This commit is contained in:
parent
1fa4212c16
commit
5ea76d19bf
@ -19,12 +19,6 @@ lrwxrwxrwx root/root usr/lib/libblas.so.3.8.0 -> libopenblas.so
|
|||||||
lrwxrwxrwx root/root usr/lib/libcblas.so -> libopenblas.so
|
lrwxrwxrwx root/root usr/lib/libcblas.so -> libopenblas.so
|
||||||
lrwxrwxrwx root/root usr/lib/libcblas.so.3 -> libopenblas.so
|
lrwxrwxrwx root/root usr/lib/libcblas.so.3 -> libopenblas.so
|
||||||
lrwxrwxrwx root/root usr/lib/libcblas.so.3.8.0 -> libopenblas.so
|
lrwxrwxrwx root/root usr/lib/libcblas.so.3.8.0 -> libopenblas.so
|
||||||
lrwxrwxrwx root/root usr/lib/liblapack.so -> libopenblas.so
|
|
||||||
lrwxrwxrwx root/root usr/lib/liblapack.so.3 -> libopenblas.so
|
|
||||||
lrwxrwxrwx root/root usr/lib/liblapack.so.3.8.0 -> libopenblas.so
|
|
||||||
lrwxrwxrwx root/root usr/lib/liblapacke.so -> libopenblas.so
|
|
||||||
lrwxrwxrwx root/root usr/lib/liblapacke.so.3 -> libopenblas.so
|
|
||||||
lrwxrwxrwx root/root usr/lib/liblapacke.so.3.8.0 -> libopenblas.so
|
|
||||||
lrwxrwxrwx root/root usr/lib/libopenblas.a -> libopenblasp-r0.3.7.a
|
lrwxrwxrwx root/root usr/lib/libopenblas.a -> libopenblasp-r0.3.7.a
|
||||||
lrwxrwxrwx root/root usr/lib/libopenblas.so -> libopenblasp-r0.3.7.so
|
lrwxrwxrwx root/root usr/lib/libopenblas.so -> libopenblasp-r0.3.7.so
|
||||||
lrwxrwxrwx root/root usr/lib/libopenblas.so.0 -> libopenblasp-r0.3.7.so
|
lrwxrwxrwx root/root usr/lib/libopenblas.so.0 -> libopenblasp-r0.3.7.so
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF38e6TzTpfcvnP47TtVeD81+LvMnPJCCJ8o3t67/jPixpnV1QIlofal9Rb2Gp1Gdc9LcGi7QdJOuDo/UtyyiFaAs=
|
RWSagIOpLGJF39d8bJ6t8jyhpGFkRfLQ2YnrgcI5qHObYvjQgQyLI0QnnamGPUHGbw4fi1u1Qpz4WPsicC6kM9jYLyImY2XXVA4=
|
||||||
SHA256 (Pkgfile) = ba3c97bab5d8c5a431f42589cbf99cd70500484a6756a43b91308ef3c3e19b78
|
SHA256 (Pkgfile) = cf88f16b75abe56229867a0d954952df9b266d9e02808cb3b3e31867c40b0adf
|
||||||
SHA256 (.footprint) = 6d2a409e15f87b7562cb1752aeb2a24d8ea2af7b5ed18611209af8eec0ad5629
|
SHA256 (.footprint) = 838492e20895b5f76c623c14fbdf3a586c85dac1cd4368e4ecc4987d4d6ac5b9
|
||||||
SHA256 (OpenBLAS-0.3.7.tar.gz) = bde136122cef3dd6efe2de1c6f65c10955bbb0cc01a520c2342f5287c28f9379
|
SHA256 (OpenBLAS-0.3.7.tar.gz) = bde136122cef3dd6efe2de1c6f65c10955bbb0cc01a520c2342f5287c28f9379
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
name=openblas
|
name=openblas
|
||||||
version=0.3.7
|
version=0.3.7
|
||||||
release=1
|
release=2
|
||||||
source=(https://github.com/xianyi/OpenBLAS/archive/v$version/OpenBLAS-$version.tar.gz)
|
source=(https://github.com/xianyi/OpenBLAS/archive/v$version/OpenBLAS-$version.tar.gz)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
@ -28,13 +28,9 @@ build () {
|
|||||||
ln -sf libopenblas.so libcblas.so.${_lapackver:0:1}
|
ln -sf libopenblas.so libcblas.so.${_lapackver:0:1}
|
||||||
ln -sf libopenblas.so libcblas.so.${_lapackver}
|
ln -sf libopenblas.so libcblas.so.${_lapackver}
|
||||||
# LAPACK
|
# LAPACK
|
||||||
ln -sf libopenblas.so liblapack.so
|
# provided by lapack
|
||||||
ln -sf libopenblas.so liblapack.so.${_lapackver:0:1}
|
|
||||||
ln -sf libopenblas.so liblapack.so.${_lapackver}
|
|
||||||
# LAPACKE
|
# LAPACKE
|
||||||
ln -sf libopenblas.so liblapacke.so
|
# provided by lapack
|
||||||
ln -sf libopenblas.so liblapacke.so.${_lapackver:0:1}
|
|
||||||
ln -sf libopenblas.so liblapacke.so.${_lapackver}
|
|
||||||
|
|
||||||
# fix paths
|
# fix paths
|
||||||
sed -i 's|'$PKG'||g' $PKG/usr/lib/cmake/$name/*.cmake
|
sed -i 's|'$PKG'||g' $PKG/usr/lib/cmake/$name/*.cmake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user