1
0
forked from ports/contrib

lapack: initial commit, version 3.9.0

This commit is contained in:
Tim Biermann 2020-01-20 16:46:27 +00:00
parent d52d5a6bc6
commit b6b9866e1c
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 76 additions and 0 deletions

33
lapack/.footprint Normal file
View File

@ -0,0 +1,33 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/lapack.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
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/lapack-3.9.0/
-rw-r--r-- root/root usr/lib/cmake/lapack-3.9.0/lapack-config-version.cmake
-rw-r--r-- root/root usr/lib/cmake/lapack-3.9.0/lapack-config.cmake
-rw-r--r-- root/root usr/lib/cmake/lapack-3.9.0/lapack-targets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/lapack-3.9.0/lapack-targets.cmake
drwxr-xr-x root/root usr/lib/cmake/lapacke-3.9.0/
-rw-r--r-- root/root usr/lib/cmake/lapacke-3.9.0/lapacke-config-version.cmake
-rw-r--r-- root/root usr/lib/cmake/lapacke-3.9.0/lapacke-config.cmake
-rw-r--r-- root/root usr/lib/cmake/lapacke-3.9.0/lapacke-targets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/lapacke-3.9.0/lapacke-targets.cmake
lrwxrwxrwx root/root usr/lib/libblas.so -> libblas.so.3
lrwxrwxrwx root/root usr/lib/libblas.so.3 -> libblas.so.3.9.0
-rwxr-xr-x root/root usr/lib/libblas.so.3.9.0
lrwxrwxrwx root/root usr/lib/liblapack.so -> liblapack.so.3
lrwxrwxrwx root/root usr/lib/liblapack.so.3 -> liblapack.so.3.9.0
-rwxr-xr-x root/root usr/lib/liblapack.so.3.9.0
lrwxrwxrwx root/root usr/lib/liblapacke.so -> liblapacke.so.3
lrwxrwxrwx root/root usr/lib/liblapacke.so.3 -> liblapacke.so.3.9.0
-rwxr-xr-x root/root usr/lib/liblapacke.so.3.9.0
-rwxr-xr-x root/root usr/lib/libtmglib.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/blas.pc
-rw-r--r-- root/root usr/lib/pkgconfig/lapack.pc
-rw-r--r-- root/root usr/lib/pkgconfig/lapacke.pc

6
lapack/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yYAZtF2/oIOJPcnSphg5+5tkM3jSq01XuOyPgXqzwlkiG6qGJRLkC5dVHnxv4XV+BbO3UUyotTljI5zWtngsg0=
SHA256 (Pkgfile) = 9c9bc2197078f682cf8ecf719f262206787f5a67787f4dfd70fed710a2fed5e5
SHA256 (.footprint) = a4e4509b6373eb70f888c4d3eaac3c6ad0834dd22134fd503d26d5506ff13a32
SHA256 (lapack-3.9.0.tar.gz) = 106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573
SHA256 (87536aa3.patch) = 327d62ee39eeb967ce48b4ed0b95e78c6210f688b5c3f944810aafe68d2dadfa

37
lapack/Pkgfile Normal file
View File

@ -0,0 +1,37 @@
# Description: Linear Algebra PACKage - F77 routines for Linear Algebra.
# URL: http://www.netlib.org/lapack/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake gcc-fortran python3
name=lapack
version=3.9.0
release=1
source=(http://www.netlib.org/$name/$name-$version.tar.gz
https://github.com/Reference-LAPACK/lapack/commit/87536aa3.patch)
build() {
cd $name-$version
patch -p1 -i ../87536aa3.patch
cd $SRC
mkdir build
cd build
export CFLAGS+=' -fPIC'
cmake ../$name-$version \
-DCMAKE_Fortran_FLAGS:STRING="$CFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_Fortran_COMPILER=gfortran \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=YES \
-DUSE_OPTIMIZED_BLAS=ON \
-DCBLAS=OFF \
-DLAPACKE_WITH_TMG=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_DEPRECATED=ON
#-DCMAKE_VERBOSE_MAKEFILE=TRUE
make
make DESTDIR=$PKG install
}