blas and lapack: Minor clean-up
This commit is contained in:
parent
910214f5b5
commit
d6bfa03a47
|
@ -1,10 +1,12 @@
|
||||||
# $NetBSD$
|
# $NetBSD$
|
||||||
|
|
||||||
COMMENT= Netlib reference BLAS library
|
.include "../../wip/lapack/Makefile.common"
|
||||||
|
|
||||||
|
COMMENT= Basic Linear Algebra System (Netlib reference implementation)
|
||||||
|
|
||||||
LAPACK_COMPONENT= blas
|
LAPACK_COMPONENT= blas
|
||||||
LAPACK_COMPONENT_CMAKE_ARGS= \
|
LAPACK_COMPONENT_CMAKE_ARGS= \
|
||||||
-DUSE_OPTIMIZED_BLAS=OFF \
|
-DUSE_OPTIMIZED_BLAS=OFF \
|
||||||
-DCBLAS=OFF -DLAPACKE=OFF -DLAPACK=OFF
|
-DCBLAS=OFF -DLAPACKE=OFF -DLAPACK=OFF
|
||||||
|
|
||||||
.include "../../wip/lapack/Makefile.common"
|
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# $NetBSD$
|
# $NetBSD$
|
||||||
|
|
||||||
MAINTAINER= thomas.orgis@uni-hamburg.de
|
MAINTAINER= thomas.orgis@uni-hamburg.de
|
||||||
COMMENT= Linear Algebra PACKage (Netlib reference code)
|
COMMENT= Linear Algebra PACKage (Netlib reference implementation)
|
||||||
|
|
||||||
LAPACK_COMPONENT= lapack
|
LAPACK_COMPONENT= lapack
|
||||||
LAPACK_COMPONENT_CMAKE_ARGS= \
|
LAPACK_COMPONENT_CMAKE_ARGS= \
|
||||||
|
@ -13,6 +13,6 @@ LAPACK_COMPONENT_CMAKE_ARGS= \
|
||||||
# This always uses Netlib BLAS. Other optimized BLAS packages bring
|
# This always uses Netlib BLAS. Other optimized BLAS packages bring
|
||||||
# their own LAPACK, hence cblas and lapacke packages use
|
# their own LAPACK, hence cblas and lapacke packages use
|
||||||
# mk/blas.buildlink3.mk instead.
|
# mk/blas.buildlink3.mk instead.
|
||||||
.include "../../wip/blas/buildlink3.mk"
|
.include "../../wip/blas/buildlink3.mk"
|
||||||
.include "../../wip/lapack/Makefile.common"
|
.include "../../wip/lapack/Makefile.common"
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
# $NetBSD$
|
# $NetBSD$
|
||||||
|
# used by wip/blas/Makefile
|
||||||
# used by wip/cblas/Makefile
|
# used by wip/cblas/Makefile
|
||||||
# used by wip/lapacke/Makefile
|
# used by wip/lapacke/Makefile
|
||||||
# used by wip/lapack/Makefile
|
# used by wip/lapack/Makefile
|
||||||
|
|
||||||
# Common Makefile for packages derived from the Netlib LAPACK sources.
|
# Common Makefile for packages derived from the Netlib BLAS/LAPACK sources.
|
||||||
# Package Makefile sets LAPACK_COMPONENT and LAPACK_COMPONENT_CMAKE_ARGS to
|
# Package Makefile sets LAPACK_COMPONENT and LAPACK_COMPONENT_CMAKE_ARGS to
|
||||||
# choose the library to install.
|
# choose the library to install.
|
||||||
# LAPACK_COMPONENT can be "lapack", "lapacke", or "cblas"
|
# LAPACK_COMPONENT can be "lapack", "lapacke", or "cblas"
|
||||||
|
@ -22,12 +23,12 @@ LICENSE= modified-bsd
|
||||||
PATCHDIR= ${.CURDIR}/../../wip/lapack/patches
|
PATCHDIR= ${.CURDIR}/../../wip/lapack/patches
|
||||||
DISTINFO_FILE= ${.CURDIR}/../../wip/lapack/distinfo
|
DISTINFO_FILE= ${.CURDIR}/../../wip/lapack/distinfo
|
||||||
|
|
||||||
USE_LANGUAGES= c fortran
|
USE_LANGUAGES= c fortran
|
||||||
USE_CMAKE= yes
|
USE_CMAKE= yes
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||||
CONFIGURE_DIRS= build
|
CONFIGURE_DIRS= build
|
||||||
CMAKE_ARG_PATH= ${WRKSRC}
|
CMAKE_ARG_PATH= ${WRKSRC}
|
||||||
|
|
||||||
# Note: We patch the build to install both static and
|
# Note: We patch the build to install both static and
|
||||||
# shared libraries.
|
# shared libraries.
|
||||||
|
@ -39,4 +40,4 @@ CMAKE_ARGS= -DBUILD_DEPRECATED=ON \
|
||||||
.include "../../wip/lapack/version.mk"
|
.include "../../wip/lapack/version.mk"
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
${RUN} mkdir -p ${WRKSRC}/build
|
${RUN} ${MKDIR} ${WRKSRC}/build
|
||||||
|
|
Loading…
Reference in New Issue