diff options
author | Tim Biermann <tbier@posteo.de> | 2020-01-20 18:30:03 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-01-20 18:30:03 +0000 |
commit | afc7030a5fcd1fbe2c31895d099a1c3b8fd29bc4 (patch) | |
tree | 90314fec5414da4ab1ab2274802cc57fdb81916b | |
parent | d00fe7b51a2800d39d80f037353605bdfef9a733 (diff) | |
download | contrib-afc7030a5fcd1fbe2c31895d099a1c3b8fd29bc4.tar.gz contrib-afc7030a5fcd1fbe2c31895d099a1c3b8fd29bc4.tar.xz |
openblas: fix to coexist with openblas
-rw-r--r-- | openblas/.footprint | 4 | ||||
-rw-r--r-- | openblas/.signature | 6 | ||||
-rw-r--r-- | openblas/Pkgfile | 8 |
3 files changed, 8 insertions, 10 deletions
diff --git a/openblas/.footprint b/openblas/.footprint index 890980426..9fe9058c3 100644 --- a/openblas/.footprint +++ b/openblas/.footprint @@ -3,10 +3,6 @@ drwxr-xr-x root/root usr/bin/ drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/cblas.h -rw-r--r-- root/root usr/include/f77blas.h --rw-r--r-- root/root usr/include/lapacke.h --rw-r--r-- root/root usr/include/lapacke_config.h --rw-r--r-- root/root usr/include/lapacke_mangling.h --rw-r--r-- root/root usr/include/lapacke_utils.h -rw-r--r-- root/root usr/include/openblas_config.h drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/cmake/ diff --git a/openblas/.signature b/openblas/.signature index 679b374b4..6c3c49127 100644 --- a/openblas/.signature +++ b/openblas/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF39d8bJ6t8jyhpGFkRfLQ2YnrgcI5qHObYvjQgQyLI0QnnamGPUHGbw4fi1u1Qpz4WPsicC6kM9jYLyImY2XXVA4= -SHA256 (Pkgfile) = cf88f16b75abe56229867a0d954952df9b266d9e02808cb3b3e31867c40b0adf -SHA256 (.footprint) = 838492e20895b5f76c623c14fbdf3a586c85dac1cd4368e4ecc4987d4d6ac5b9 +RWSagIOpLGJF3+iWOrFA8nO2VVXQHhK7qvfrnMfUqeHR0ehDji5B8gysT0gy+45J6bwhc9K2eFUEHY4VF7zLLEHaYYbRnptRgQI= +SHA256 (Pkgfile) = 8a187a568c2edc97bead0276fa7dae04d2d7680ccbddff77bc710434fba80257 +SHA256 (.footprint) = ee391397503511f314ac19de9c8c7c9146d14d86b776c1fa22ed62259f992f3e SHA256 (OpenBLAS-0.3.7.tar.gz) = bde136122cef3dd6efe2de1c6f65c10955bbb0cc01a520c2342f5287c28f9379 diff --git a/openblas/Pkgfile b/openblas/Pkgfile index 5b8892017..97d6679da 100644 --- a/openblas/Pkgfile +++ b/openblas/Pkgfile @@ -11,12 +11,12 @@ source=(https://github.com/xianyi/OpenBLAS/archive/v$version/OpenBLAS-$version.t build () { cd OpenBLAS-$version - make NO_LAPACK=0 NO_STATIC=1 \ + make NO_LAPACK=1 NO_LAPACKE=1 NO_STATIC=1 \ USE_OPENMP=1 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 NUM_THREADS=64 \ CFLAGS="$CFLAGS $CPPFLAGS" libs netlib shared make PREFIX=$PKG/usr install - # Symlink to provide blas, cblas, lapack and lapacke + # Symlink to provide blas, cblas cd $PKG/usr/lib/ local _lapackver='3.8.0' # BLAS @@ -29,9 +29,11 @@ build () { ln -sf libopenblas.so libcblas.so.${_lapackver} # LAPACK # provided by lapack + #rm -r $PKG/usr/lib/liblapack.so.3 # LAPACKE # provided by lapack - + rm -r $PKG/usr/include/lapacke{.h,_config.h,_mangling.h,_utils.h} + #rm -r $PKG/usr/lib/liblapacke.so.3 # fix paths sed -i 's|'$PKG'||g' $PKG/usr/lib/cmake/$name/*.cmake sed -i 's|'$PKG'||g' $PKG/usr/lib/pkgconfig/openblas.pc |