math/lapack: +math/blas et al., upgrade to 3.9.1

- Upgrade math/blas, math/cblas, math/lapack, math/lapacke and math/xlapack
  to 3.9.1;
  Latest release notes at <http://www.netlib.org/lapack/lapack-3.9.1.html>

- Chase this upgrade in biology/treekin;

- Add a test target;

- Remove a conflict with math/openblas (PR 244296);

- Fix the build with Gcc10 (PR 247485).

PR:		247542
Approved by:	expr-run by antoine@
This commit is contained in:
Thierry Thomas 2021-06-13 19:35:55 +02:00
parent a08d1a195d
commit c2488a6020
19 changed files with 601 additions and 683 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= treekin PORTNAME= treekin
DISTVERSION= 0.5.1 DISTVERSION= 0.5.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= biology CATEGORIES= biology
MASTER_SITES= https://www.tbi.univie.ac.at/RNA/packages/source/ MASTER_SITES= https://www.tbi.univie.ac.at/RNA/packages/source/
DISTNAME= Treekin-${DISTVERSION} DISTNAME= Treekin-${DISTVERSION}

View file

@ -0,0 +1,12 @@
--- src/calcpp.h.orig 2019-06-13 14:11:19 UTC
+++ src/calcpp.h
@@ -49,6 +49,9 @@
# include <lapacke.h>
#else
# ifdef HAVE_LAPACKE_LAPACKE_H
+# include <complex>
+# define lapack_complex_float std::complex<float>
+# define lapack_complex_double std::complex<double>
# include <lapacke/lapacke.h>
# else
# ifdef HAVE_OPENBLAS_LAPACKE_H

View file

@ -1,7 +1,6 @@
# Created by: ljo # Created by: ljo
PORTNAME= blas PORTNAME= blas
PORTREVISION= 6
MAINTAINER= fortran@FreeBSD.org MAINTAINER= fortran@FreeBSD.org
COMMENT= Basic Linear Algebra Subroutines COMMENT= Basic Linear Algebra Subroutines

View file

@ -1,136 +1,13 @@
# Created by: bf@FreeBSD.org # Created by: bf@FreeBSD.org
PORTNAME= cblas PORTNAME= cblas
PORTVERSION= 1.0
PORTREVISION= 12
CATEGORIES= math
MASTER_SITES= NL/blas/blast-forum/ LOCAL/bf
DISTFILES= cblas.tgz
MAINTAINER= ports@FreeBSD.org MAINTAINER= fortran@FreeBSD.org
COMMENT= Reference implementation of the C interface to the legacy Fortran BLAS COMMENT= Reference implementation of the C interface to the legacy Fortran BLAS
LICENSE= BLAS DESCR= ${.CURDIR}/pkg-descr
LICENSE_NAME= BLAS License CBLAS_SLAVEPORT= yes
LICENSE_TEXT= http://www.netlib.org/blas/#_licensing
LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
USES= fortran MASTERDIR= ${.CURDIR}/../lapack
CONFLICTS_INSTALL= atlas-[0-9]* atlas-devel-[0-9]* .include "${MASTERDIR}/Makefile"
OPTIONS_DEFINE= PROFILE SHARED STATIC DOCS
OPTIONS_DEFAULT= SHARED STATIC
PROFILE_DESC= Build profiling libraries
SHARED_DESC= Build shared libraries and PIC archives
STATIC_DESC= Build (non-PIC) archives
PLIST_FILES= include/cblas.h include/cblas_f77.h
PLIST_SUB= SVERSION="${SVERSION}"
SVERSION= 2
WRKSRC= ${WRKDIR}/CBLAS
WRKSRC_PROFILE= ${WRKSRC}_PROFILE
WRKSRC_SHARED= ${WRKSRC}_SHARED
WRKSRC_STATIC= ${WRKSRC}
.include <bsd.port.options.mk>
.if make(makesum) || ${PORT_OPTIONS:MDOCS}
DISTFILES+= blas-report.pdf
EXTRACT_ONLY= cblas.tgz
.endif
MANGLING?= -DADD_
CFLAGS+= ${MANGLING}
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
.else
PICFLAG?= -fpic
.endif
FLAGS_PROFILE?= -pg
FLAGS_SHARED ?= ${PICFLAG}
.if ${PORT_OPTIONS:MSHARED}
PLIST_FILES+= lib/libcblas_pic.a lib/libcblas.so lib/libcblas.so.${SVERSION}
TESTS ?= test-shared
USE_LDCONFIG= yes
.endif
.if ${PORT_OPTIONS:MSTATIC}
PLIST_FILES+= lib/libcblas.a
TESTS ?= test-static
.endif
.if ${PORT_OPTIONS:MPROFILE}
PLIST_FILES+= lib/libcblas_p.a
TESTS ?= test-profile
.endif
post-patch:
@${SED} -Ee '\@^CBLIB[[:blank:]]*=@s@cblas.*\.a@libcblas.a@; \
\@^((BL|RAN)LIB|CC|FC)[[:blank:]]*=@d; \
\@^((C|F)FLAGS)[[:blank:]]*=@s@=.*@+= $${EXTRAFLAGS}@; \
\@^LOADER@{x; s|^|LOADFLAGS = $${LDFLAGS} $${EXTRAFLAGS}|; G;};' \
${WRKSRC}/Makefile.LINUX > ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's@$$(ARCH)@$$(AR)@' ${WRKSRC}/src/Makefile
.for o in PROFILE SHARED
.if ${PORT_OPTIONS:M${o}}
@${CP} -a ${WRKSRC} ${WRKSRC_${o}}
.endif
.endfor
do-build: build-profile build-shared build-static
.for o in PROFILE SHARED STATIC
build-${o:tl}: patch
.if ${PORT_OPTIONS:M${o}}
@${PRINTF} "\n\nBuilding ${o:tl} libraries:\n\n\n"
@cd ${WRKSRC_${o}}/src; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FLAGS_${o}}" \
${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all
.endif
.endfor
post-build:
.if ${PORT_OPTIONS:MSHARED}
cd ${WRKSRC_SHARED}/lib ; ${FC} ${FFLAGS} ${FFLAGS_SHARED} ${LDFLAGS} -shared \
-o libcblas.so.${SVERSION} -Wl,-x -Wl,-soname,libcblas.so.${SVERSION} \
-Wl,--whole-archive libcblas.a -Wl,--no-whole-archive
.endif
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
BLAS?= -L${LOCALBASE}/lib -lblas
BUILD_DEPENDS += ${LOCALBASE}/lib/libblas.so:math/blas
MAKE_ENV+= BLLIB="${BLAS}"
check regression-test test: ${TESTS}
.for o in PROFILE SHARED STATIC
test-${o:tl}: build-${o:tl}
.if ${PORT_OPTIONS:M${o}}
@${PRINTF} "\n\nTesting ${o:tl} libraries:\n\n\n"
@cd ${WRKSRC_${o}}/testing; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FLAGS_${o}}" \
${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all run
@${CAT} ${WRKSRC_${o}}/testing/*.out
.endif
.endfor
.endif
do-install:
@${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
.if ${PORT_OPTIONS:MSTATIC}
@${INSTALL_DATA} ${WRKSRC}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib
.endif
.if ${PORT_OPTIONS:MSHARED}
@${INSTALL_DATA} ${WRKSRC_SHARED}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_pic.a
@${INSTALL_LIB} ${WRKSRC_SHARED}/lib/libcblas.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib
@${LN} -sf libcblas.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib/libcblas.so
.endif
.if ${PORT_OPTIONS:MPROFILE}
@${INSTALL_DATA} ${WRKSRC_PROFILE}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_p.a
.endif
.include <bsd.port.mk>

View file

@ -1,4 +0,0 @@
SHA256 (cblas.tgz) = 0f6354fd67fabd909baf57ced2ef84e962db58fae126e4f41b21dd4fec60a2a3
SIZE (cblas.tgz) = 197468
SHA256 (blas-report.pdf) = 7874962ae4dc753fcdd483ff0c69931227846632251f79a68f4f879348f321a6
SIZE (blas-report.pdf) = 2412966

View file

@ -1,224 +1,170 @@
# Created by: jmz # Created by: jmz
PORTNAME?= lapack PORTNAME?= lapack
PORTVERSION= 3.5.0 PORTVERSION= 3.9.1
PORTREVISION?= 8 # Never remove this line, keep PORTREVISION?=0 in case. PORTREVISION?= 0 # Never remove this line, keep PORTREVISION?=0 in case.
CATEGORIES= math CATEGORIES= math
MASTER_SITES= NL/lapack/ MASTER_SITES= NL/lapack/
DISTFILES= lapack-${PORTVERSION}.tgz DISTFILES= v${PORTVERSION}${EXTRACT_SUFX}
.if make(makesum) || !(defined(BLAS_SLAVEPORT) || defined(XLAPACK_SLAVEPORT)) .if make(makesum) || !(defined(BLAS_SLAVEPORT) || defined(XLAPACK_SLAVEPORT))
DISTFILES+= manpages-${PORTVERSION}.tgz DISTFILES+= manpages.tgz
.endif .endif
DIST_SUBDIR= lapack DIST_SUBDIR= lapack
MAINTAINER?= fortran@FreeBSD.org MAINTAINER?= fortran@FreeBSD.org
COMMENT?= Library of Fortran 77 subroutines for linear algebra COMMENT?= Linear Algebra PACKage
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= fortran USES= cmake:testing fortran
WRKSRC= ${WRKDIR}/lapack-${PORTVERSION}
# The actual math/scilab needs deprecated functions - to be removed later
CMAKE_ON= BUILD_SHARED_LIBS BUILD_DEPRECATED
USE_LDCONFIG= yes
OPTIONS_DEFINE= PROFILE SHARED STATIC SVERSION= ${PORTVERSION:R:R}
OPTIONS_DEFAULT= SHARED STATIC PLIST_SUB= SVERSION="${SVERSION}" VER=${PORTVERSION}
PROFILE_DESC= Build profiling libraries
SHARED_DESC= Build shared libraries and PIC archives
STATIC_DESC= Build (non-PIC) archives
MAKE_ENV= BLASLIB="${BLASLIB}"
FFLAGS+= -std=legacy
PLIST_SUB= SVERSION="${SVERSION}"
WRKSRC= ${WRKDIR}/lapack-${PORTVERSION}
WRKSRC_PROFILE= ${WRKSRC}_PROFILE
WRKSRC_SHARED= ${WRKSRC}_SHARED
WRKSRC_STATIC= ${WRKSRC}
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if defined(BLAS_SLAVEPORT) .if defined(BLAS_SLAVEPORT)
ALL_TARGET= blaslib BUILD_WRKSRC= ${CONFIGURE_WRKSRC}/BLAS/SRC
BLASLIB= ../../libblas.a INSTALL_WRKSRC= ${BUILD_WRKSRC}
BLASLIB= libblas.a
LIBS= blas LIBS= blas
PLIST_SUB+= BLAS="" LAPACK="@comment " XLAPACK="@comment " LAPACKE="@comment " PLIST_SUB+= BLAS="" CBLAS="@comment " LAPACK="@comment " XLAPACK="@comment " LAPACKE="@comment "
SVERSION= 2 .elif defined(CBLAS_SLAVEPORT)
TEST_TARGET= blas_testing BUILD_DEPENDS+= lapack>0:math/lapack
.elif defined(LAPACKE_SLAVEPORT)
ALL_TARGET= lapackelib
LAPACKELIB= liblapacke.a
LAPACKETMGLIB= liblapacke_tmg.a
MAKE_ENV+= LAPACKELIB="${LAPACKELIB}" LAPACKETMGLIB="${LAPACKETMGLIB}"
LIB_DEPENDS+= libblas.so:math/blas \
liblapack.so:math/lapack
LIBS= lapacke lapacke_tmg
INCLS= lapacke lapacke_utils lapacke_mangling
PLIST_SUB+= BLAS="@comment " LAPACK="@comment " XLAPACK="@comment " LAPACKE=""
SVERSION= 1
.else
ALL_TARGET= lib
BLASLIB?= -L${LOCALBASE}/lib -lblas
LIB_DEPENDS+= libblas.so:math/blas LIB_DEPENDS+= libblas.so:math/blas
LIBS= lapack tmglib CMAKE_ON+= CBLAS
SVERSION= 4 BUILD_WRKSRC= ${CONFIGURE_WRKSRC}/CBLAS
TEST_TARGET= lapack_testing INSTALL_WRKSRC= ${BUILD_WRKSRC}
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) CBLASLIB= libcblas.a
S= ${PYTHON_CMD} LIBS= cblas
USES+= python:build PLIST_SUB+= BLAS="@comment " CBLAS="" LAPACK="@comment " XLAPACK="@comment " LAPACKE="@comment "
.else .elif defined(LAPACKE_SLAVEPORT)
S= \# USES+= blaslapack
.endif CMAKE_ON+= USE_OPTIMIZED_BLAS USE_OPTIMIZED_LAPACK LAPACKE
.if defined(XLAPACK_SLAVEPORT) CMAKE_ARGS+= -DBLAS_LIBRARIES="${LOCALBASE}/lib/libblas.so" \
LIB_DEPENDS+= libxblas.so:math/xblas -DLAPACK_LIBRARIES="${LOCALBASE}/lib/liblapack.so"
MAKE_ENV+= USEXBLAS=yes XBLASLIB="${XBLASLIB}" BUILD_WRKSRC= ${CONFIGURE_WRKSRC}/LAPACKE
P= x INSTALL_WRKSRC= ${BUILD_WRKSRC}
PLIST_SUB+= BLAS="@comment " LAPACK="@comment " XLAPACK="" LAPACKE="@comment " LAPACKELIB= liblapacke.a
XBLASLIB?= -L${LOCALBASE}/lib -lxblas PLIST_SUB+= BLAS="@comment " CBLAS="@comment " LAPACK="@comment " XLAPACK="@comment " LAPACKE=""
.elif defined(XLAPACK_SLAVEPORT)
LIB_DEPENDS+= libblas.so:math/blas \
liblapack.so:math/lapack \
libxblas.so:math/xblas
FFLAGS+= -fallow-argument-mismatch
CMAKE_ON+= USE_OPTIMIZED_BLAS USE_XBLAS BUILD_TESTING
CMAKE_ARGS+= -DBLAS_LIBRARIES="${LOCALBASE}/lib/libblas.so"
PLIST_SUB+= BLAS="@comment " CBLAS="@comment " LAPACK="@comment " XLAPACK="" LAPACKE="@comment "
.else .else
# Upstream recommand to use an optimized BLAS, but it would cause conflicts
# among the dependencies: for an optimized lapack switch to OpenBLAS.
# BUILD_TESTING to get tmglib.
LIB_DEPENDS+= libblas.so:math/blas
. if defined(MAINTAINER_MODE)
USES+= python:3.6+,build,test
. endif
CMAKE_ON+= USE_OPTIMIZED_BLAS BUILD_TESTING
CMAKE_ARGS+= -DBLAS_LIBRARIES="${LOCALBASE}/lib/libblas.so"
LIBS= lapack
PLIST_FILES+= ${MAN3L:S|^|man/man3/|:S|$|.gz|} PLIST_FILES+= ${MAN3L:S|^|man/man3/|:S|$|.gz|}
PLIST_SUB+= BLAS="@comment " LAPACK="" XLAPACK="@comment " LAPACKE="@comment " PLIST_SUB+= BLAS="@comment " CBLAS="@comment " LAPACK="" XLAPACK="@comment " LAPACKE="@comment "
.if defined(MAINTAINER_MODE)
BUILD_DEPENDS += doxygen:devel/doxygen
MAN_TARGET= build-manpages
.endif
.endif
.endif .endif
.if ${ARCH} == "sparc64" .include <bsd.port.pre.mk>
PICFLAG?= -fPIC
.else
PICFLAG?= -fpic
.endif
FFLAGS_PROFILE?= -pg pre-configure:
FFLAGS_SHARED ?= ${PICFLAG} ${SED} -Ee '\
.if ${PORT_OPTIONS:MPROFILE}
LDFLAGS+= -static
.endif
.if ${PORT_OPTIONS:MPROFILE} && !exists(/usr/lib/libc_p.a)
IGNORE= you have chosen WITH_PROFILE, but have not installed the\
base system profiling libraries
.endif
.if ${PORT_OPTIONS:MSHARED}
USE_LDCONFIG= yes
.endif
.for o in PROFILE SHARED STATIC
.if ${PORT_OPTIONS:M${o}}
PLIST_SUB+= ${o}=""
.else
PLIST_SUB+= ${o}="@comment "
.endif
.endfor
post-patch:
@${SED} -Ee '\
s@^(FORTRAN|LOADER)([[:blank:]]*=)(.*)@\1\2 $${FC}@; \ s@^(FORTRAN|LOADER)([[:blank:]]*=)(.*)@\1\2 $${FC}@; \
s@^(OPTS[[:blank:]]*=)(.*)@\1 $${FFLAGS} $${EXTRAFLAGS}@; \ s@^(OPTS[[:blank:]]*=)(.*)@\1 $${FFLAGS} $${EXTRAFLAGS}@; \
s@^NOOPT[[:blank:]]*=.*@& $${EXTRAFLAGS}@; \ s@^NOOPT[[:blank:]]*=.*@& $${EXTRAFLAGS}@; \
s@^(LOADOPTS[[:blank:]]*=)(.*)@\1 $${LDFLAGS} $${EXTRAFLAGS}@; \ s@^(LOADOPTS[[:blank:]]*=)(.*)@\1 $${LDFLAGS} $${EXTRAFLAGS}@; \
s@^(CC[[:blank:]]*=)(.*)@@; \ s@^(CC[[:blank:]]*=)(.*)@@; \
s@^(FC[[:blank:]]*=)(.*)@@; \
s@^(CFLAGS[[:blank:]]*)(=)(.*)@\1 += $${EXTRAFLAGS}@; \ s@^(CFLAGS[[:blank:]]*)(=)(.*)@\1 += $${EXTRAFLAGS}@; \
s@^(FFLAGS[[:blank:]]*=)(.*)@@; \
s@^(LDFLAGS[[:blank:]]*=)(.*)@@; \
\@(BLAS|LAPACKE|RAN)LIB[[:blank:]]*=@d;' \ \@(BLAS|LAPACKE|RAN)LIB[[:blank:]]*=@d;' \
${WRKSRC}/make.inc.example > ${WRKSRC}/make.inc ${WRKSRC}/make.inc.example > ${WRKSRC}/make.inc
@${REINPLACE_CMD} -e 's@\./lapack_testing\.py@${S} &@' \ ${REINPLACE_CMD} -e 's@\./lapack_testing\.py@${S} &@' \
${WRKSRC}/Makefile ${WRKSRC}/Makefile
.for o in PROFILE SHARED ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
.if ${PORT_OPTIONS:M${o}} ${SED} -i ".bak" -e 's|^ifdef|.ifdef|;s|^endif|.endif|'
@${CP} -a ${WRKSRC} ${WRKSRC_${o}} .if defined(MAINTAINER_MODE)
.endif ${REINPLACE_CMD} -e 's|PythonInterp 2.7|PythonInterp ${PYTHON_VER}|' \
.endfor ${WRKSRC}/CMakeLists.txt
do-build: ${MAN_TARGET} build-profile build-shared build-static
.for o in PROFILE SHARED STATIC
build-${o:tl}: patch
.if ${PORT_OPTIONS:M${o}}
${PRINTF} "\n\nBuilding ${o:tl} libraries:\n\n\n"
cd ${WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FFLAGS_${o}}" \
${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} ARCH="${AR}" ${ALL_TARGET}
.endif
.endfor
.if defined (MAINTAINER_MODE)
build-manpages: patch
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \
${MAKE_ARGS} man
.endif .endif
post-build: post-build:
.if ${PORT_OPTIONS:MSHARED}
.for L in ${LIBS}
cd ${WRKSRC_SHARED} ; ${FC} ${FFLAGS} ${FFLAGS_SHARED} ${LDFLAGS} -shared \
-o lib${P}${L}.so.${SVERSION} -Wl,-x -Wl,-soname,lib${P}${L}.so.${SVERSION} \
-Wl,--whole-archive lib${L}.a -Wl,--no-whole-archive
.endfor
.endif
.if ${PORT_OPTIONS:MSHARED}
TESTS ?= test-shared
.elif ${PORT_OPTIONS:MSTATIC}
TESTS ?= test-static
.elif ${PORT_OPTIONS:MPROFILE}
TESTS ?= test-profile
.endif
.if !defined(LAPACKE_SLAVEPORT)
check regression-test test: ${TESTS}
.for o in PROFILE SHARED STATIC
test-${o:tl}: build-${o:tl}
.if ${PORT_OPTIONS:M${o}}
@${PRINTF} "\n\nTesting ${o:tl} libraries:\n\n\n"
@cd ${WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FFLAGS_${o}}" \
${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} ARCH="${AR}" ${TEST_TARGET}
.if defined(BLAS_SLAVEPORT) .if defined(BLAS_SLAVEPORT)
@${CAT} ${WRKSRC_${o}}/BLAS/*.out ${SED} -e 's|%%LIB%%|blas|g;s|cd SRC|cd BLAS/SRC|;s|SRC/lib|BLAS/SRC/lib|' \
${FILESDIR}/static.mk >> ${BUILD_WRKSRC}/CMakeFiles/blas.dir/build.make
(cd ${CONFIGURE_WRKSRC} && ${MAKE} -f BLAS/SRC/CMakeFiles/blas.dir/build.make build-static)
.elif defined(CBLAS_SLAVEPORT)
${SED} -e 's|%%LIB%%|cblas|g;s|cd SRC|cd CBLAS/src|;s|SRC/lib|CBLAS/src/lib|' \
${FILESDIR}/static.mk >> ${BUILD_WRKSRC}/src/CMakeFiles/cblas.dir/build.make
(cd ${CONFIGURE_WRKSRC} && ${MAKE} -f CBLAS/src/CMakeFiles/cblas.dir/build.make build-static)
.elif defined(LAPACKE_SLAVEPORT)
${SED} -e 's|%%LIB%%|lapacke|g;s|cd SRC|cd LAPACKE|' ${FILESDIR}/static.mk \
>> ${BUILD_WRKSRC}/CMakeFiles/lapacke.dir/build.make
(cd ${CONFIGURE_WRKSRC} && ${MAKE} -f LAPACKE/CMakeFiles/lapacke.dir/build.make build-static)
.else # xlapack + Lapack + tmglib
${SED} -e 's|%%LIB%%|lapack|g' ${FILESDIR}/static.mk \
>> ${BUILD_WRKSRC}/SRC/CMakeFiles/lapack.dir/build.make
(cd ${CONFIGURE_WRKSRC} && ${MAKE} -f SRC/CMakeFiles/lapack.dir/build.make build-static)
${SED} -e 's|%%LIB%%|tmglib|g;s|cd SRC|cd TESTING/MATGEN|;s|SRC/lib|TESTING/MATGEN/lib|' \
${FILESDIR}/static.mk >> ${BUILD_WRKSRC}/TESTING/MATGEN/CMakeFiles/tmglib.dir/build.make
(cd ${BUILD_WRKSRC} && ${MAKE} -f TESTING/MATGEN/CMakeFiles/tmglib.dir/build.make build-static)
.endif .endif
.endif
.endfor
.endif
do-install:
.for L in ${LIBS}
.if ${PORT_OPTIONS:MSTATIC}
@${INSTALL_DATA} ${WRKSRC}/lib${L}.a ${STAGEDIR}${PREFIX}/lib/lib${P}${L}.a
.endif
.if ${PORT_OPTIONS:MSHARED}
@${INSTALL_DATA} ${WRKSRC_SHARED}/lib${L}.a ${STAGEDIR}${PREFIX}/lib/lib${P}${L}_pic.a
@${INSTALL_DATA} ${WRKSRC_SHARED}/lib${P}${L}.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib
@${LN} -sf lib${P}${L}.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib/lib${P}${L}.so
.endif
.if ${PORT_OPTIONS:MPROFILE}
@${INSTALL_DATA} ${WRKSRC_PROFILE}/lib${L}.a ${STAGEDIR}${PREFIX}/lib/lib${P}${L}_p.a
.endif
.endfor
.if defined(LAPACKE_SLAVEPORT)
.for I in ${INCLS}
@${INSTALL_DATA} ${WRKSRC}/lapacke/include/${I}.h ${STAGEDIR}${PREFIX}/include
.endfor
.endif
.include <bsd.port.pre.mk>
.if !(defined(BLAS_SLAVEPORT) || defined(XLAPACK_SLAVEPORT) || defined(LAPACKE_SLAVEPORT))
.include "${FILESDIR}/manpages" .include "${FILESDIR}/manpages"
post-install: post-install:
@cd ${WRKDIR}/man ; ${ECHO_CMD} ${MAN3L:S|^|man3/|} \ .if defined(BLAS_SLAVEPORT)
${INSTALL_DATA} ${CONFIGURE_WRKSRC}/BLAS/SRC/${BLASLIB} ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${CONFIGURE_WRKSRC}/BLAS/blas.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
.elif defined(CBLAS_SLAVEPORT)
# Avoid conflict with OpenBLAS
${MKDIR} ${STAGEDIR}${PREFIX}/include/cblas
${MV} ${STAGEDIR}${PREFIX}/include/*.h ${STAGEDIR}${PREFIX}/include/cblas/
${INSTALL_DATA} ${BUILD_WRKSRC}/src/${CBLASLIB} ${STAGEDIR}${PREFIX}/lib
.elif defined(LAPACKE_SLAVEPORT)
# Avoid conflict with OpenBLAS
${MKDIR} ${STAGEDIR}${PREFIX}/include/lapacke
${MV} ${STAGEDIR}${PREFIX}/include/*.h ${STAGEDIR}${PREFIX}/include/lapacke/
${INSTALL_DATA} ${CONFIGURE_WRKSRC}/LAPACKE/${LAPACKELIB} ${STAGEDIR}${PREFIX}/lib
.elif defined(XLAPACK_SLAVEPORT)
${INSTALL_DATA} ${BUILD_WRKSRC}/SRC/liblapack.a ${STAGEDIR}${PREFIX}/lib/libxlapack.a
${INSTALL_DATA} ${BUILD_WRKSRC}/TESTING/MATGEN/libtmglib.a \
${STAGEDIR}${PREFIX}/lib/libxtmglib.a
${MV} ${STAGEDIR}${PREFIX}/lib/liblapack.so \
${STAGEDIR}${PREFIX}/lib/libxlapack.so.${PORTVERSION}
${LN} -sf libxlapack.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libxlapack.so
${LN} -sf libxlapack.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/libxlapack.so.${SVERSION}
${MV} ${STAGEDIR}${PREFIX}/lib/libtmglib.so \
${STAGEDIR}${PREFIX}/lib/libxtmglib.so.${PORTVERSION}
${LN} -sf libxtmglib.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libxtmglib.so
${LN} -sf libxtmglib.so.${PORTVERSION} \
${STAGEDIR}${PREFIX}/lib/libxtmglib.so.${SVERSION}
${SED} -e 's|lapack|xlapack|g;s|LAPACK|XLAPACK|' \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/lapack.pc \
> ${STAGEDIR}${PREFIX}/libdata/pkgconfig/xlapack.pc
${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/lapack.pc
.else # Lapack
${INSTALL_DATA} ${BUILD_WRKSRC}/SRC/liblapack.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${BUILD_WRKSRC}/TESTING/MATGEN/libtmglib.a ${STAGEDIR}${PREFIX}/lib
${MV} ${STAGEDIR}${PREFIX}/lib/libtmglib.so \
${STAGEDIR}${PREFIX}/lib/libtmglib.so.${PORTVERSION}
${LN} -sf libtmglib.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtmglib.so
${LN} -sf libtmglib.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtmglib.so.${SVERSION}
.endif
.if !(defined(BLAS_SLAVEPORT) || defined(CBLAS_SLAVEPORT) || defined(XLAPACK_SLAVEPORT) || defined(LAPACKE_SLAVEPORT))
cd ${WRKDIR}/man ; ${ECHO_CMD} ${MAN3L:S|^|man3/|} \
| ${XARGS} -J @ ${INSTALL_MAN} @ ${STAGEDIR}${MAN3PREFIX}/man/man3 | ${XARGS} -J @ ${INSTALL_MAN} @ ${STAGEDIR}${MAN3PREFIX}/man/man3
.if defined(MAINTAINER_MODE)
package-manpages: build-manpages
@${RM} ${WRKDIR}/lapack-manpages-${PORTVERSION}.tar.gz ; \
cd ${WRKSRC}/DOCS/man; \
${TAR} -czvf ${WRKDIR}/lapack-manpages-${PORTVERSION}.tar.gz \
${MAN3L:S|^|man3/|}
.endif
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -1,4 +1,5 @@
SHA256 (lapack/lapack-3.5.0.tgz) = 9ad8f0d3f3fb5521db49f2dd716463b8fb2b6bc9dc386a9956b8c6144f726352 TIMESTAMP = 1623226962
SIZE (lapack/lapack-3.5.0.tgz) = 6313139 SHA256 (lapack/v3.9.1.tar.gz) = d0085d2caf997ff39299c05d4bacb6f3d27001d25a4cc613d48c1f352b73e7e0
SHA256 (lapack/manpages-3.5.0.tgz) = 055da7402ea807cc16f6c50b71ac63d290f83a5f2885aa9f679b7ad11dd8903d SIZE (lapack/v3.9.1.tar.gz) = 7543209
SIZE (lapack/manpages-3.5.0.tgz) = 1394730 SHA256 (lapack/manpages.tgz) = a65b84821765cfd4bb8bf8c05e4279a9d81130da4eb8741ef2690064c57610cf
SIZE (lapack/manpages.tgz) = 2391904

File diff suppressed because it is too large Load diff

View file

@ -1,11 +0,0 @@
--- Makefile.orig 2012-09-09 00:53:46.000000000 +0900
+++ Makefile 2012-09-09 00:53:57.000000000 +0900
@@ -23,7 +23,7 @@
lapacklib: lapack_install
( cd SRC; $(MAKE) )
-lapackelib: lapacklib
+lapackelib:
( cd lapacke; $(MAKE) )
lapacke_example: lapackelib

View file

@ -1,98 +0,0 @@
--- SRC/Makefile.orig 2015-01-15 16:32:42.000000000 +0100
+++ SRC/Makefile 2015-01-15 16:33:52.000000000 +0100
@@ -159,7 +159,7 @@
DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o \
sla_gercond.o sla_gerpvgrw.o ssysvxx.o ssyrfsx.o \
sla_syrfsx_extended.o sla_syamv.o sla_syrcond.o sla_syrpvgrw.o \
@@ -167,7 +167,7 @@
sla_porpvgrw.o sgbsvxx.o sgbrfsx.o sla_gbrfsx_extended.o \
sla_gbamv.o sla_gbrcond.o sla_gbrpvgrw.o sla_lin_berr.o slarscl2.o \
slascl2.o sla_wwaddw.o
-endif
+.endif
CLASRC = \
cbdsqr.o cgbbrd.o cgbcon.o cgbequ.o cgbrfs.o cgbsv.o cgbsvx.o \
@@ -238,7 +238,7 @@
cgeqrt.o cgeqrt2.o cgeqrt3.o cgemqrt.o \
ctpqrt.o ctpqrt2.o ctpmqrt.o ctprfb.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
CXLASRC = cgesvxx.o cgerfsx.o cla_gerfsx_extended.o cla_geamv.o \
cla_gercond_c.o cla_gercond_x.o cla_gerpvgrw.o \
csysvxx.o csyrfsx.o cla_syrfsx_extended.o cla_syamv.o \
@@ -250,7 +250,7 @@
chesvxx.o cherfsx.o cla_herfsx_extended.o cla_heamv.o \
cla_hercond_c.o cla_hercond_x.o cla_herpvgrw.o \
cla_lin_berr.o clarscl2.o clascl2.o cla_wwaddw.o
-endif
+.endif
ZCLASRC = cpotrs.o cgetrs.o cpotrf.o cgetrf.o
@@ -318,7 +318,7 @@
dgeqrt.o dgeqrt2.o dgeqrt3.o dgemqrt.o \
dtpqrt.o dtpqrt2.o dtpmqrt.o dtprfb.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
DXLASRC = dgesvxx.o dgerfsx.o dla_gerfsx_extended.o dla_geamv.o \
dla_gercond.o dla_gerpvgrw.o dsysvxx.o dsyrfsx.o \
dla_syrfsx_extended.o dla_syamv.o dla_syrcond.o dla_syrpvgrw.o \
@@ -326,7 +326,7 @@
dla_porpvgrw.o dgbsvxx.o dgbrfsx.o dla_gbrfsx_extended.o \
dla_gbamv.o dla_gbrcond.o dla_gbrpvgrw.o dla_lin_berr.o dlarscl2.o \
dlascl2.o dla_wwaddw.o
-endif
+.endif
ZLASRC = \
zbdsqr.o zgbbrd.o zgbcon.o zgbequ.o zgbrfs.o zgbsv.o zgbsvx.o \
@@ -402,7 +402,7 @@
zgeqrt.o zgeqrt2.o zgeqrt3.o zgemqrt.o \
ztpqrt.o ztpqrt2.o ztpmqrt.o ztprfb.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
ZXLASRC = zgesvxx.o zgerfsx.o zla_gerfsx_extended.o zla_geamv.o \
zla_gercond_c.o zla_gercond_x.o zla_gerpvgrw.o zsysvxx.o zsyrfsx.o \
zla_syrfsx_extended.o zla_syamv.o zla_syrcond_c.o zla_syrcond_x.o \
@@ -412,14 +412,14 @@
zla_gbrpvgrw.o zhesvxx.o zherfsx.o zla_herfsx_extended.o \
zla_heamv.o zla_hercond_c.o zla_hercond_x.o zla_herpvgrw.o \
zla_lin_berr.o zlarscl2.o zlascl2.o zla_wwaddw.o
-endif
+.endif
ALLOBJ = $(SLASRC) $(DLASRC) $(DSLASRC) $(CLASRC) $(ZLASRC) $(ZCLASRC) \
$(SCLAUX) $(DZLAUX) $(ALLAUX)
-ifdef USEXBLAS
+.ifdef USEXBLAS
ALLXOBJ = $(SXLASRC) $(DXLASRC) $(CXLASRC) $(ZXLASRC)
-endif
+.endif
all: ../$(LAPACKLIB)
@@ -456,12 +456,12 @@
$(ZLASRC): $(FRC)
$(ZCLASRC): $(FRC)
$(DSLASRC): $(FRC)
-ifdef USEXBLAS
+.ifdef USEXBLAS
$(SXLASRC): $(FRC)
$(CXLASRC): $(FRC)
$(DXLASRC): $(FRC)
$(ZXLASRC): $(FRC)
-endif
+.endif
FRC:
@FRC=$(FRC)

View file

@ -1,82 +0,0 @@
--- TESTING/LIN/Makefile.orig 2015-01-15 16:35:28.000000000 +0100
+++ TESTING/LIN/Makefile 2015-01-15 16:36:26.000000000 +0100
@@ -34,11 +34,6 @@
#
#######################################################################
-ifneq ($(strip $(VARLIB)),)
- LAPACKLIB := $(VARLIB) ../../$(LAPACKLIB)
-endif
-
-
ALINTST = \
aladhd.o alaerh.o alaesm.o alahd.o alareq.o \
alasum.o alasvm.o chkxer.o icopy.o ilaenv.o xlaenv.o xerbla.o
@@ -76,13 +71,13 @@
strt02.o strt03.o strt05.o strt06.o \
stzt01.o stzt02.o sgennd.o sqrt04.o sqrt05.o schkqrt.o serrqrt.o schkqrtp.o serrqrtp.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
SLINTST += serrvxx.o sdrvgex.o sdrvsyx.o serrgex.o sdrvgbx.o sdrvpox.o \
sebchvxx.o serrsyx.o serrpox.o
-else
+.else
SLINTST += serrvx.o sdrvge.o sdrvsy.o serrge.o sdrvgb.o sdrvpo.o \
serrsy.o serrpo.o
-endif
+.endif
CLINTST = cchkaa.o \
cchkeq.o cchkgb.o cchkge.o cchkgt.o \
@@ -117,13 +112,13 @@
ctzt01.o ctzt02.o sget06.o cgennd.o \
cqrt04.o cqrt05.o cchkqrt.o cerrqrt.o cchkqrtp.o cerrqrtp.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
CLINTST += cerrvxx.o cdrvgex.o cdrvsyx.o cdrvgbx.o cerrgex.o cdrvpox.o \
cdrvhex.o cerrpox.o cebchvxx.o cerrsyx.o cerrhex.o
-else
+.else
CLINTST += cerrvx.o cdrvge.o cdrvsy.o cdrvgb.o cerrge.o cdrvpo.o \
cdrvhe.o cerrpo.o cerrsy.o cerrhe.o
-endif
+.endif
DLINTST = dchkaa.o \
dchkeq.o dchkgb.o dchkge.o dchkgt.o \
@@ -155,13 +150,13 @@
dtzt01.o dtzt02.o dgennd.o \
dqrt04.o dqrt05.o dchkqrt.o derrqrt.o dchkqrtp.o derrqrtp.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
DLINTST += derrvxx.o ddrvgex.o ddrvsyx.o ddrvgbx.o derrgex.o ddrvpox.o derrpox.o \
debchvxx.o derrsyx.o
-else
+.else
DLINTST += derrvx.o ddrvge.o ddrvsy.o ddrvgb.o derrge.o ddrvpo.o derrpo.o \
derrsy.o
-endif
+.endif
ZLINTST = zchkaa.o \
zchkeq.o zchkgb.o zchkge.o zchkgt.o \
@@ -196,13 +191,13 @@
ztzt01.o ztzt02.o dget06.o zgennd.o \
zqrt04.o zqrt05.o zchkqrt.o zerrqrt.o zchkqrtp.o zerrqrtp.o
-ifdef USEXBLAS
+.ifdef USEXBLAS
ZLINTST += zerrvxx.o zdrvgex.o zdrvsyx.o zdrvgbx.o zerrgex.o zdrvpox.o zdrvhex.o \
zerrpox.o zebchvxx.o zerrsyx.o zerrhex.o
-else
+.else
ZLINTST += zerrvx.o zdrvge.o zdrvsy.o zdrvgb.o zerrge.o zdrvpo.o \
zdrvhe.o zerrpo.o zerrsy.o zerrhe.o
-endif
+.endif
DSLINTST = dchkab.o \
ddrvab.o ddrvac.o derrab.o derrac.o dget08.o \

View file

@ -1,14 +0,0 @@
--- TESTING/Makefile.orig 2015-01-15 16:34:38.000000000 +0100
+++ TESTING/Makefile 2015-01-15 16:35:05.000000000 +0100
@@ -37,11 +37,6 @@
include ../make.inc
-ifneq ($(strip $(VARLIB)),)
- LAPACKLIB := $(VARLIB) ../$(LAPACKLIB)
-endif
-
-
all: single complex double complex16 singleproto doubleproto complexproto complex16proto
SEIGTST= snep.out \

View file

@ -1,30 +0,0 @@
--- lapacke/Makefile.orig 2012-09-09 00:48:05.000000000 +0900
+++ lapacke/Makefile 2012-09-09 00:48:54.000000000 +0900
@@ -45,20 +45,20 @@
all: lapacke
lapacke:
- cd include && cp lapacke_mangling_with_flags.h lapacke_mangling.h
- cd src && $(MAKE)
- cd utils && $(MAKE)
+ cd ${.CURDIR}/include && cp lapacke_mangling_with_flags.h lapacke_mangling.h
+ cd ${.CURDIR}/src && $(MAKE)
+ cd ${.CURDIR}/utils && $(MAKE)
lapacke_example:
- cd example && $(MAKE)
+ cd ${.CURDIR}/example && $(MAKE)
clean: cleanlib
cleanlib:
- cd src && $(MAKE) clean
- cd utils && $(MAKE) clean
+ cd ${.CURDIR}/src && $(MAKE) clean
+ cd ${.CURDIR}/utils && $(MAKE) clean
cleanall: clean
rm -f $(LAPACKE)
- cd example && $(MAKE) clean
+ cd ${.CURDIR}/example && $(MAKE) clean

View file

@ -1,29 +0,0 @@
--- lapacke/src/Makefile.orig 2012-04-03 05:16:32.000000000 +0900
+++ lapacke/src/Makefile 2012-09-09 01:28:00.000000000 +0900
@@ -2042,19 +2042,23 @@
ALLOBJ = $(SRC_OBJ) $(MATGEN_OBJ)
-ifdef USEXBLAS
+.ifdef USEXBLAS
ALLXOBJ = $(SXLASRC) $(DXLASRC) $(CXLASRC) $(ZXLASRC)
-endif
+.endif
OBJ_FILES := $(C_FILES:.o=.o)
-all: ../../$(LAPACKELIB)
+all: ../../$(LAPACKELIB) ../../$(LAPACKETMGLIB)
../../$(LAPACKELIB): $(ALLOBJ) $(ALLXOBJ)
$(ARCH) $(ARCHFLAGS) ../../$(LAPACKELIB) $(ALLOBJ) $(ALLXOBJ)
$(RANLIB) ../../$(LAPACKELIB)
+../../$(LAPACKETMGLIB): $(MATGEN_OBJ)
+ $(ARCH) $(ARCHFLAGS) ../../$(LAPACKETMGLIB) $(MATGEN_OBJ)
+ $(RANLIB) ../../$(LAPACKETMGLIB)
+
.c.o:
$(CC) -c $(CFLAGS) -I ../include -o $@ $<

View file

@ -0,0 +1,3 @@
build-static:
cd SRC && $(AR) $(ARFLAGS) lib%%LIB%%.a $(%%LIB%%_OBJECTS)
$(RANLIB) SRC/lib%%LIB%%.a

View file

@ -8,3 +8,4 @@ To view an HTML version of the Users' Guide please refer to the URL:
http://www.netlib.org/lapack/lug/ http://www.netlib.org/lapack/lug/
WWW: http://www.netlib.org/lapack/ WWW: http://www.netlib.org/lapack/
WWW: https://github.com/Reference-LAPACK/lapack

View file

@ -1,38 +1,54 @@
%%BLAS%%%%STATIC%%lib/libblas.a %%CBLAS%%include/cblas/cblas.h
%%BLAS%%%%SHARED%%lib/libblas_pic.a %%CBLAS%%include/cblas/cblas_f77.h
%%BLAS%%%%SHARED%%lib/libblas.so %%CBLAS%%include/cblas/cblas_mangling.h
%%BLAS%%%%SHARED%%lib/libblas.so.%%SVERSION%% %%CBLAS%%include/cblas/cblas_test.h
%%BLAS%%%%PROFILE%%lib/libblas_p.a %%LAPACKE%%include/lapacke/lapack.h
%%LAPACK%%%%STATIC%%lib/liblapack.a %%LAPACKE%%include/lapacke/lapacke.h
%%LAPACK%%%%SHARED%%lib/liblapack_pic.a %%LAPACKE%%include/lapacke/lapacke_config.h
%%LAPACK%%%%SHARED%%lib/liblapack.so %%LAPACKE%%include/lapacke/lapacke_mangling.h
%%LAPACK%%%%SHARED%%lib/liblapack.so.%%SVERSION%% %%LAPACKE%%include/lapacke/lapacke_utils.h
%%LAPACK%%%%PROFILE%%lib/liblapack_p.a %%BLAS%%lib/libblas.a
%%LAPACK%%%%STATIC%%lib/libtmglib.a %%BLAS%%lib/libblas.so
%%LAPACK%%%%SHARED%%lib/libtmglib_pic.a %%BLAS%%lib/libblas.so.%%SVERSION%%
%%LAPACK%%%%SHARED%%lib/libtmglib.so %%BLAS%%lib/libblas.so.%%VER%%
%%LAPACK%%%%SHARED%%lib/libtmglib.so.%%SVERSION%% %%CBLAS%%lib/cmake/cblas-%%VER%%/cblas-config-version.cmake
%%LAPACK%%%%PROFILE%%lib/libtmglib_p.a %%CBLAS%%lib/cmake/cblas-%%VER%%/cblas-config.cmake
%%XLAPACK%%%%STATIC%%lib/libxlapack.a %%CBLAS%%lib/cmake/cblas-%%VER%%/cblas-targets-%%CMAKE_BUILD_TYPE%%.cmake
%%XLAPACK%%%%SHARED%%lib/libxlapack_pic.a %%CBLAS%%lib/cmake/cblas-%%VER%%/cblas-targets.cmake
%%XLAPACK%%%%SHARED%%lib/libxlapack.so %%LAPACK%%lib/cmake/lapack-%%VER%%/lapack-config-version.cmake
%%XLAPACK%%%%SHARED%%lib/libxlapack.so.%%SVERSION%% %%LAPACK%%lib/cmake/lapack-%%VER%%/lapack-config.cmake
%%XLAPACK%%%%PROFILE%%lib/libxlapack_p.a %%LAPACK%%lib/cmake/lapack-%%VER%%/lapack-targets-%%CMAKE_BUILD_TYPE%%.cmake
%%XLAPACK%%%%STATIC%%lib/libxtmglib.a %%LAPACK%%lib/cmake/lapack-%%VER%%/lapack-targets.cmake
%%XLAPACK%%%%SHARED%%lib/libxtmglib_pic.a %%LAPACKE%%lib/cmake/lapacke-%%VER%%/lapacke-config-version.cmake
%%XLAPACK%%%%SHARED%%lib/libxtmglib.so %%LAPACKE%%lib/cmake/lapacke-%%VER%%/lapacke-config.cmake
%%XLAPACK%%%%SHARED%%lib/libxtmglib.so.%%SVERSION%% %%LAPACKE%%lib/cmake/lapacke-%%VER%%/lapacke-targets-%%CMAKE_BUILD_TYPE%%.cmake
%%XLAPACK%%%%PROFILE%%lib/libxtmglib_p.a %%LAPACKE%%lib/cmake/lapacke-%%VER%%/lapacke-targets.cmake
%%LAPACKE%%include/lapacke.h %%CBLAS%%lib/libcblas.a
%%LAPACKE%%include/lapacke_utils.h %%CBLAS%%lib/libcblas.so
%%LAPACKE%%include/lapacke_mangling.h %%CBLAS%%lib/libcblas.so.%%SVERSION%%
%%LAPACKE%%%%STATIC%%lib/liblapacke.a %%CBLAS%%lib/libcblas.so.%%VER%%
%%LAPACKE%%%%SHARED%%lib/liblapacke_pic.a %%LAPACK%%lib/liblapack.a
%%LAPACKE%%%%SHARED%%lib/liblapacke.so %%LAPACK%%lib/liblapack.so
%%LAPACKE%%%%SHARED%%lib/liblapacke.so.%%SVERSION%% %%LAPACK%%lib/liblapack.so.%%SVERSION%%
%%LAPACKE%%%%PROFILE%%lib/liblapacke_p.a %%LAPACK%%lib/liblapack.so.%%VER%%
%%LAPACKE%%%%STATIC%%lib/liblapacke_tmg.a %%LAPACK%%lib/libtmglib.a
%%LAPACKE%%%%SHARED%%lib/liblapacke_tmg_pic.a %%LAPACK%%lib/libtmglib.so
%%LAPACKE%%%%SHARED%%lib/liblapacke_tmg.so %%LAPACK%%lib/libtmglib.so.%%SVERSION%%
%%LAPACKE%%%%SHARED%%lib/liblapacke_tmg.so.%%SVERSION%% %%LAPACK%%lib/libtmglib.so.%%VER%%
%%LAPACKE%%%%PROFILE%%lib/liblapacke_tmg_p.a %%XLAPACK%%lib/libxlapack.a
%%XLAPACK%%lib/libxlapack.so
%%XLAPACK%%lib/libxlapack.so.%%SVERSION%%
%%XLAPACK%%lib/libxlapack.so.%%VER%%
%%XLAPACK%%lib/libxtmglib.a
%%XLAPACK%%lib/libxtmglib.so
%%XLAPACK%%lib/libxtmglib.so.%%SVERSION%%
%%XLAPACK%%lib/libxtmglib.so.%%VER%%
%%LAPACKE%%lib/liblapacke.a
%%LAPACKE%%lib/liblapacke.so
%%LAPACKE%%lib/liblapacke.so.%%SVERSION%%
%%LAPACKE%%lib/liblapacke.so.%%VER%%
%%BLAS%%libdata/pkgconfig/blas.pc
%%CBLAS%%libdata/pkgconfig/cblas.pc
%%LAPACK%%libdata/pkgconfig/lapack.pc
%%LAPACKE%%libdata/pkgconfig/lapacke.pc
%%XLAPACK%%libdata/pkgconfig/xlapack.pc

View file

@ -22,8 +22,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 fortran gmake perl5 pkgconfig USES= compiler:c11 fortran gmake perl5 pkgconfig
CONFLICTS_INSTALL= cblas lapacke
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= xianyi GH_ACCOUNT= xianyi
GH_PROJECT= OpenBLAS GH_PROJECT= OpenBLAS

View file

@ -1,7 +1,6 @@
# Created by: bf@FreeBSD.org # Created by: bf@FreeBSD.org
PORTNAME= xlapack PORTNAME= xlapack
PORTREVISION= 6
MAINTAINER= fortran@FreeBSD.org MAINTAINER= fortran@FreeBSD.org
COMMENT= Extended Precision LAPACK COMMENT= Extended Precision LAPACK