aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2011-02-17 00:47:57 +0000
committerMaho Nakata <maho@FreeBSD.org>2011-02-17 00:47:57 +0000
commit030a58883dd93f685f770b8575eece2ed11c891c (patch)
tree97bce7252c6cfac28a4cef402d1b8eee4c546d67
parented5bb212423d6dcf27619bf9bc002791f95dded7 (diff)
downloadports-030a58883dd93f685f770b8575eece2ed11c891c.tar.gz
ports-030a58883dd93f685f770b8575eece2ed11c891c.zip
Notes
-rw-r--r--math/Makefile1
-rw-r--r--math/lapacke/Makefile100
-rw-r--r--math/lapacke/distinfo2
-rw-r--r--math/lapacke/files/Makefile5
-rw-r--r--math/lapacke/files/Makefile.lib930
-rw-r--r--math/lapacke/files/patch-include+lapacke.h20
-rw-r--r--math/lapacke/files/patch-make.inc31
-rw-r--r--math/lapacke/files/patch-src+Makefile293
-rw-r--r--math/lapacke/files/patch-testing+interface+Makefile34
-rw-r--r--math/lapacke/files/patch-utils+Makefile11
-rw-r--r--math/lapacke/pkg-descr12
11 files changed, 1439 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 7618bb8caba6..4b0a1211d49e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -157,6 +157,7 @@
SUBDIR += lapack
SUBDIR += lapack++
SUBDIR += lapack95
+ SUBDIR += lapacke
SUBDIR += laspack
SUBDIR += ldouble
SUBDIR += lensnns
diff --git a/math/lapacke/Makefile b/math/lapacke/Makefile
new file mode 100644
index 000000000000..80284cc12750
--- /dev/null
+++ b/math/lapacke/Makefile
@@ -0,0 +1,100 @@
+# New ports collection makefile for: lapacke
+# Date created: 17 Feb 2011
+# Whom: Eijiro Shibusawa <ej-sib@ice.uec.ac.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lapacke
+PORTVERSION= 1.0.0.009
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.netlib.org/lapack/ \
+ http://netlib.org/lapack/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= phd_kimberlite@yahoo.co.jp
+COMMENT= Standard C language APIs for LAPACK
+
+#LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_LDCONFIG= yes
+USE_FORTRAN= yes
+
+.include <bsd.port.pre.mk>
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.if exists(${LOCALBASE}/lib/libgoto2p.so)
+WITH_BLAS?= gotoblas
+.elif exists(${LOCALBASE}/lib/libatlas_r.so)
+WITH_BLAS?= atlas
+.else
+WITH_BLAS?= reference
+.endif
+
+.if ${WITH_BLAS} == "reference"
+LIB_DEPENDS= blas.2:${PORTSDIR}/math/blas \
+ lapack.4:${PORTSDIR}/math/lapack
+BLAS= -lblas
+LAPACK= -llapack
+.elif ${WITH_BLAS} == "gotoblas"
+LIB_DEPENDS= goto2:${PORTSDIR}/math/gotoblas
+BLAS= -lpthread -lgoto2p
+LAPACK= -lpthread -lgoto2p
+WITHOUT_LAPACK_LATEST= yes
+.elif ${WITH_BLAS} == "atlas"
+LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas
+BLAS= -lpthread -lptf77blas -lptcblas -latlas_r
+LAPACK= -lpthread -lalapack_r
+.endif
+
+LDFLAGS+= -L${LOCALBASE}/lib -lgfortran -lgcc_s
+LDADD?= -lgfortran -lgcc_s
+MAKE_ENV= LDADD="${LDADD}" LDFLAGS="${LDFLAGS}"
+.if defined(WITHOUT_LAPACK_LATEST)
+MAKE_ENV+= WITHOUT_LAPACK_LATEST=yes
+.endif
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= README \
+ LICENSE
+.endif
+PLIST_FILES= include/lapacke.h \
+ include/lapacke_utils.h \
+ lib/liblapacke.a \
+ lib/liblapacke.so \
+ lib/liblapacke.so.1
+.if !(defined(NOPROFILE) || defined(NO_PROFILE) || defined(WITHOUT_PROFILE))
+PLIST_FILES+= lib/liblapacke_p.a
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's;%%CC%%;${CC};g' \
+ -e 's;%%CFLAGS%%;${CFLAGS};g' \
+ -e 's;%%LDFLAGS%%;${LDFLAGS};g' \
+ -e 's;%%AR%%;${AR};g' \
+ -e 's;%%RANLIB%%;${RANLIB};g' \
+ -e 's;%%BLAS%%;${BLAS};g' \
+ -e 's;%%LAPACK%%;${LAPACK};g' \
+ ${WRKSRC}/make.inc
+ @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+ @${MKDIR} ${WRKSRC}/lib
+ @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/lib/Makefile
+
+post-build:
+.if !defined(WITHOUT_TESTING)
+ @${ECHO_CMD} "Testing static lapacke library"
+ @(cd ${WRKSRC}/testing; ${SETENV} ${MAKE_ENV} \
+ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS})
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @(cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/lapacke/distinfo b/math/lapacke/distinfo
new file mode 100644
index 000000000000..8d436169cd52
--- /dev/null
+++ b/math/lapacke/distinfo
@@ -0,0 +1,2 @@
+SHA256 (lapacke.tgz) = 7f992bd1f143251ddd03b99ef935942c17caf43652ae94a251601e00dce258e3
+SIZE (lapacke.tgz) = 840233
diff --git a/math/lapacke/files/Makefile b/math/lapacke/files/Makefile
new file mode 100644
index 000000000000..a732b2b2b0cf
--- /dev/null
+++ b/math/lapacke/files/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SUBDIR= lib
+
+.include <bsd.subdir.mk>
diff --git a/math/lapacke/files/Makefile.lib b/math/lapacke/files/Makefile.lib
new file mode 100644
index 000000000000..a896e0e951f3
--- /dev/null
+++ b/math/lapacke/files/Makefile.lib
@@ -0,0 +1,930 @@
+.PATH: ${.CURDIR}/../src ${.CURDIR}/../utils
+
+LIB = lapacke
+LIBDIR = $(PREFIX)/lib
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 0
+CFLAGS+= -I${.CURDIR}/../include
+
+SRCS= ${LAPACKE_SRCS} ${UTILS_SRCS}
+.if !defined(WITHOUT_LAPACK_LATEST)
+SRCS+= ${LAPACKE_LATEST_SRCS}
+.endif
+
+LAPACKE_SRCS=\
+ lapacke_cbdsqr.c lapacke_cbdsqr_work.c \
+ lapacke_cgbbrd.c lapacke_cgbbrd_work.c \
+ lapacke_cgbcon.c lapacke_cgbcon_work.c \
+ lapacke_cgbequ.c lapacke_cgbequ_work.c \
+ lapacke_cgbrfs.c lapacke_cgbrfs_work.c \
+ lapacke_cgbsv.c lapacke_cgbsv_work.c \
+ lapacke_cgbsvx.c lapacke_cgbsvx_work.c \
+ lapacke_cgbtrf.c lapacke_cgbtrf_work.c \
+ lapacke_cgbtrs.c lapacke_cgbtrs_work.c \
+ lapacke_cgebak.c lapacke_cgebak_work.c \
+ lapacke_cgebal.c lapacke_cgebal_work.c \
+ lapacke_cgebrd.c lapacke_cgebrd_work.c \
+ lapacke_cgecon.c lapacke_cgecon_work.c \
+ lapacke_cgeequ.c lapacke_cgeequ_work.c \
+ lapacke_cgees.c lapacke_cgees_work.c \
+ lapacke_cgeesx.c lapacke_cgeesx_work.c \
+ lapacke_cgeev.c lapacke_cgeev_work.c \
+ lapacke_cgeevx.c lapacke_cgeevx_work.c \
+ lapacke_cgehrd.c lapacke_cgehrd_work.c \
+ lapacke_cgelqf.c lapacke_cgelqf_work.c \
+ lapacke_cgels.c lapacke_cgels_work.c \
+ lapacke_cgelsd.c lapacke_cgelsd_work.c \
+ lapacke_cgelss.c lapacke_cgelss_work.c \
+ lapacke_cgelsy.c lapacke_cgelsy_work.c \
+ lapacke_cgeqlf.c lapacke_cgeqlf_work.c \
+ lapacke_cgeqp3.c lapacke_cgeqp3_work.c \
+ lapacke_cgeqpf.c lapacke_cgeqpf_work.c \
+ lapacke_cgeqrf.c lapacke_cgeqrf_work.c \
+ lapacke_cgerfs.c lapacke_cgerfs_work.c \
+ lapacke_cgerqf.c lapacke_cgerqf_work.c \
+ lapacke_cgesdd.c lapacke_cgesdd_work.c \
+ lapacke_cgesv.c lapacke_cgesv_work.c \
+ lapacke_cgesvd.c lapacke_cgesvd_work.c \
+ lapacke_cgesvx.c lapacke_cgesvx_work.c \
+ lapacke_cgetrf.c lapacke_cgetrf_work.c \
+ lapacke_cgetri.c lapacke_cgetri_work.c \
+ lapacke_cgetrs.c lapacke_cgetrs_work.c \
+ lapacke_cggbak.c lapacke_cggbak_work.c \
+ lapacke_cggbal.c lapacke_cggbal_work.c \
+ lapacke_cgges.c lapacke_cgges_work.c \
+ lapacke_cggesx.c lapacke_cggesx_work.c \
+ lapacke_cggev.c lapacke_cggev_work.c \
+ lapacke_cggevx.c lapacke_cggevx_work.c \
+ lapacke_cggglm.c lapacke_cggglm_work.c \
+ lapacke_cgghrd.c lapacke_cgghrd_work.c \
+ lapacke_cgglse.c lapacke_cgglse_work.c \
+ lapacke_cggqrf.c lapacke_cggqrf_work.c \
+ lapacke_cggrqf.c lapacke_cggrqf_work.c \
+ lapacke_cggsvd.c lapacke_cggsvd_work.c \
+ lapacke_cggsvp.c lapacke_cggsvp_work.c \
+ lapacke_cgtcon.c lapacke_cgtcon_work.c \
+ lapacke_cgtrfs.c lapacke_cgtrfs_work.c \
+ lapacke_cgtsv.c lapacke_cgtsv_work.c \
+ lapacke_cgtsvx.c lapacke_cgtsvx_work.c \
+ lapacke_cgttrf.c lapacke_cgttrf_work.c \
+ lapacke_cgttrs.c lapacke_cgttrs_work.c \
+ lapacke_chbev.c lapacke_chbev_work.c \
+ lapacke_chbevd.c lapacke_chbevd_work.c \
+ lapacke_chbevx.c lapacke_chbevx_work.c \
+ lapacke_chbgst.c lapacke_chbgst_work.c \
+ lapacke_chbgv.c lapacke_chbgv_work.c \
+ lapacke_chbgvd.c lapacke_chbgvd_work.c \
+ lapacke_chbgvx.c lapacke_chbgvx_work.c \
+ lapacke_chbtrd.c lapacke_chbtrd_work.c \
+ lapacke_checon.c lapacke_checon_work.c \
+ lapacke_cheev.c lapacke_cheev_work.c \
+ lapacke_cheevd.c lapacke_cheevd_work.c \
+ lapacke_cheevr.c lapacke_cheevr_work.c \
+ lapacke_cheevx.c lapacke_cheevx_work.c \
+ lapacke_chegst.c lapacke_chegst_work.c \
+ lapacke_chegv.c lapacke_chegv_work.c \
+ lapacke_chegvd.c lapacke_chegvd_work.c \
+ lapacke_chegvx.c lapacke_chegvx_work.c \
+ lapacke_cherfs.c lapacke_cherfs_work.c \
+ lapacke_chesv.c lapacke_chesv_work.c \
+ lapacke_chesvx.c lapacke_chesvx_work.c \
+ lapacke_chetrd.c lapacke_chetrd_work.c \
+ lapacke_chetrf.c lapacke_chetrf_work.c \
+ lapacke_chetri.c lapacke_chetri_work.c \
+ lapacke_chetrs.c lapacke_chetrs_work.c \
+ lapacke_chgeqz.c lapacke_chgeqz_work.c \
+ lapacke_chpcon.c lapacke_chpcon_work.c \
+ lapacke_chpev.c lapacke_chpev_work.c \
+ lapacke_chpevd.c lapacke_chpevd_work.c \
+ lapacke_chpevx.c lapacke_chpevx_work.c \
+ lapacke_chpgst.c lapacke_chpgst_work.c \
+ lapacke_chpgv.c lapacke_chpgv_work.c \
+ lapacke_chpgvd.c lapacke_chpgvd_work.c \
+ lapacke_chpgvx.c lapacke_chpgvx_work.c \
+ lapacke_chprfs.c lapacke_chprfs_work.c \
+ lapacke_chpsv.c lapacke_chpsv_work.c \
+ lapacke_chpsvx.c lapacke_chpsvx_work.c \
+ lapacke_chptrd.c lapacke_chptrd_work.c \
+ lapacke_chptrf.c lapacke_chptrf_work.c \
+ lapacke_chptri.c lapacke_chptri_work.c \
+ lapacke_chptrs.c lapacke_chptrs_work.c \
+ lapacke_chsein.c lapacke_chsein_work.c \
+ lapacke_chseqr.c lapacke_chseqr_work.c \
+ lapacke_cpbcon.c lapacke_cpbcon_work.c \
+ lapacke_cpbequ.c lapacke_cpbequ_work.c \
+ lapacke_cpbrfs.c lapacke_cpbrfs_work.c \
+ lapacke_cpbstf.c lapacke_cpbstf_work.c \
+ lapacke_cpbsv.c lapacke_cpbsv_work.c \
+ lapacke_cpbsvx.c lapacke_cpbsvx_work.c \
+ lapacke_cpbtrf.c lapacke_cpbtrf_work.c \
+ lapacke_cpbtrs.c lapacke_cpbtrs_work.c \
+ lapacke_cpocon.c lapacke_cpocon_work.c \
+ lapacke_cpoequ.c lapacke_cpoequ_work.c \
+ lapacke_cporfs.c lapacke_cporfs_work.c \
+ lapacke_cposv.c lapacke_cposv_work.c \
+ lapacke_cposvx.c lapacke_cposvx_work.c \
+ lapacke_cpotrf.c lapacke_cpotrf_work.c \
+ lapacke_cpotri.c lapacke_cpotri_work.c \
+ lapacke_cpotrs.c lapacke_cpotrs_work.c \
+ lapacke_cppcon.c lapacke_cppcon_work.c \
+ lapacke_cppequ.c lapacke_cppequ_work.c \
+ lapacke_cpprfs.c lapacke_cpprfs_work.c \
+ lapacke_cppsv.c lapacke_cppsv_work.c \
+ lapacke_cppsvx.c lapacke_cppsvx_work.c \
+ lapacke_cpptrf.c lapacke_cpptrf_work.c \
+ lapacke_cpptri.c lapacke_cpptri_work.c \
+ lapacke_cpptrs.c lapacke_cpptrs_work.c \
+ lapacke_cptcon.c lapacke_cptcon_work.c \
+ lapacke_cpteqr.c lapacke_cpteqr_work.c \
+ lapacke_cptrfs.c lapacke_cptrfs_work.c \
+ lapacke_cptsv.c lapacke_cptsv_work.c \
+ lapacke_cptsvx.c lapacke_cptsvx_work.c \
+ lapacke_cpttrf.c lapacke_cpttrf_work.c \
+ lapacke_cpttrs.c lapacke_cpttrs_work.c \
+ lapacke_cspcon.c lapacke_cspcon_work.c \
+ lapacke_csprfs.c lapacke_csprfs_work.c \
+ lapacke_cspsv.c lapacke_cspsv_work.c \
+ lapacke_cspsvx.c lapacke_cspsvx_work.c \
+ lapacke_csptrf.c lapacke_csptrf_work.c \
+ lapacke_csptri.c lapacke_csptri_work.c \
+ lapacke_csptrs.c lapacke_csptrs_work.c \
+ lapacke_cstedc.c lapacke_cstedc_work.c \
+ lapacke_cstegr.c lapacke_cstegr_work.c \
+ lapacke_cstein.c lapacke_cstein_work.c \
+ lapacke_cstemr.c lapacke_cstemr_work.c \
+ lapacke_csteqr.c lapacke_csteqr_work.c \
+ lapacke_csycon.c lapacke_csycon_work.c \
+ lapacke_csyrfs.c lapacke_csyrfs_work.c \
+ lapacke_csysv.c lapacke_csysv_work.c \
+ lapacke_csysvx.c lapacke_csysvx_work.c \
+ lapacke_csytrf.c lapacke_csytrf_work.c \
+ lapacke_csytri.c lapacke_csytri_work.c \
+ lapacke_csytrs.c lapacke_csytrs_work.c \
+ lapacke_ctbcon.c lapacke_ctbcon_work.c \
+ lapacke_ctbrfs.c lapacke_ctbrfs_work.c \
+ lapacke_ctbtrs.c lapacke_ctbtrs_work.c \
+ lapacke_ctgevc.c lapacke_ctgevc_work.c \
+ lapacke_ctgexc.c lapacke_ctgexc_work.c \
+ lapacke_ctgsen.c lapacke_ctgsen_work.c \
+ lapacke_ctgsja.c lapacke_ctgsja_work.c \
+ lapacke_ctgsna.c lapacke_ctgsna_work.c \
+ lapacke_ctgsyl.c lapacke_ctgsyl_work.c \
+ lapacke_ctpcon.c lapacke_ctpcon_work.c \
+ lapacke_ctprfs.c lapacke_ctprfs_work.c \
+ lapacke_ctptri.c lapacke_ctptri_work.c \
+ lapacke_ctptrs.c lapacke_ctptrs_work.c \
+ lapacke_ctrcon.c lapacke_ctrcon_work.c \
+ lapacke_ctrevc.c lapacke_ctrevc_work.c \
+ lapacke_ctrexc.c lapacke_ctrexc_work.c \
+ lapacke_ctrrfs.c lapacke_ctrrfs_work.c \
+ lapacke_ctrsen.c lapacke_ctrsen_work.c \
+ lapacke_ctrsna.c lapacke_ctrsna_work.c \
+ lapacke_ctrsyl.c lapacke_ctrsyl_work.c \
+ lapacke_ctrtri.c lapacke_ctrtri_work.c \
+ lapacke_ctrtrs.c lapacke_ctrtrs_work.c \
+ lapacke_ctzrzf.c lapacke_ctzrzf_work.c \
+ lapacke_cungbr.c lapacke_cungbr_work.c \
+ lapacke_cunghr.c lapacke_cunghr_work.c \
+ lapacke_cunglq.c lapacke_cunglq_work.c \
+ lapacke_cungql.c lapacke_cungql_work.c \
+ lapacke_cungqr.c lapacke_cungqr_work.c \
+ lapacke_cungrq.c lapacke_cungrq_work.c \
+ lapacke_cungtr.c lapacke_cungtr_work.c \
+ lapacke_cunmbr.c lapacke_cunmbr_work.c \
+ lapacke_cunmhr.c lapacke_cunmhr_work.c \
+ lapacke_cunmlq.c lapacke_cunmlq_work.c \
+ lapacke_cunmql.c lapacke_cunmql_work.c \
+ lapacke_cunmqr.c lapacke_cunmqr_work.c \
+ lapacke_cunmrq.c lapacke_cunmrq_work.c \
+ lapacke_cunmrz.c lapacke_cunmrz_work.c \
+ lapacke_cunmtr.c lapacke_cunmtr_work.c \
+ lapacke_cupgtr.c lapacke_cupgtr_work.c \
+ lapacke_cupmtr.c lapacke_cupmtr_work.c \
+ lapacke_dbdsdc.c lapacke_dbdsdc_work.c \
+ lapacke_dbdsqr.c lapacke_dbdsqr_work.c \
+ lapacke_ddisna.c lapacke_ddisna_work.c \
+ lapacke_dgbbrd.c lapacke_dgbbrd_work.c \
+ lapacke_dgbcon.c lapacke_dgbcon_work.c \
+ lapacke_dgbequ.c lapacke_dgbequ_work.c \
+ lapacke_dgbrfs.c lapacke_dgbrfs_work.c \
+ lapacke_dgbsv.c lapacke_dgbsv_work.c \
+ lapacke_dgbsvx.c lapacke_dgbsvx_work.c \
+ lapacke_dgbtrf.c lapacke_dgbtrf_work.c \
+ lapacke_dgbtrs.c lapacke_dgbtrs_work.c \
+ lapacke_dgebak.c lapacke_dgebak_work.c \
+ lapacke_dgebal.c lapacke_dgebal_work.c \
+ lapacke_dgebrd.c lapacke_dgebrd_work.c \
+ lapacke_dgecon.c lapacke_dgecon_work.c \
+ lapacke_dgeequ.c lapacke_dgeequ_work.c \
+ lapacke_dgees.c lapacke_dgees_work.c \
+ lapacke_dgeesx.c lapacke_dgeesx_work.c \
+ lapacke_dgeev.c lapacke_dgeev_work.c \
+ lapacke_dgeevx.c lapacke_dgeevx_work.c \
+ lapacke_dgehrd.c lapacke_dgehrd_work.c \
+ lapacke_dgelqf.c lapacke_dgelqf_work.c \
+ lapacke_dgels.c lapacke_dgels_work.c \
+ lapacke_dgelsd.c lapacke_dgelsd_work.c \
+ lapacke_dgelss.c lapacke_dgelss_work.c \
+ lapacke_dgelsy.c lapacke_dgelsy_work.c \
+ lapacke_dgeqlf.c lapacke_dgeqlf_work.c \
+ lapacke_dgeqp3.c lapacke_dgeqp3_work.c \
+ lapacke_dgeqpf.c lapacke_dgeqpf_work.c \
+ lapacke_dgeqrf.c lapacke_dgeqrf_work.c \
+ lapacke_dgerfs.c lapacke_dgerfs_work.c \
+ lapacke_dgerqf.c lapacke_dgerqf_work.c \
+ lapacke_dgesdd.c lapacke_dgesdd_work.c \
+ lapacke_dgesv.c lapacke_dgesv_work.c \
+ lapacke_dgesvd.c lapacke_dgesvd_work.c \
+ lapacke_dgesvx.c lapacke_dgesvx_work.c \
+ lapacke_dgetrf.c lapacke_dgetrf_work.c \
+ lapacke_dgetri.c lapacke_dgetri_work.c \
+ lapacke_dgetrs.c lapacke_dgetrs_work.c \
+ lapacke_dggbak.c lapacke_dggbak_work.c \
+ lapacke_dggbal.c lapacke_dggbal_work.c \
+ lapacke_dgges.c lapacke_dgges_work.c \
+ lapacke_dggesx.c lapacke_dggesx_work.c \
+ lapacke_dggev.c lapacke_dggev_work.c \
+ lapacke_dggevx.c lapacke_dggevx_work.c \
+ lapacke_dggglm.c lapacke_dggglm_work.c \
+ lapacke_dgghrd.c lapacke_dgghrd_work.c \
+ lapacke_dgglse.c lapacke_dgglse_work.c \
+ lapacke_dggqrf.c lapacke_dggqrf_work.c \
+ lapacke_dggrqf.c lapacke_dggrqf_work.c \
+ lapacke_dggsvd.c lapacke_dggsvd_work.c \
+ lapacke_dggsvp.c lapacke_dggsvp_work.c \
+ lapacke_dgtcon.c lapacke_dgtcon_work.c \
+ lapacke_dgtrfs.c lapacke_dgtrfs_work.c \
+ lapacke_dgtsv.c lapacke_dgtsv_work.c \
+ lapacke_dgtsvx.c lapacke_dgtsvx_work.c \
+ lapacke_dgttrf.c lapacke_dgttrf_work.c \
+ lapacke_dgttrs.c lapacke_dgttrs_work.c \
+ lapacke_dhgeqz.c lapacke_dhgeqz_work.c \
+ lapacke_dhsein.c lapacke_dhsein_work.c \
+ lapacke_dhseqr.c lapacke_dhseqr_work.c \
+ lapacke_dopgtr.c lapacke_dopgtr_work.c \
+ lapacke_dopmtr.c lapacke_dopmtr_work.c \
+ lapacke_dorgbr.c lapacke_dorgbr_work.c \
+ lapacke_dorghr.c lapacke_dorghr_work.c \
+ lapacke_dorglq.c lapacke_dorglq_work.c \
+ lapacke_dorgql.c lapacke_dorgql_work.c \
+ lapacke_dorgqr.c lapacke_dorgqr_work.c \
+ lapacke_dorgrq.c lapacke_dorgrq_work.c \
+ lapacke_dorgtr.c lapacke_dorgtr_work.c \
+ lapacke_dormbr.c lapacke_dormbr_work.c \
+ lapacke_dormhr.c lapacke_dormhr_work.c \
+ lapacke_dormlq.c lapacke_dormlq_work.c \
+ lapacke_dormql.c lapacke_dormql_work.c \
+ lapacke_dormqr.c lapacke_dormqr_work.c \
+ lapacke_dormrq.c lapacke_dormrq_work.c \
+ lapacke_dormrz.c lapacke_dormrz_work.c \
+ lapacke_dormtr.c lapacke_dormtr_work.c \
+ lapacke_dpbcon.c lapacke_dpbcon_work.c \
+ lapacke_dpbequ.c lapacke_dpbequ_work.c \
+ lapacke_dpbrfs.c lapacke_dpbrfs_work.c \
+ lapacke_dpbstf.c lapacke_dpbstf_work.c \
+ lapacke_dpbsv.c lapacke_dpbsv_work.c \
+ lapacke_dpbsvx.c lapacke_dpbsvx_work.c \
+ lapacke_dpbtrf.c lapacke_dpbtrf_work.c \
+ lapacke_dpbtrs.c lapacke_dpbtrs_work.c \
+ lapacke_dpocon.c lapacke_dpocon_work.c \
+ lapacke_dpoequ.c lapacke_dpoequ_work.c \
+ lapacke_dporfs.c lapacke_dporfs_work.c \
+ lapacke_dposv.c lapacke_dposv_work.c \
+ lapacke_dposvx.c lapacke_dposvx_work.c \
+ lapacke_dpotrf.c lapacke_dpotrf_work.c \
+ lapacke_dpotri.c lapacke_dpotri_work.c \
+ lapacke_dpotrs.c lapacke_dpotrs_work.c \
+ lapacke_dppcon.c lapacke_dppcon_work.c \
+ lapacke_dppequ.c lapacke_dppequ_work.c \
+ lapacke_dpprfs.c lapacke_dpprfs_work.c \
+ lapacke_dppsv.c lapacke_dppsv_work.c \
+ lapacke_dppsvx.c lapacke_dppsvx_work.c \
+ lapacke_dpptrf.c lapacke_dpptrf_work.c \
+ lapacke_dpptri.c lapacke_dpptri_work.c \
+ lapacke_dpptrs.c lapacke_dpptrs_work.c \
+ lapacke_dptcon.c lapacke_dptcon_work.c \
+ lapacke_dpteqr.c lapacke_dpteqr_work.c \
+ lapacke_dptrfs.c lapacke_dptrfs_work.c \
+ lapacke_dptsv.c lapacke_dptsv_work.c \
+ lapacke_dptsvx.c lapacke_dptsvx_work.c \
+ lapacke_dpttrf.c lapacke_dpttrf_work.c \
+ lapacke_dpttrs.c lapacke_dpttrs_work.c \
+ lapacke_dsbev.c lapacke_dsbev_work.c \
+ lapacke_dsbevd.c lapacke_dsbevd_work.c \
+ lapacke_dsbevx.c lapacke_dsbevx_work.c \
+ lapacke_dsbgst.c lapacke_dsbgst_work.c \
+ lapacke_dsbgv.c lapacke_dsbgv_work.c \
+ lapacke_dsbgvd.c lapacke_dsbgvd_work.c \
+ lapacke_dsbgvx.c lapacke_dsbgvx_work.c \
+ lapacke_dsbtrd.c lapacke_dsbtrd_work.c \
+ lapacke_dsgesv.c lapacke_dsgesv_work.c \
+ lapacke_dspcon.c lapacke_dspcon_work.c \
+ lapacke_dspev.c lapacke_dspev_work.c \
+ lapacke_dspevd.c lapacke_dspevd_work.c \
+ lapacke_dspevx.c lapacke_dspevx_work.c \
+ lapacke_dspgst.c lapacke_dspgst_work.c \
+ lapacke_dspgv.c lapacke_dspgv_work.c \
+ lapacke_dspgvd.c lapacke_dspgvd_work.c \
+ lapacke_dspgvx.c lapacke_dspgvx_work.c \
+ lapacke_dsprfs.c lapacke_dsprfs_work.c \
+ lapacke_dspsv.c lapacke_dspsv_work.c \
+ lapacke_dspsvx.c lapacke_dspsvx_work.c \
+ lapacke_dsptrd.c lapacke_dsptrd_work.c \
+ lapacke_dsptrf.c lapacke_dsptrf_work.c \
+ lapacke_dsptri.c lapacke_dsptri_work.c \
+ lapacke_dsptrs.c lapacke_dsptrs_work.c \
+ lapacke_dstebz.c lapacke_dstebz_work.c \
+ lapacke_dstedc.c lapacke_dstedc_work.c \
+ lapacke_dstegr.c lapacke_dstegr_work.c \
+ lapacke_dstein.c lapacke_dstein_work.c \
+ lapacke_dstemr.c lapacke_dstemr_work.c \
+ lapacke_dsteqr.c lapacke_dsteqr_work.c \
+ lapacke_dsterf.c lapacke_dsterf_work.c \
+ lapacke_dstev.c lapacke_dstev_work.c \
+ lapacke_dstevd.c lapacke_dstevd_work.c \
+ lapacke_dstevr.c lapacke_dstevr_work.c \
+ lapacke_dstevx.c lapacke_dstevx_work.c \
+ lapacke_dsycon.c lapacke_dsycon_work.c \
+ lapacke_dsyev.c lapacke_dsyev_work.c \
+ lapacke_dsyevd.c lapacke_dsyevd_work.c \
+ lapacke_dsyevr.c lapacke_dsyevr_work.c \
+ lapacke_dsyevx.c lapacke_dsyevx_work.c \
+ lapacke_dsygst.c lapacke_dsygst_work.c \
+ lapacke_dsygv.c lapacke_dsygv_work.c \
+ lapacke_dsygvd.c lapacke_dsygvd_work.c \
+ lapacke_dsygvx.c lapacke_dsygvx_work.c \
+ lapacke_dsyrfs.c lapacke_dsyrfs_work.c \
+ lapacke_dsysv.c lapacke_dsysv_work.c \
+ lapacke_dsysvx.c lapacke_dsysvx_work.c \
+ lapacke_dsytrd.c lapacke_dsytrd_work.c \
+ lapacke_dsytrf.c lapacke_dsytrf_work.c \
+ lapacke_dsytri.c lapacke_dsytri_work.c \
+ lapacke_dsytrs.c lapacke_dsytrs_work.c \
+ lapacke_dtbcon.c lapacke_dtbcon_work.c \
+ lapacke_dtbrfs.c lapacke_dtbrfs_work.c \
+ lapacke_dtbtrs.c lapacke_dtbtrs_work.c \
+ lapacke_dtgevc.c lapacke_dtgevc_work.c \
+ lapacke_dtgexc.c lapacke_dtgexc_work.c \
+ lapacke_dtgsen.c lapacke_dtgsen_work.c \
+ lapacke_dtgsja.c lapacke_dtgsja_work.c \
+ lapacke_dtgsna.c lapacke_dtgsna_work.c \
+ lapacke_dtgsyl.c lapacke_dtgsyl_work.c \
+ lapacke_dtpcon.c lapacke_dtpcon_work.c \
+ lapacke_dtprfs.c lapacke_dtprfs_work.c \
+ lapacke_dtptri.c lapacke_dtptri_work.c \
+ lapacke_dtptrs.c lapacke_dtptrs_work.c \
+ lapacke_dtrcon.c lapacke_dtrcon_work.c \
+ lapacke_dtrevc.c lapacke_dtrevc_work.c \
+ lapacke_dtrexc.c lapacke_dtrexc_work.c \
+ lapacke_dtrrfs.c lapacke_dtrrfs_work.c \
+ lapacke_dtrsen.c lapacke_dtrsen_work.c \
+ lapacke_dtrsna.c lapacke_dtrsna_work.c \
+ lapacke_dtrsyl.c lapacke_dtrsyl_work.c \
+ lapacke_dtrtri.c lapacke_dtrtri_work.c \
+ lapacke_dtrtrs.c lapacke_dtrtrs_work.c \
+ lapacke_dtzrzf.c lapacke_dtzrzf_work.c \
+ lapacke_sbdsdc.c lapacke_sbdsdc_work.c \
+ lapacke_sbdsqr.c lapacke_sbdsqr_work.c \
+ lapacke_sdisna.c lapacke_sdisna_work.c \
+ lapacke_sgbbrd.c lapacke_sgbbrd_work.c \
+ lapacke_sgbcon.c lapacke_sgbcon_work.c \
+ lapacke_sgbequ.c lapacke_sgbequ_work.c \
+ lapacke_sgbrfs.c lapacke_sgbrfs_work.c \
+ lapacke_sgbsv.c lapacke_sgbsv_work.c \
+ lapacke_sgbsvx.c lapacke_sgbsvx_work.c \
+ lapacke_sgbtrf.c lapacke_sgbtrf_work.c \
+ lapacke_sgbtrs.c lapacke_sgbtrs_work.c \
+ lapacke_sgebak.c lapacke_sgebak_work.c \
+ lapacke_sgebal.c lapacke_sgebal_work.c \
+ lapacke_sgebrd.c lapacke_sgebrd_work.c \
+ lapacke_sgecon.c lapacke_sgecon_work.c \
+ lapacke_sgeequ.c lapacke_sgeequ_work.c \
+ lapacke_sgees.c lapacke_sgees_work.c \
+ lapacke_sgeesx.c lapacke_sgeesx_work.c \
+ lapacke_sgeev.c lapacke_sgeev_work.c \
+ lapacke_sgeevx.c lapacke_sgeevx_work.c \
+ lapacke_sgehrd.c lapacke_sgehrd_work.c \
+ lapacke_sgelqf.c lapacke_sgelqf_work.c \
+ lapacke_sgels.c lapacke_sgels_work.c \
+ lapacke_sgelsd.c lapacke_sgelsd_work.c \
+ lapacke_sgelss.c lapacke_sgelss_work.c \
+ lapacke_sgelsy.c lapacke_sgelsy_work.c \
+ lapacke_sgeqlf.c lapacke_sgeqlf_work.c \
+ lapacke_sgeqp3.c lapacke_sgeqp3_work.c \
+ lapacke_sgeqpf.c lapacke_sgeqpf_work.c \
+ lapacke_sgeqrf.c lapacke_sgeqrf_work.c \
+ lapacke_sgerfs.c lapacke_sgerfs_work.c \
+ lapacke_sgerqf.c lapacke_sgerqf_work.c \
+ lapacke_sgesdd.c lapacke_sgesdd_work.c \
+ lapacke_sgesv.c lapacke_sgesv_work.c \
+ lapacke_sgesvd.c lapacke_sgesvd_work.c \
+ lapacke_sgesvx.c lapacke_sgesvx_work.c \
+ lapacke_sgetrf.c lapacke_sgetrf_work.c \
+ lapacke_sgetri.c lapacke_sgetri_work.c \
+ lapacke_sgetrs.c lapacke_sgetrs_work.c \
+ lapacke_sggbak.c lapacke_sggbak_work.c \
+ lapacke_sggbal.c lapacke_sggbal_work.c \
+ lapacke_sgges.c lapacke_sgges_work.c \
+ lapacke_sggesx.c lapacke_sggesx_work.c \
+ lapacke_sggev.c lapacke_sggev_work.c \
+ lapacke_sggevx.c lapacke_sggevx_work.c \
+ lapacke_sggglm.c lapacke_sggglm_work.c \
+ lapacke_sgghrd.c lapacke_sgghrd_work.c \
+ lapacke_sgglse.c lapacke_sgglse_work.c \
+ lapacke_sggqrf.c lapacke_sggqrf_work.c \
+ lapacke_sggrqf.c lapacke_sggrqf_work.c \
+ lapacke_sggsvd.c lapacke_sggsvd_work.c \
+ lapacke_sggsvp.c lapacke_sggsvp_work.c \
+ lapacke_sgtcon.c lapacke_sgtcon_work.c \
+ lapacke_sgtrfs.c lapacke_sgtrfs_work.c \
+ lapacke_sgtsv.c lapacke_sgtsv_work.c \
+ lapacke_sgtsvx.c lapacke_sgtsvx_work.c \
+ lapacke_sgttrf.c lapacke_sgttrf_work.c \
+ lapacke_sgttrs.c lapacke_sgttrs_work.c \
+ lapacke_shgeqz.c lapacke_shgeqz_work.c \
+ lapacke_shsein.c lapacke_shsein_work.c \
+ lapacke_shseqr.c lapacke_shseqr_work.c \
+ lapacke_sopgtr.c lapacke_sopgtr_work.c \
+ lapacke_sopmtr.c lapacke_sopmtr_work.c \
+ lapacke_sorgbr.c lapacke_sorgbr_work.c \
+ lapacke_sorghr.c lapacke_sorghr_work.c \
+ lapacke_sorglq.c lapacke_sorglq_work.c \
+ lapacke_sorgql.c lapacke_sorgql_work.c \
+ lapacke_sorgqr.c lapacke_sorgqr_work.c \
+ lapacke_sorgrq.c lapacke_sorgrq_work.c \
+ lapacke_sorgtr.c lapacke_sorgtr_work.c \
+ lapacke_sormbr.c lapacke_sormbr_work.c \
+ lapacke_sormhr.c lapacke_sormhr_work.c \
+ lapacke_sormlq.c lapacke_sormlq_work.c \
+ lapacke_sormql.c lapacke_sormql_work.c \
+ lapacke_sormqr.c lapacke_sormqr_work.c \
+ lapacke_sormrq.c lapacke_sormrq_work.c \
+ lapacke_sormrz.c lapacke_sormrz_work.c \
+ lapacke_sormtr.c lapacke_sormtr_work.c \
+ lapacke_spbcon.c lapacke_spbcon_work.c \
+ lapacke_spbequ.c lapacke_spbequ_work.c \
+ lapacke_spbrfs.c lapacke_spbrfs_work.c \
+ lapacke_spbstf.c lapacke_spbstf_work.c \
+ lapacke_spbsv.c lapacke_spbsv_work.c \
+ lapacke_spbsvx.c lapacke_spbsvx_work.c \
+ lapacke_spbtrf.c lapacke_spbtrf_work.c \
+ lapacke_spbtrs.c lapacke_spbtrs_work.c \
+ lapacke_spocon.c lapacke_spocon_work.c \
+ lapacke_spoequ.c lapacke_spoequ_work.c \
+ lapacke_sporfs.c lapacke_sporfs_work.c \
+ lapacke_sposv.c lapacke_sposv_work.c \
+ lapacke_sposvx.c lapacke_sposvx_work.c \
+ lapacke_spotrf.c lapacke_spotrf_work.c \
+ lapacke_spotri.c lapacke_spotri_work.c \
+ lapacke_spotrs.c lapacke_spotrs_work.c \
+ lapacke_sppcon.c lapacke_sppcon_work.c \
+ lapacke_sppequ.c lapacke_sppequ_work.c \
+ lapacke_spprfs.c lapacke_spprfs_work.c \
+ lapacke_sppsv.c lapacke_sppsv_work.c \
+ lapacke_sppsvx.c lapacke_sppsvx_work.c \
+ lapacke_spptrf.c lapacke_spptrf_work.c \
+ lapacke_spptri.c lapacke_spptri_work.c \
+ lapacke_spptrs.c lapacke_spptrs_work.c \
+ lapacke_sptcon.c lapacke_sptcon_work.c \
+ lapacke_spteqr.c lapacke_spteqr_work.c \
+ lapacke_sptrfs.c lapacke_sptrfs_work.c \
+ lapacke_sptsv.c lapacke_sptsv_work.c \
+ lapacke_sptsvx.c lapacke_sptsvx_work.c \
+ lapacke_spttrf.c lapacke_spttrf_work.c \
+ lapacke_spttrs.c lapacke_spttrs_work.c \
+ lapacke_ssbev.c lapacke_ssbev_work.c \
+ lapacke_ssbevd.c lapacke_ssbevd_work.c \
+ lapacke_ssbevx.c lapacke_ssbevx_work.c \
+ lapacke_ssbgst.c lapacke_ssbgst_work.c \
+ lapacke_ssbgv.c lapacke_ssbgv_work.c \
+ lapacke_ssbgvd.c lapacke_ssbgvd_work.c \
+ lapacke_ssbgvx.c lapacke_ssbgvx_work.c \
+ lapacke_ssbtrd.c lapacke_ssbtrd_work.c \
+ lapacke_sspcon.c lapacke_sspcon_work.c \
+ lapacke_sspev.c lapacke_sspev_work.c \
+ lapacke_sspevd.c lapacke_sspevd_work.c \
+ lapacke_sspevx.c lapacke_sspevx_work.c \
+ lapacke_sspgst.c lapacke_sspgst_work.c \
+ lapacke_sspgv.c lapacke_sspgv_work.c \
+ lapacke_sspgvd.c lapacke_sspgvd_work.c \
+ lapacke_sspgvx.c lapacke_sspgvx_work.c \
+ lapacke_ssprfs.c lapacke_ssprfs_work.c \
+ lapacke_sspsv.c lapacke_sspsv_work.c \
+ lapacke_sspsvx.c lapacke_sspsvx_work.c \
+ lapacke_ssptrd.c lapacke_ssptrd_work.c \
+ lapacke_ssptrf.c lapacke_ssptrf_work.c \
+ lapacke_ssptri.c lapacke_ssptri_work.c \
+ lapacke_ssptrs.c lapacke_ssptrs_work.c \
+ lapacke_sstebz.c lapacke_sstebz_work.c \
+ lapacke_sstedc.c lapacke_sstedc_work.c \
+ lapacke_sstegr.c lapacke_sstegr_work.c \
+ lapacke_sstein.c lapacke_sstein_work.c \
+ lapacke_sstemr.c lapacke_sstemr_work.c \
+ lapacke_ssteqr.c lapacke_ssteqr_work.c \
+ lapacke_ssterf.c lapacke_ssterf_work.c \
+ lapacke_sstev.c lapacke_sstev_work.c \
+ lapacke_sstevd.c lapacke_sstevd_work.c \
+ lapacke_sstevr.c lapacke_sstevr_work.c \
+ lapacke_sstevx.c lapacke_sstevx_work.c \
+ lapacke_ssycon.c lapacke_ssycon_work.c \
+ lapacke_ssyev.c lapacke_ssyev_work.c \
+ lapacke_ssyevd.c lapacke_ssyevd_work.c \
+ lapacke_ssyevr.c lapacke_ssyevr_work.c \
+ lapacke_ssyevx.c lapacke_ssyevx_work.c \
+ lapacke_ssygst.c lapacke_ssygst_work.c \
+ lapacke_ssygv.c lapacke_ssygv_work.c \
+ lapacke_ssygvd.c lapacke_ssygvd_work.c \
+ lapacke_ssygvx.c lapacke_ssygvx_work.c \
+ lapacke_ssyrfs.c lapacke_ssyrfs_work.c \
+ lapacke_ssysv.c lapacke_ssysv_work.c \
+ lapacke_ssysvx.c lapacke_ssysvx_work.c \
+ lapacke_ssytrd.c lapacke_ssytrd_work.c \
+ lapacke_ssytrf.c lapacke_ssytrf_work.c \
+ lapacke_ssytri.c lapacke_ssytri_work.c \
+ lapacke_ssytrs.c lapacke_ssytrs_work.c \
+ lapacke_stbcon.c lapacke_stbcon_work.c \
+ lapacke_stbrfs.c lapacke_stbrfs_work.c \
+ lapacke_stbtrs.c lapacke_stbtrs_work.c \
+ lapacke_stgevc.c lapacke_stgevc_work.c \
+ lapacke_stgexc.c lapacke_stgexc_work.c \
+ lapacke_stgsen.c lapacke_stgsen_work.c \
+ lapacke_stgsja.c lapacke_stgsja_work.c \
+ lapacke_stgsna.c lapacke_stgsna_work.c \
+ lapacke_stgsyl.c lapacke_stgsyl_work.c \
+ lapacke_stpcon.c lapacke_stpcon_work.c \
+ lapacke_stprfs.c lapacke_stprfs_work.c \
+ lapacke_stptri.c lapacke_stptri_work.c \
+ lapacke_stptrs.c lapacke_stptrs_work.c \
+ lapacke_strcon.c lapacke_strcon_work.c \
+ lapacke_strevc.c lapacke_strevc_work.c \
+ lapacke_strexc.c lapacke_strexc_work.c \
+ lapacke_strrfs.c lapacke_strrfs_work.c \
+ lapacke_strsen.c lapacke_strsen_work.c \
+ lapacke_strsna.c lapacke_strsna_work.c \
+ lapacke_strsyl.c lapacke_strsyl_work.c \
+ lapacke_strtri.c lapacke_strtri_work.c \
+ lapacke_strtrs.c lapacke_strtrs_work.c \
+ lapacke_stzrzf.c lapacke_stzrzf_work.c \
+ lapacke_zbdsqr.c lapacke_zbdsqr_work.c \
+ lapacke_zcgesv.c lapacke_zcgesv_work.c \
+ lapacke_zgbbrd.c lapacke_zgbbrd_work.c \
+ lapacke_zgbcon.c lapacke_zgbcon_work.c \
+ lapacke_zgbequ.c lapacke_zgbequ_work.c \
+ lapacke_zgbrfs.c lapacke_zgbrfs_work.c \
+ lapacke_zgbsv.c lapacke_zgbsv_work.c \
+ lapacke_zgbsvx.c lapacke_zgbsvx_work.c \
+ lapacke_zgbtrf.c lapacke_zgbtrf_work.c \
+ lapacke_zgbtrs.c lapacke_zgbtrs_work.c \
+ lapacke_zgebak.c lapacke_zgebak_work.c \
+ lapacke_zgebal.c lapacke_zgebal_work.c \
+ lapacke_zgebrd.c lapacke_zgebrd_work.c \
+ lapacke_zgecon.c lapacke_zgecon_work.c \
+ lapacke_zgeequ.c lapacke_zgeequ_work.c \
+ lapacke_zgees.c lapacke_zgees_work.c \
+ lapacke_zgeesx.c lapacke_zgeesx_work.c \
+ lapacke_zgeev.c lapacke_zgeev_work.c \
+ lapacke_zgeevx.c lapacke_zgeevx_work.c \
+ lapacke_zgehrd.c lapacke_zgehrd_work.c \
+ lapacke_zgelqf.c lapacke_zgelqf_work.c \
+ lapacke_zgels.c lapacke_zgels_work.c \
+ lapacke_zgelsd.c lapacke_zgelsd_work.c \
+ lapacke_zgelss.c lapacke_zgelss_work.c \
+ lapacke_zgelsy.c lapacke_zgelsy_work.c \
+ lapacke_zgeqlf.c lapacke_zgeqlf_work.c \
+ lapacke_zgeqp3.c lapacke_zgeqp3_work.c \
+ lapacke_zgeqpf.c lapacke_zgeqpf_work.c \
+ lapacke_zgeqrf.c lapacke_zgeqrf_work.c \
+ lapacke_zgerfs.c lapacke_zgerfs_work.c \
+ lapacke_zgerqf.c lapacke_zgerqf_work.c \
+ lapacke_zgesdd.c lapacke_zgesdd_work.c \
+ lapacke_zgesv.c lapacke_zgesv_work.c \
+ lapacke_zgesvd.c lapacke_zgesvd_work.c \
+ lapacke_zgesvx.c lapacke_zgesvx_work.c \
+ lapacke_zgetrf.c lapacke_zgetrf_work.c \
+ lapacke_zgetri.c lapacke_zgetri_work.c \
+ lapacke_zgetrs.c lapacke_zgetrs_work.c \
+ lapacke_zggbak.c lapacke_zggbak_work.c \
+ lapacke_zggbal.c lapacke_zggbal_work.c \
+ lapacke_zgges.c lapacke_zgges_work.c \
+ lapacke_zggesx.c lapacke_zggesx_work.c \
+ lapacke_zggev.c lapacke_zggev_work.c \
+ lapacke_zggevx.c lapacke_zggevx_work.c \
+ lapacke_zggglm.c lapacke_zggglm_work.c \
+ lapacke_zgghrd.c lapacke_zgghrd_work.c \
+ lapacke_zgglse.c lapacke_zgglse_work.c \
+ lapacke_zggqrf.c lapacke_zggqrf_work.c \
+ lapacke_zggrqf.c lapacke_zggrqf_work.c \
+ lapacke_zggsvd.c lapacke_zggsvd_work.c \
+ lapacke_zggsvp.c lapacke_zggsvp_work.c \
+ lapacke_zgtcon.c lapacke_zgtcon_work.c \
+ lapacke_zgtrfs.c lapacke_zgtrfs_work.c \
+ lapacke_zgtsv.c lapacke_zgtsv_work.c \
+ lapacke_zgtsvx.c lapacke_zgtsvx_work.c \
+ lapacke_zgttrf.c lapacke_zgttrf_work.c \
+ lapacke_zgttrs.c lapacke_zgttrs_work.c \
+ lapacke_zhbev.c lapacke_zhbev_work.c \
+ lapacke_zhbevd.c lapacke_zhbevd_work.c \
+ lapacke_zhbevx.c lapacke_zhbevx_work.c \
+ lapacke_zhbgst.c lapacke_zhbgst_work.c \
+ lapacke_zhbgv.c lapacke_zhbgv_work.c \
+ lapacke_zhbgvd.c lapacke_zhbgvd_work.c \
+ lapacke_zhbgvx.c lapacke_zhbgvx_work.c \
+ lapacke_zhbtrd.c lapacke_zhbtrd_work.c \
+ lapacke_zhecon.c lapacke_zhecon_work.c \
+ lapacke_zheev.c lapacke_zheev_work.c \
+ lapacke_zheevd.c lapacke_zheevd_work.c \
+ lapacke_zheevr.c lapacke_zheevr_work.c \
+ lapacke_zheevx.c lapacke_zheevx_work.c \
+ lapacke_zhegst.c lapacke_zhegst_work.c \
+ lapacke_zhegv.c lapacke_zhegv_work.c \
+ lapacke_zhegvd.c lapacke_zhegvd_work.c \
+ lapacke_zhegvx.c lapacke_zhegvx_work.c \
+ lapacke_zherfs.c lapacke_zherfs_work.c \
+ lapacke_zhesv.c lapacke_zhesv_work.c \
+ lapacke_zhesvx.c lapacke_zhesvx_work.c \
+ lapacke_zhetrd.c lapacke_zhetrd_work.c \
+ lapacke_zhetrf.c lapacke_zhetrf_work.c \
+ lapacke_zhetri.c lapacke_zhetri_work.c \
+ lapacke_zhetrs.c lapacke_zhetrs_work.c \
+ lapacke_zhgeqz.c lapacke_zhgeqz_work.c \
+ lapacke_zhpcon.c lapacke_zhpcon_work.c \
+ lapacke_zhpev.c lapacke_zhpev_work.c \
+ lapacke_zhpevd.c lapacke_zhpevd_work.c \
+ lapacke_zhpevx.c lapacke_zhpevx_work.c \
+ lapacke_zhpgst.c lapacke_zhpgst_work.c \
+ lapacke_zhpgv.c lapacke_zhpgv_work.c \
+ lapacke_zhpgvd.c lapacke_zhpgvd_work.c \
+ lapacke_zhpgvx.c lapacke_zhpgvx_work.c \
+ lapacke_zhprfs.c lapacke_zhprfs_work.c \
+ lapacke_zhpsv.c lapacke_zhpsv_work.c \
+ lapacke_zhpsvx.c lapacke_zhpsvx_work.c \
+ lapacke_zhptrd.c lapacke_zhptrd_work.c \
+ lapacke_zhptrf.c lapacke_zhptrf_work.c \
+ lapacke_zhptri.c lapacke_zhptri_work.c \
+ lapacke_zhptrs.c lapacke_zhptrs_work.c \
+ lapacke_zhsein.c lapacke_zhsein_work.c \
+ lapacke_zhseqr.c lapacke_zhseqr_work.c \
+ lapacke_zpbcon.c lapacke_zpbcon_work.c \
+ lapacke_zpbequ.c lapacke_zpbequ_work.c \
+ lapacke_zpbrfs.c lapacke_zpbrfs_work.c \
+ lapacke_zpbstf.c lapacke_zpbstf_work.c \
+ lapacke_zpbsv.c lapacke_zpbsv_work.c \
+ lapacke_zpbsvx.c lapacke_zpbsvx_work.c \
+ lapacke_zpbtrf.c lapacke_zpbtrf_work.c \
+ lapacke_zpbtrs.c lapacke_zpbtrs_work.c \
+ lapacke_zpocon.c lapacke_zpocon_work.c \
+ lapacke_zpoequ.c lapacke_zpoequ_work.c \
+ lapacke_zporfs.c lapacke_zporfs_work.c \
+ lapacke_zposv.c lapacke_zposv_work.c \
+ lapacke_zposvx.c lapacke_zposvx_work.c \
+ lapacke_zpotrf.c lapacke_zpotrf_work.c \
+ lapacke_zpotri.c lapacke_zpotri_work.c \
+ lapacke_zpotrs.c lapacke_zpotrs_work.c \
+ lapacke_zppcon.c lapacke_zppcon_work.c \
+ lapacke_zppequ.c lapacke_zppequ_work.c \
+ lapacke_zpprfs.c lapacke_zpprfs_work.c \
+ lapacke_zppsv.c lapacke_zppsv_work.c \
+ lapacke_zppsvx.c lapacke_zppsvx_work.c \
+ lapacke_zpptrf.c lapacke_zpptrf_work.c \
+ lapacke_zpptri.c lapacke_zpptri_work.c \
+ lapacke_zpptrs.c lapacke_zpptrs_work.c \
+ lapacke_zptcon.c lapacke_zptcon_work.c \
+ lapacke_zpteqr.c lapacke_zpteqr_work.c \
+ lapacke_zptrfs.c lapacke_zptrfs_work.c \
+ lapacke_zptsv.c lapacke_zptsv_work.c \
+ lapacke_zptsvx.c lapacke_zptsvx_work.c \
+ lapacke_zpttrf.c lapacke_zpttrf_work.c \
+ lapacke_zpttrs.c lapacke_zpttrs_work.c \
+ lapacke_zspcon.c lapacke_zspcon_work.c \
+ lapacke_zsprfs.c lapacke_zsprfs_work.c \
+ lapacke_zspsv.c lapacke_zspsv_work.c \
+ lapacke_zspsvx.c lapacke_zspsvx_work.c \
+ lapacke_zsptrf.c lapacke_zsptrf_work.c \
+ lapacke_zsptri.c lapacke_zsptri_work.c \
+ lapacke_zsptrs.c lapacke_zsptrs_work.c \
+ lapacke_zstedc.c lapacke_zstedc_work.c \
+ lapacke_zstegr.c lapacke_zstegr_work.c \
+ lapacke_zstein.c lapacke_zstein_work.c \
+ lapacke_zstemr.c lapacke_zstemr_work.c \
+ lapacke_zsteqr.c lapacke_zsteqr_work.c \
+ lapacke_zsycon.c lapacke_zsycon_work.c \
+ lapacke_zsyrfs.c lapacke_zsyrfs_work.c \
+ lapacke_zsysv.c lapacke_zsysv_work.c \
+ lapacke_zsysvx.c lapacke_zsysvx_work.c \
+ lapacke_zsytrf.c lapacke_zsytrf_work.c \
+ lapacke_zsytri.c lapacke_zsytri_work.c \
+ lapacke_zsytrs.c lapacke_zsytrs_work.c \
+ lapacke_ztbcon.c lapacke_ztbcon_work.c \
+ lapacke_ztbrfs.c lapacke_ztbrfs_work.c \
+ lapacke_ztbtrs.c lapacke_ztbtrs_work.c \
+ lapacke_ztgevc.c lapacke_ztgevc_work.c \
+ lapacke_ztgexc.c lapacke_ztgexc_work.c \
+ lapacke_ztgsen.c lapacke_ztgsen_work.c \
+ lapacke_ztgsja.c lapacke_ztgsja_work.c \
+ lapacke_ztgsna.c lapacke_ztgsna_work.c \
+ lapacke_ztgsyl.c lapacke_ztgsyl_work.c \
+ lapacke_ztpcon.c lapacke_ztpcon_work.c \
+ lapacke_ztprfs.c lapacke_ztprfs_work.c \
+ lapacke_ztptri.c lapacke_ztptri_work.c \
+ lapacke_ztptrs.c lapacke_ztptrs_work.c \
+ lapacke_ztrcon.c lapacke_ztrcon_work.c \
+ lapacke_ztrevc.c lapacke_ztrevc_work.c \
+ lapacke_ztrexc.c lapacke_ztrexc_work.c \
+ lapacke_ztrrfs.c lapacke_ztrrfs_work.c \
+ lapacke_ztrsen.c lapacke_ztrsen_work.c \
+ lapacke_ztrsna.c lapacke_ztrsna_work.c \
+ lapacke_ztrsyl.c lapacke_ztrsyl_work.c \
+ lapacke_ztrtri.c lapacke_ztrtri_work.c \
+ lapacke_ztrtrs.c lapacke_ztrtrs_work.c \
+ lapacke_ztzrzf.c lapacke_ztzrzf_work.c \
+ lapacke_zungbr.c lapacke_zungbr_work.c \
+ lapacke_zunghr.c lapacke_zunghr_work.c \
+ lapacke_zunglq.c lapacke_zunglq_work.c \
+ lapacke_zungql.c lapacke_zungql_work.c \
+ lapacke_zungqr.c lapacke_zungqr_work.c \
+ lapacke_zungrq.c lapacke_zungrq_work.c \
+ lapacke_zungtr.c lapacke_zungtr_work.c \
+ lapacke_zunmbr.c lapacke_zunmbr_work.c \
+ lapacke_zunmhr.c lapacke_zunmhr_work.c \
+ lapacke_zunmlq.c lapacke_zunmlq_work.c \
+ lapacke_zunmql.c lapacke_zunmql_work.c \
+ lapacke_zunmqr.c lapacke_zunmqr_work.c \
+ lapacke_zunmrq.c lapacke_zunmrq_work.c \
+ lapacke_zunmrz.c lapacke_zunmrz_work.c \
+ lapacke_zunmtr.c lapacke_zunmtr_work.c \
+ lapacke_zupgtr.c lapacke_zupgtr_work.c \
+ lapacke_zupmtr.c lapacke_zupmtr_work.c
+
+LAPACKE_LATEST_SRCS=\
+ lapacke_cgbequb.c lapacke_cgbequb_work.c \
+ lapacke_cgeequb.c lapacke_cgeequb_work.c \
+ lapacke_cgeqrfp.c lapacke_cgeqrfp_work.c \
+ lapacke_cheequb.c lapacke_cheequb_work.c \
+ lapacke_chfrk.c lapacke_chfrk_work.c \
+ lapacke_cpftrf.c lapacke_cpftrf_work.c \
+ lapacke_cpftri.c lapacke_cpftri_work.c \
+ lapacke_cpftrs.c lapacke_cpftrs_work.c \
+ lapacke_cpoequb.c lapacke_cpoequb_work.c \
+ lapacke_cpstrf.c lapacke_cpstrf_work.c \
+ lapacke_csyequb.c lapacke_csyequb_work.c \
+ lapacke_ctfsm.c lapacke_ctfsm_work.c \
+ lapacke_ctftri.c lapacke_ctftri_work.c \
+ lapacke_ctfttp.c lapacke_ctfttp_work.c \
+ lapacke_ctfttr.c lapacke_ctfttr_work.c \
+ lapacke_ctpttf.c lapacke_ctpttf_work.c \
+ lapacke_ctpttr.c lapacke_ctpttr_work.c \
+ lapacke_ctrttf.c lapacke_ctrttf_work.c \
+ lapacke_ctrttp.c lapacke_ctrttp_work.c \
+ lapacke_dgbequb.c lapacke_dgbequb_work.c \
+ lapacke_dgeequb.c lapacke_dgeequb_work.c \
+ lapacke_dgejsv.c lapacke_dgejsv_work.c \
+ lapacke_dgeqrfp.c lapacke_dgeqrfp_work.c \
+ lapacke_dgesvj.c lapacke_dgesvj_work.c \
+ lapacke_dpftrf.c lapacke_dpftrf_work.c \
+ lapacke_dpftri.c lapacke_dpftri_work.c \
+ lapacke_dpftrs.c lapacke_dpftrs_work.c \
+ lapacke_dpoequb.c lapacke_dpoequb_work.c \
+ lapacke_dpstrf.c lapacke_dpstrf_work.c \
+ lapacke_dsfrk.c lapacke_dsfrk_work.c \
+ lapacke_dsposv.c lapacke_dsposv_work.c \
+ lapacke_dsyequb.c lapacke_dsyequb_work.c \
+ lapacke_dtfsm.c lapacke_dtfsm_work.c \
+ lapacke_dtftri.c lapacke_dtftri_work.c \
+ lapacke_dtfttp.c lapacke_dtfttp_work.c \
+ lapacke_dtfttr.c lapacke_dtfttr_work.c \
+ lapacke_dtpttf.c lapacke_dtpttf_work.c \
+ lapacke_dtpttr.c lapacke_dtpttr_work.c \
+ lapacke_dtrttf.c lapacke_dtrttf_work.c \
+ lapacke_dtrttp.c lapacke_dtrttp_work.c \
+ lapacke_sgbequb.c lapacke_sgbequb_work.c \
+ lapacke_sgeequb.c lapacke_sgeequb_work.c \
+ lapacke_sgejsv.c lapacke_sgejsv_work.c \
+ lapacke_sgeqrfp.c lapacke_sgeqrfp_work.c \
+ lapacke_sgesvj.c lapacke_sgesvj_work.c \
+ lapacke_spftrf.c lapacke_spftrf_work.c \
+ lapacke_spftri.c lapacke_spftri_work.c \
+ lapacke_spftrs.c lapacke_spftrs_work.c \
+ lapacke_spoequb.c lapacke_spoequb_work.c \
+ lapacke_spstrf.c lapacke_spstrf_work.c \
+ lapacke_ssfrk.c lapacke_ssfrk_work.c \
+ lapacke_ssyequb.c lapacke_ssyequb_work.c \
+ lapacke_stfsm.c lapacke_stfsm_work.c \
+ lapacke_stftri.c lapacke_stftri_work.c \
+ lapacke_stfttp.c lapacke_stfttp_work.c \
+ lapacke_stfttr.c lapacke_stfttr_work.c \
+ lapacke_stpttf.c lapacke_stpttf_work.c \
+ lapacke_stpttr.c lapacke_stpttr_work.c \
+ lapacke_strttf.c lapacke_strttf_work.c \
+ lapacke_strttp.c lapacke_strttp_work.c \
+ lapacke_zcposv.c lapacke_zcposv_work.c \
+ lapacke_zgbequb.c lapacke_zgbequb_work.c \
+ lapacke_zgeequb.c lapacke_zgeequb_work.c \
+ lapacke_zgeqrfp.c lapacke_zgeqrfp_work.c \
+ lapacke_zheequb.c lapacke_zheequb_work.c \
+ lapacke_zhfrk.c lapacke_zhfrk_work.c \
+ lapacke_zpftrf.c lapacke_zpftrf_work.c \
+ lapacke_zpftri.c lapacke_zpftri_work.c \
+ lapacke_zpftrs.c lapacke_zpftrs_work.c \
+ lapacke_zpoequb.c lapacke_zpoequb_work.c \
+ lapacke_zpstrf.c lapacke_zpstrf_work.c \
+ lapacke_zsyequb.c lapacke_zsyequb_work.c \
+ lapacke_ztfsm.c lapacke_ztfsm_work.c \
+ lapacke_ztftri.c lapacke_ztftri_work.c \
+ lapacke_ztfttp.c lapacke_ztfttp_work.c \
+ lapacke_ztfttr.c lapacke_ztfttr_work.c \
+ lapacke_ztpttf.c lapacke_ztpttf_work.c \
+ lapacke_ztpttr.c lapacke_ztpttr_work.c \
+ lapacke_ztrttf.c lapacke_ztrttf_work.c \
+ lapacke_ztrttp.c lapacke_ztrttp_work.c
+
+UTILS_SRCS=\
+ lapacke_c_nancheck.c \
+ lapacke_cgb_nancheck.c lapacke_cgb_trans.c \
+ lapacke_cge_nancheck.c lapacke_cge_trans.c \
+ lapacke_cgg_nancheck.c lapacke_cgg_trans.c \
+ lapacke_cgt_nancheck.c lapacke_chb_nancheck.c \
+ lapacke_chb_trans.c \
+ lapacke_che_nancheck.c lapacke_che_trans.c \
+ lapacke_chp_nancheck.c lapacke_chp_trans.c \
+ lapacke_chs_nancheck.c lapacke_chs_trans.c \
+ lapacke_cpb_nancheck.c lapacke_cpb_trans.c \
+ lapacke_cpf_nancheck.c lapacke_cpf_trans.c \
+ lapacke_cpo_nancheck.c lapacke_cpo_trans.c \
+ lapacke_cpp_nancheck.c lapacke_cpp_trans.c \
+ lapacke_cpt_nancheck.c lapacke_csp_nancheck.c \
+ lapacke_csp_trans.c \
+ lapacke_cst_nancheck.c lapacke_csy_nancheck.c \
+ lapacke_csy_trans.c \
+ lapacke_ctb_nancheck.c lapacke_ctb_trans.c \
+ lapacke_ctf_nancheck.c lapacke_ctf_trans.c \
+ lapacke_ctp_nancheck.c lapacke_ctp_trans.c \
+ lapacke_ctr_nancheck.c lapacke_ctr_trans.c \
+ lapacke_d_nancheck.c lapacke_dgb_nancheck.c \
+ lapacke_dgb_trans.c \
+ lapacke_dge_nancheck.c lapacke_dge_trans.c \
+ lapacke_dgg_nancheck.c lapacke_dgg_trans.c \
+ lapacke_dgt_nancheck.c lapacke_dhs_nancheck.c \
+ lapacke_dhs_trans.c \
+ lapacke_dpb_nancheck.c lapacke_dpb_trans.c \
+ lapacke_dpf_nancheck.c lapacke_dpf_trans.c \
+ lapacke_dpo_nancheck.c lapacke_dpo_trans.c \
+ lapacke_dpp_nancheck.c lapacke_dpp_trans.c \
+ lapacke_dpt_nancheck.c lapacke_dsb_nancheck.c \
+ lapacke_dsb_trans.c \
+ lapacke_dsp_nancheck.c lapacke_dsp_trans.c \
+ lapacke_dst_nancheck.c lapacke_dsy_nancheck.c \
+ lapacke_dsy_trans.c \
+ lapacke_dtb_nancheck.c lapacke_dtb_trans.c \
+ lapacke_dtf_nancheck.c lapacke_dtf_trans.c \
+ lapacke_dtp_nancheck.c lapacke_dtp_trans.c \
+ lapacke_dtr_nancheck.c lapacke_dtr_trans.c \
+ lapacke_lsame.c \
+ lapacke_make_complex_double.c \
+ lapacke_make_complex_float.c \
+ lapacke_s_nancheck.c lapacke_sgb_nancheck.c \
+ lapacke_sgb_trans.c \
+ lapacke_sge_nancheck.c lapacke_sge_trans.c \
+ lapacke_sgg_nancheck.c lapacke_sgg_trans.c \
+ lapacke_sgt_nancheck.c lapacke_shs_nancheck.c \
+ lapacke_shs_trans.c \
+ lapacke_spb_nancheck.c lapacke_spb_trans.c \
+ lapacke_spf_nancheck.c lapacke_spf_trans.c \
+ lapacke_spo_nancheck.c lapacke_spo_trans.c \
+ lapacke_spp_nancheck.c lapacke_spp_trans.c \
+ lapacke_spt_nancheck.c lapacke_ssb_nancheck.c \
+ lapacke_ssb_trans.c \
+ lapacke_ssp_nancheck.c lapacke_ssp_trans.c \
+ lapacke_sst_nancheck.c lapacke_ssy_nancheck.c \
+ lapacke_ssy_trans.c \
+ lapacke_stb_nancheck.c lapacke_stb_trans.c \
+ lapacke_stf_nancheck.c lapacke_stf_trans.c \
+ lapacke_stp_nancheck.c lapacke_stp_trans.c \
+ lapacke_str_nancheck.c lapacke_str_trans.c \
+ lapacke_xerbla.c \
+ lapacke_z_nancheck.c lapacke_zgb_nancheck.c \
+ lapacke_zgb_trans.c \
+ lapacke_zge_nancheck.c lapacke_zge_trans.c \
+ lapacke_zgg_nancheck.c lapacke_zgg_trans.c \
+ lapacke_zgt_nancheck.c lapacke_zhb_nancheck.c \
+ lapacke_zhb_trans.c \
+ lapacke_zhe_nancheck.c lapacke_zhe_trans.c \
+ lapacke_zhp_nancheck.c lapacke_zhp_trans.c \
+ lapacke_zhs_nancheck.c lapacke_zhs_trans.c \
+ lapacke_zpb_nancheck.c lapacke_zpb_trans.c \
+ lapacke_zpf_nancheck.c lapacke_zpf_trans.c \
+ lapacke_zpo_nancheck.c lapacke_zpo_trans.c \
+ lapacke_zpp_nancheck.c lapacke_zpp_trans.c \
+ lapacke_zpt_nancheck.c lapacke_zsp_nancheck.c \
+ lapacke_zsp_trans.c \
+ lapacke_zst_nancheck.c lapacke_zsy_nancheck.c \
+ lapacke_zsy_trans.c \
+ lapacke_ztb_nancheck.c lapacke_ztb_trans.c \
+ lapacke_ztf_nancheck.c lapacke_ztf_trans.c \
+ lapacke_ztp_nancheck.c lapacke_ztp_trans.c \
+ lapacke_ztr_nancheck.c lapacke_ztr_trans.c
+
+beforeinstall:
+ ${BSD_INSTALL_DATA} ${.CURDIR}/../include/lapacke.h ${PREFIX}/include
+ ${BSD_INSTALL_DATA} ${.CURDIR}/../include/lapacke_utils.h ${PREFIX}/include
+
+.include <bsd.lib.mk>
diff --git a/math/lapacke/files/patch-include+lapacke.h b/math/lapacke/files/patch-include+lapacke.h
new file mode 100644
index 000000000000..9c37f0029534
--- /dev/null
+++ b/math/lapacke/files/patch-include+lapacke.h
@@ -0,0 +1,20 @@
+--- include/lapacke.h.orig 2010-12-03 20:56:19.000000000 +0900
++++ include/lapacke.h 2010-12-03 20:56:59.000000000 +0900
+@@ -84,7 +84,7 @@
+ #endif
+
+ #ifndef lapack_complex_float_imag
+-#define lapack_complex_float_imag(z) (imag(z))
++#define lapack_complex_float_imag(z) (cimag(z))
+ #endif
+
+ lapack_complex_float lapack_make_complex_float( float re, float im );
+@@ -100,7 +100,7 @@
+ #endif
+
+ #ifndef lapack_complex_double_imag
+-#define lapack_complex_double_imag(z) (imag(z))
++#define lapack_complex_double_imag(z) (cimag(z))
+ #endif
+
+ lapack_complex_double lapack_make_complex_double( double re, double im );
diff --git a/math/lapacke/files/patch-make.inc b/math/lapacke/files/patch-make.inc
new file mode 100644
index 000000000000..3dc94d1aed69
--- /dev/null
+++ b/math/lapacke/files/patch-make.inc
@@ -0,0 +1,31 @@
+--- make.inc.orig 2010-10-01 17:17:25.000000000 +0900
++++ make.inc 2010-12-06 20:00:25.000000000 +0900
+@@ -47,20 +47,20 @@
+ # LDFLAGS = -nofor-main
+ # - gfortran, set: LINKER = gfortran
+ #
+-CC = icc
+-CFLAGS = -O3
++CC = %%CC%%
++CFLAGS = %%CFLAGS%%
+ LINKER = $(CC)
+-LDFLAGS =
++LDFLAGS = %%LDFLAGS%%
+ #
+ # The name of the libraries to be created/linked to
+ # Ensure that the libraries have the same data model (LP64/ILP64).
+ #
+-LAPACKE = lapacke.a
+-LIBS = ../../../lapack-3.2.1/lapack.a ../../../lapack-3.2.1/blas.a -lm
++LAPACKE = ./lib/liblapacke.a
++LIBS = %%BLAS%% %%LAPACK%%
+ #
+ # The archiver and the flag(s) to use when building archive (library)
+ # If your system has no ranlib, set RANLIB = echo.
+ #
+-ARCH = ar
+-ARCHFLAGS = cr
+-RANLIB = ranlib
++ARCH_ = %%AR%%
++ARCH_FLAGS = cr
++RANLIB = %%RANLIB%%
diff --git a/math/lapacke/files/patch-src+Makefile b/math/lapacke/files/patch-src+Makefile
new file mode 100644
index 000000000000..36adeaa17205
--- /dev/null
+++ b/math/lapacke/files/patch-src+Makefile
@@ -0,0 +1,293 @@
+--- src/Makefile.orig 2010-12-02 20:32:39.000000000 +0900
++++ src/Makefile 2010-12-02 20:35:40.000000000 +0900
+@@ -46,14 +46,10 @@
+ lapacke_cgbequ_work.o \
+ lapacke_cgbrfs.o \
+ lapacke_cgbrfs_work.o \
+- lapacke_cgbrfsx.o \
+- lapacke_cgbrfsx_work.o \
+ lapacke_cgbsv.o \
+ lapacke_cgbsv_work.o \
+ lapacke_cgbsvx.o \
+ lapacke_cgbsvx_work.o \
+- lapacke_cgbsvxx.o \
+- lapacke_cgbsvxx_work.o \
+ lapacke_cgbtrf.o \
+ lapacke_cgbtrf_work.o \
+ lapacke_cgbtrs.o \
+@@ -100,8 +96,6 @@
+ lapacke_cgeqrf_work.o \
+ lapacke_cgerfs.o \
+ lapacke_cgerfs_work.o \
+- lapacke_cgerfsx.o \
+- lapacke_cgerfsx_work.o \
+ lapacke_cgerqf.o \
+ lapacke_cgerqf_work.o \
+ lapacke_cgesdd.o \
+@@ -112,8 +106,6 @@
+ lapacke_cgesv_work.o \
+ lapacke_cgesvx.o \
+ lapacke_cgesvx_work.o \
+- lapacke_cgesvxx.o \
+- lapacke_cgesvxx_work.o \
+ lapacke_cgetrf.o \
+ lapacke_cgetrf_work.o \
+ lapacke_cgetri.o \
+@@ -196,14 +188,10 @@
+ lapacke_chegvx_work.o \
+ lapacke_cherfs.o \
+ lapacke_cherfs_work.o \
+- lapacke_cherfsx.o \
+- lapacke_cherfsx_work.o \
+ lapacke_chesv.o \
+ lapacke_chesv_work.o \
+ lapacke_chesvx.o \
+ lapacke_chesvx_work.o \
+- lapacke_chesvxx.o \
+- lapacke_chesvxx_work.o \
+ lapacke_chetrd.o \
+ lapacke_chetrd_work.o \
+ lapacke_chetrf.o \
+@@ -280,14 +268,10 @@
+ lapacke_cpoequ_work.o \
+ lapacke_cporfs.o \
+ lapacke_cporfs_work.o \
+- lapacke_cporfsx.o \
+- lapacke_cporfsx_work.o \
+ lapacke_cposv.o \
+ lapacke_cposv_work.o \
+ lapacke_cposvx.o \
+ lapacke_cposvx_work.o \
+- lapacke_cposvxx.o \
+- lapacke_cposvxx_work.o \
+ lapacke_cpotrf.o \
+ lapacke_cpotrf_work.o \
+ lapacke_cpotri.o \
+@@ -356,14 +340,10 @@
+ lapacke_csyequb_work.o \
+ lapacke_csyrfs.o \
+ lapacke_csyrfs_work.o \
+- lapacke_csyrfsx.o \
+- lapacke_csyrfsx_work.o \
+ lapacke_csysv.o \
+ lapacke_csysv_work.o \
+ lapacke_csysvx.o \
+ lapacke_csysvx_work.o \
+- lapacke_csysvxx.o \
+- lapacke_csysvxx_work.o \
+ lapacke_csytrf.o \
+ lapacke_csytrf_work.o \
+ lapacke_csytri.o \
+@@ -482,14 +462,10 @@
+ lapacke_dgbequ_work.o \
+ lapacke_dgbrfs.o \
+ lapacke_dgbrfs_work.o \
+- lapacke_dgbrfsx.o \
+- lapacke_dgbrfsx_work.o \
+ lapacke_dgbsv.o \
+ lapacke_dgbsv_work.o \
+ lapacke_dgbsvx.o \
+ lapacke_dgbsvx_work.o \
+- lapacke_dgbsvxx.o \
+- lapacke_dgbsvxx_work.o \
+ lapacke_dgbtrf.o \
+ lapacke_dgbtrf_work.o \
+ lapacke_dgbtrs.o \
+@@ -538,8 +514,6 @@
+ lapacke_dgeqrf_work.o \
+ lapacke_dgerfs.o \
+ lapacke_dgerfs_work.o \
+- lapacke_dgerfsx.o \
+- lapacke_dgerfsx_work.o \
+ lapacke_dgerqf.o \
+ lapacke_dgerqf_work.o \
+ lapacke_dgesdd.o \
+@@ -552,8 +526,6 @@
+ lapacke_dgesv_work.o \
+ lapacke_dgesvx.o \
+ lapacke_dgesvx_work.o \
+- lapacke_dgesvxx.o \
+- lapacke_dgesvxx_work.o \
+ lapacke_dgetrf.o \
+ lapacke_dgetrf_work.o \
+ lapacke_dgetri.o \
+@@ -668,14 +640,10 @@
+ lapacke_dpoequ_work.o \
+ lapacke_dporfs.o \
+ lapacke_dporfs_work.o \
+- lapacke_dporfsx.o \
+- lapacke_dporfsx_work.o \
+ lapacke_dposv.o \
+ lapacke_dposv_work.o \
+ lapacke_dposvx.o \
+ lapacke_dposvx_work.o \
+- lapacke_dposvxx.o \
+- lapacke_dposvxx_work.o \
+ lapacke_dpotrf.o \
+ lapacke_dpotrf_work.o \
+ lapacke_dpotri.o \
+@@ -810,14 +778,10 @@
+ lapacke_dsygvx_work.o \
+ lapacke_dsyrfs.o \
+ lapacke_dsyrfs_work.o \
+- lapacke_dsyrfsx.o \
+- lapacke_dsyrfsx_work.o \
+ lapacke_dsysv.o \
+ lapacke_dsysv_work.o \
+ lapacke_dsysvx.o \
+ lapacke_dsysvx_work.o \
+- lapacke_dsysvxx.o \
+- lapacke_dsysvxx_work.o \
+ lapacke_dsytrd.o \
+ lapacke_dsytrd_work.o \
+ lapacke_dsytrf.o \
+@@ -904,14 +868,10 @@
+ lapacke_sgbequ_work.o \
+ lapacke_sgbrfs.o \
+ lapacke_sgbrfs_work.o \
+- lapacke_sgbrfsx.o \
+- lapacke_sgbrfsx_work.o \
+ lapacke_sgbsv.o \
+ lapacke_sgbsv_work.o \
+ lapacke_sgbsvx.o \
+ lapacke_sgbsvx_work.o \
+- lapacke_sgbsvxx.o \
+- lapacke_sgbsvxx_work.o \
+ lapacke_sgbtrf.o \
+ lapacke_sgbtrf_work.o \
+ lapacke_sgbtrs.o \
+@@ -960,8 +920,6 @@
+ lapacke_sgeqrf_work.o \
+ lapacke_sgerfs.o \
+ lapacke_sgerfs_work.o \
+- lapacke_sgerfsx.o \
+- lapacke_sgerfsx_work.o \
+ lapacke_sgerqf.o \
+ lapacke_sgerqf_work.o \
+ lapacke_sgesdd.o \
+@@ -974,8 +932,6 @@
+ lapacke_sgesv_work.o \
+ lapacke_sgesvx.o \
+ lapacke_sgesvx_work.o \
+- lapacke_sgesvxx.o \
+- lapacke_sgesvxx_work.o \
+ lapacke_sgetrf.o \
+ lapacke_sgetrf_work.o \
+ lapacke_sgetri.o \
+@@ -1090,14 +1046,10 @@
+ lapacke_spoequ_work.o \
+ lapacke_sporfs.o \
+ lapacke_sporfs_work.o \
+- lapacke_sporfsx.o \
+- lapacke_sporfsx_work.o \
+ lapacke_sposv.o \
+ lapacke_sposv_work.o \
+ lapacke_sposvx.o \
+ lapacke_sposvx_work.o \
+- lapacke_sposvxx.o \
+- lapacke_sposvxx_work.o \
+ lapacke_spotrf.o \
+ lapacke_spotrf_work.o \
+ lapacke_spotri.o \
+@@ -1228,14 +1180,10 @@
+ lapacke_ssygvx_work.o \
+ lapacke_ssyrfs.o \
+ lapacke_ssyrfs_work.o \
+- lapacke_ssyrfsx.o \
+- lapacke_ssyrfsx_work.o \
+ lapacke_ssysv.o \
+ lapacke_ssysv_work.o \
+ lapacke_ssysvx.o \
+ lapacke_ssysvx_work.o \
+- lapacke_ssysvxx.o \
+- lapacke_ssysvxx_work.o \
+ lapacke_ssytrd.o \
+ lapacke_ssytrd_work.o \
+ lapacke_ssytrf.o \
+@@ -1322,14 +1270,10 @@
+ lapacke_zgbequ_work.o \
+ lapacke_zgbrfs.o \
+ lapacke_zgbrfs_work.o \
+- lapacke_zgbrfsx.o \
+- lapacke_zgbrfsx_work.o \
+ lapacke_zgbsv.o \
+ lapacke_zgbsv_work.o \
+ lapacke_zgbsvx.o \
+ lapacke_zgbsvx_work.o \
+- lapacke_zgbsvxx.o \
+- lapacke_zgbsvxx_work.o \
+ lapacke_zgbtrf.o \
+ lapacke_zgbtrf_work.o \
+ lapacke_zgbtrs.o \
+@@ -1376,8 +1320,6 @@
+ lapacke_zgeqrf_work.o \
+ lapacke_zgerfs.o \
+ lapacke_zgerfs_work.o \
+- lapacke_zgerfsx.o \
+- lapacke_zgerfsx_work.o \
+ lapacke_zgerqf.o \
+ lapacke_zgerqf_work.o \
+ lapacke_zgesdd.o \
+@@ -1388,8 +1330,6 @@
+ lapacke_zgesv_work.o \
+ lapacke_zgesvx.o \
+ lapacke_zgesvx_work.o \
+- lapacke_zgesvxx.o \
+- lapacke_zgesvxx_work.o \
+ lapacke_zgetrf.o \
+ lapacke_zgetrf_work.o \
+ lapacke_zgetri.o \
+@@ -1472,14 +1412,10 @@
+ lapacke_zhegvx_work.o \
+ lapacke_zherfs.o \
+ lapacke_zherfs_work.o \
+- lapacke_zherfsx.o \
+- lapacke_zherfsx_work.o \
+ lapacke_zhesv.o \
+ lapacke_zhesv_work.o \
+ lapacke_zhesvx.o \
+ lapacke_zhesvx_work.o \
+- lapacke_zhesvxx.o \
+- lapacke_zhesvxx_work.o \
+ lapacke_zhetrd.o \
+ lapacke_zhetrd_work.o \
+ lapacke_zhetrf.o \
+@@ -1556,14 +1492,10 @@
+ lapacke_zpoequ_work.o \
+ lapacke_zporfs.o \
+ lapacke_zporfs_work.o \
+- lapacke_zporfsx.o \
+- lapacke_zporfsx_work.o \
+ lapacke_zposv.o \
+ lapacke_zposv_work.o \
+ lapacke_zposvx.o \
+ lapacke_zposvx_work.o \
+- lapacke_zposvxx.o \
+- lapacke_zposvxx_work.o \
+ lapacke_zpotrf.o \
+ lapacke_zpotrf_work.o \
+ lapacke_zpotri.o \
+@@ -1632,14 +1564,10 @@
+ lapacke_zsyequb_work.o \
+ lapacke_zsyrfs.o \
+ lapacke_zsyrfs_work.o \
+- lapacke_zsyrfsx.o \
+- lapacke_zsyrfsx_work.o \
+ lapacke_zsysv.o \
+ lapacke_zsysv_work.o \
+ lapacke_zsysvx.o \
+ lapacke_zsysvx_work.o \
+- lapacke_zsysvxx.o \
+- lapacke_zsysvxx_work.o \
+ lapacke_zsytrf.o \
+ lapacke_zsytrf_work.o \
+ lapacke_zsytri.o \
+@@ -1746,7 +1674,7 @@
+ all: lib
+
+ lib: $(OBJ)
+- $(ARCH) $(ARCHFLAGS) ../$(LAPACKE) $(OBJ)
++ $(ARCH_) $(ARCH_FLAGS) ../$(LAPACKE) $(OBJ)
+ $(RANLIB) ../$(LAPACKE)
+
+ .c.o:
diff --git a/math/lapacke/files/patch-testing+interface+Makefile b/math/lapacke/files/patch-testing+interface+Makefile
new file mode 100644
index 000000000000..a5ce372bba59
--- /dev/null
+++ b/math/lapacke/files/patch-testing+interface+Makefile
@@ -0,0 +1,34 @@
+--- testing/interface/Makefile.orig 2010-12-06 20:30:08.000000000 +0900
++++ testing/interface/Makefile 2010-12-06 20:38:46.000000000 +0900
+@@ -497,9 +497,9 @@
+ zupgtr_1 \
+ zupmtr_1
+
+-OBJ = $(TST:%=%.o)
+-EXE = $(TST:%=x%)
+-OUT = $(TST:%=%.out)
++OBJ = ${TST:N*.h:R:S/$/.o/}
++EXE = ${TST}
++OUT = ${TST:N*.h:R:S/$/.out/}
+
+ AUX = ../utils/compare_complex_doubles.o \
+ ../utils/compare_complex_floats.o \
+@@ -510,14 +510,10 @@
+
+ tst: $(OUT)
+
+-%.out : x%
+- ./$< > $@
+-
+-x% : %.o
+- $(LINKER) $(LDFLAGS) $< -o $@ $(AUX) ../../$(LAPACKE) $(LIBS)
+-
+-%.o : %.c
+- $(CC) -c $(CFLAGS) -I ../include -I ../../include -o $@ $<
++.c.out :
++ $(CC) -c $(CFLAGS) -I ../include -I ../../include $<
++ $(LINKER) $(LDFLAGS) $*.o -o $* $(AUX) ../../$(LAPACKE) $(LIBS)
++ ./$* > $@
+
+ clean:
+ rm -f $(EXE) $(OBJ)
diff --git a/math/lapacke/files/patch-utils+Makefile b/math/lapacke/files/patch-utils+Makefile
new file mode 100644
index 000000000000..c68cf72c357d
--- /dev/null
+++ b/math/lapacke/files/patch-utils+Makefile
@@ -0,0 +1,11 @@
+--- utils/Makefile.orig 2010-12-02 20:44:22.000000000 +0900
++++ utils/Makefile 2010-12-02 20:44:34.000000000 +0900
+@@ -186,7 +186,7 @@
+ all: lib
+
+ lib: $(OBJ)
+- $(ARCH) $(ARCHFLAGS) ../$(LAPACKE) $(OBJ)
++ $(ARCH_) $(ARCH_FLAGS) ../$(LAPACKE) $(OBJ)
+ $(RANLIB) ../$(LAPACKE)
+
+ .c.o:
diff --git a/math/lapacke/pkg-descr b/math/lapacke/pkg-descr
new file mode 100644
index 000000000000..56be843c0b78
--- /dev/null
+++ b/math/lapacke/pkg-descr
@@ -0,0 +1,12 @@
+LAPACKE is a standard C language APIs for LAPACK, which introduces
+the following features[1]:
+- row-major and column-major matrix layout controlled by the first function
+ parameter;
+- an implementation with working arrays (middle-level interface) as well as
+ without working arrays (high-level interface);
+- input scalars passed by value;
+- error code as a return value instead of the INFO parameter.
+
+[1] Intel Corporation. "C Interface to LAPACK" README. 2010.
+
+WWW: http://www.netlib.org/lapack/