Info4: << Package: lapack360-shlibs Distribution: 10.9, 10.10, 10.11, 10.12, 10.13, 10.14, 10.14.5 Version: 3.6.0 Revision: 6 # FTBFS with gcc11 Type: gcc (9) Description: Reference L_APACK and BLAS libraries DescDetail: << This package provides a reference implementation of the LAPACK and BLAS libraries (as opposed to the optimized implementations from ATLAS or Accelerate.framework). << DescUsage: << This package contains the shared libraries. The libraries have been renamed to avoid collisions with their counterparts from atlas, libblas.{a,dylib} -> librefblas.{a,dylib} and liblapack.{a,dylib} -> libreflapack.{a.dylib}. This package is an old version, of which we are keeping only the runtime (binary) libraries to avoid breaking existing builds of other packages that had linked to them. << Maintainer: None Homepage: http://www.netlib.org/lapack/ BuildDepends: gcc%type_pkg[gcc]-compiler Depends: gcc%type_pkg[gcc]-shlibs Conflicts: lapack360 (<< 3.6.0-5) Replaces: lapack360 (<< 3.6.0-5) Source: http://www.netlib.org/lapack/lapack-%v.tgz Source-Checksum: SHA256(a9a0082c918fe14e377bbd570057616768dca76cbdc713457d8199aaa233ffc3) PatchScript: << #!/bin/sh -ev if [ "%m" = "x86_64" ] then m='-m64' else m='-m32' fi perl -p -e " s/gfortran/gfortran-fsf-%type_raw[gcc]/ ; \ s/(^OPTS\s+=\s+).*/\1-O2 -fimplicit-none -funroll-loops -fPIC $m/ ; \ s/gcc/gcc-fsf-%type_raw[gcc]/" \ < make.inc.example > make.inc perl -pi -e ' s,\@prefix\@,%p,; \ s,\@libdir\@,%p/lib/lapack/%v, ; \ s,\@LAPACK_VERSION\@,%v, ; \ s,-llapack,-lreflapack,' < lapack.pc.in > lapack.pc perl -pi -e ' s,\@prefix\@,%p,; \ s,\@libdir\@,%p/lib/lapack/%v, ; \ s,\@LAPACK_VERSION\@,%v,' < LAPACKE/lapacke.pc.in > lapacke.pc perl -pi -e ' s,\@prefix\@,%p,; \ s,\@libdir\@,%p/lib/lapack/%v, ; \ s,\@LAPACK_VERSION\@,%v, ; \ s,-lblas,-lrefblas,' < BLAS/blas.pc.in > blas.pc << CompileScript: << #!/bin/sh -ev /usr/bin/make blaslib /usr/bin/make variants /usr/bin/make lapackelib /usr/bin/make lib /usr/bin/make lapack_install # build dylibs the old-fashioned way # do librefblas first if [ "%m" = "x86_64" ] then m='-m64 ' else m='-m32 ' fi compilerlib="-L%p/lib/gcc%type_raw[gcc]/lib -lgfortran" gfc='gfortran-fsf-%type_raw[gcc] -O2 -fimplicit-none -funroll-loops -fPIC -fno-common '$m ldf='-Wl,-dead_strip_dylibs -dynamiclib -single_module -install_name ' gccc='gcc -O3 -Wl,-dead_strip_dylibs -dynamiclib -single_module -fno-common '$m'-install_name ' TMP=`/usr/bin/mktemp -d %b/lap.XXXXXX` || exit 1 pushd $TMP ar -x ../librefblas.a $gfc $ldf %p/lib/lapack/%v/librefblas.dylib $compilerlib *.o -o ../librefblas.dylib popd TMP=`/usr/bin/mktemp -d %b/lap.XXXXXX` || exit 1 pushd $TMP ar -x ../liblapack.a $gfc $ldf %p/lib/lapack/%v/libreflapack.dylib $compilerlib %b/librefblas.dylib *.o -o ../libreflapack.dylib popd TMP=`/usr/bin/mktemp -d %b/lap.XXXXXX` || exit 1 pushd $TMP ar -x ../libtmglib.a $gfc $ldf %p/lib/lapack/%v/libtmglib.dylib $compilerlib %b/librefblas.dylib %b/libreflapack.dylib *.o -o ../libtmglib.dylib popd pushd $TMP ar -x ../liblapacke.a $gccc %p/lib/lapack/%v/liblapacke.dylib $compilerlib %b/libreflapack.dylib %b/librefblas.dylib *.o -o ../liblapacke.dylib popd for statlib in SRC/VARIANTS/LIB/*.a ; do dynlib=lib`basename $statlib .a`.dylib instname=%p/lib/lapack/%v/$dynlib TMP=`/usr/bin/mktemp -d %b/lap.XXXXXX` || exit 1 pushd $TMP ar -x ../$statlib $gfc $ldf $instname $compilerlib %b/librefblas.dylib %b/libreflapack.dylib *.o -o %b/$dynlib popd done << InfoTest: TestScript: /usr/bin/make -j1 blas_testing lapack_testing variants_testing || exit 2 InstallScript: << #!/bin/sh -ev install -d %i/lib/lapack/%v install *.dylib %i/lib/lapack/%v << # not using %v here for subdir to avoid forgetting to update it each time Shlibs: << %p/lib/lapack/3.6.0/libcholrl.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/libcholtop.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/libreflapack.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/liblapacke.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/liblucr.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/liblull.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/liblurec.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/libqrll.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/librefblas.dylib 0.0.0 %n (>=3.6.0-1) %p/lib/lapack/3.6.0/libtmglib.dylib 0.0.0 %n (>=3.6.0-1) << DocFiles: LICENSE DOCS/lapacke.pdf SRC/VARIANTS/README:README.variants License: BSD <<