Fix math/openblas and bump dependent ports
* Fix build on i386 [1] * Fix science/code_saturne build with new openblas [2] * Avoid installing private headers [3] * Prevent build from optimizing for host by correcting build confg [4] * Bump portrevision of dependent ports [5] This is correcting issues from r523749 [1][2][4] and r515970 [3] PR: 231371 Reported by: build cluster [1] Reported by: Dima Pasechnik <dimpase+freebsd@gmail.com> [2] Reported by: many [5] Reviewed by: mat, bapt Approved by: implicit, since this is a build fix
This commit is contained in:
parent
c272497917
commit
fb44dca45d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524642
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= bolt-lmm
|
||||
DISTVERSION= 2.3.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= biology
|
||||
MASTER_SITES= https://data.broadinstitute.org/alkesgroup/BOLT-LMM/downloads/
|
||||
DISTNAME= BOLT-LMM_v${PORTVERSION}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= gemma
|
||||
DISTVERSION= 0.98.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= jwb@FreeBSD.org
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= treekin
|
||||
DISTVERSION= 0.5.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= biology
|
||||
MASTER_SITES= https://www.tbi.univie.ac.at/RNA/packages/source/
|
||||
DISTNAME= Treekin-${DISTVERSION}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= ccx
|
||||
PORTVERSION= 2.16
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= http://www.dhondt.de/
|
||||
PKGNAMEPREFIX= CalculiX-
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= gmsh
|
||||
DISTVERSION= 4.3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= http://gmsh.info/src/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= pdnmesh
|
||||
PORTVERSION= 0.2.2
|
||||
PORTREVISION= 17
|
||||
PORTREVISION= 18
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= grass
|
||||
PORTVERSION= 7.6.1
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= databases geography
|
||||
MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \
|
||||
http://grass.cict.fr/%SUBDIR%/ \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lacaml
|
||||
PORTVERSION= 8.0.7
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= https://github.com/mmottl/lacaml/releases/download/v${PORTVERSION}/
|
||||
PKGNAMEPREFIX= ocaml-
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= leela-zero
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.17
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= caffe
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 30
|
||||
PORTREVISION= 31
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= eric@camachat.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= refocus
|
||||
PORTVERSION= 0.9.0
|
||||
PORTREVISION= 10
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
PKGNAMEPREFIX= gimp-
|
||||
|
@ -4,7 +4,7 @@
|
||||
PORTNAME= julia
|
||||
PORTVERSION= 0.6.4
|
||||
DISTVERSIONSUFFIX= -full
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= lang math
|
||||
MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
|
||||
PKGNAMESUFFIX= 06
|
||||
|
@ -4,7 +4,7 @@
|
||||
PORTNAME= julia
|
||||
PORTVERSION= 0.7.0
|
||||
DISTVERSIONSUFFIX= -full
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= lang math
|
||||
MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
|
||||
PKGNAMESUFFIX= 07
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= julia
|
||||
PORTVERSION= 1.0.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONSUFFIX= -full
|
||||
CATEGORIES= lang math
|
||||
MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= julia
|
||||
PORTVERSION= 1.1.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONSUFFIX= -full
|
||||
CATEGORIES= lang math
|
||||
MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= rspamd
|
||||
PORTVERSION= 2.3.a1.20191120
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= rspamd
|
||||
PORTVERSION= 2.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
|
||||
MAINTAINER= vsevolod@FreeBSD.org
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= R
|
||||
DISTVERSION= 3.6.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math lang
|
||||
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= adept
|
||||
DISTVERSION= 2.0.5
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.met.reading.ac.uk/clouds/adept/
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
PORTNAME= ambit
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= armadillo
|
||||
PORTVERSION= 9.600.4
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF/arma
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= blaze
|
||||
DISTVERSION= 3.5
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/downloads/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= blazeiterative
|
||||
PORTVERSION= g20180409
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= blocksolve95
|
||||
PORTVERSION= 3.0
|
||||
PORTREVISION= 25
|
||||
PORTREVISION= 26
|
||||
CATEGORIES= math parallel
|
||||
MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/BlockSolve95/ \
|
||||
http://ftp.mcs.anl.gov/pub/BlockSolve95/
|
||||
|
@ -3,6 +3,7 @@
|
||||
PORTNAME= bonmin
|
||||
DISTVERSIONPREFIX= releases/
|
||||
DISTVERSION= 1.8.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
PKGNAMEPREFIX= coin-or-
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= casadi
|
||||
DISTVERSION= 3.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= ceres-solver
|
||||
DISTVERSION= 1.14.0
|
||||
PORTREVISION= 15
|
||||
PORTREVISION= 16
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= Clp
|
||||
DISTVERSION= 1.17.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.coin-or.org/download/source/${PORTNAME}/ \
|
||||
http://www.mavetju.org/download/adopted/
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= cminpack
|
||||
PORTVERSION= 1.3.6
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= fernape@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= CoinMP
|
||||
PORTVERSION= 1.8.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.coin-or.org/download/source/CoinMP/
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= CoinUtils
|
||||
DISTVERSION= 2.11.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME}/
|
||||
PKGNAMEPREFIX= coin-or-
|
||||
|
@ -3,6 +3,7 @@
|
||||
PORTNAME= couenne
|
||||
DISTVERSIONPREFIX= releases/
|
||||
DISTVERSION= 0.5.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
PKGNAMEPREFIX= coin-or-
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
PORTNAME= dbcsr
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= deal.II
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 9.1.1
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= elpa
|
||||
DISTVERSION= 2019.05.002
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://elpa.mpcdf.mpg.de/html/Releases/${DISTVERSION}/
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= g2o
|
||||
DISTVERSION= 20170730_git-239
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONSUFFIX= -ge7b5b7a
|
||||
CATEGORIES= math
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= giacxcas
|
||||
DISTVERSION= 1.5.0-69
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/:giac \
|
||||
http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= hmat-oss
|
||||
DISTVERSION= 1.5.0-348
|
||||
DISTVERSIONSUFFIX= -g76beaf3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= Ipopt
|
||||
DISTVERSION= 3.12.13
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://www.coin-or.org/download/source/Ipopt/ \
|
||||
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/:metis \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= mcmc-jags
|
||||
DISTVERSION= 4.3.0
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF/mcmc-jags/JAGS/${S}.x/Source/:1 \
|
||||
SF/mcmc-jags/Examples/${S}.x/:2 \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lapack++
|
||||
PORTVERSION= 2.5.4
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF/lapackpp \
|
||||
http://math.nist.gov/lapack++/:doc
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lapack95
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 18
|
||||
PORTREVISION= 19
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= NL
|
||||
DISTNAME= ${PORTNAME}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= levmar
|
||||
PORTVERSION= 2.6
|
||||
PORTREVISION= 12
|
||||
PORTREVISION= 13
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://users.ics.forth.gr/~lourakis/levmar/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= moab
|
||||
DISTVERSION= 5.0.0
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= octave-forge-ltfat
|
||||
PORTVERSION= 2.3.1
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= math
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= octave
|
||||
PORTVERSION= ${OCTAVE_VERSION}
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= GNU
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= openblas
|
||||
PORTVERSION= 0.3.7
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= math
|
||||
@ -36,11 +37,11 @@ USE_PERL5= build
|
||||
OPENBLAS_SVER= 0
|
||||
TEST_TARGET= tests
|
||||
|
||||
BUILDFLAGS= FCOMMON_OPT=-frecursive MAKE_NB_JOBS=-1
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
||||
|
||||
OPTIONS_DEFINE= INTERFACE64 OPENMP
|
||||
OPTIONS_DEFINE_i386= AVX AVX2 DYNAMIC_ARCH
|
||||
OPTIONS_DEFINE_amd64= AVX AVX2 DYNAMIC_ARCH
|
||||
OPTIONS_DEFINE_i386= AVX AVX2 DYNAMIC_ARCH
|
||||
OPTIONS_DEFINE_amd64= AVX AVX2 DYNAMIC_ARCH
|
||||
OPTIONS_DEFINE_powerpc64= POWER6
|
||||
OPTIONS_EXCLUDE_powerpc64= OPENMP
|
||||
|
||||
@ -67,46 +68,20 @@ TARGET_CPU_ARCH= PPC970
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if defined(TARGET_CPU_ARCH)
|
||||
BUILDFLAGS+= TARGET=${TARGET_CPU_ARCH}
|
||||
MAKE_ENV+= TARGET=${TARGET_CPU_ARCH}
|
||||
.endif
|
||||
|
||||
MAXTHREADS?= 64
|
||||
BUILDFLAGS_THREAD+= NUM_THREADS=${MAXTHREADS} USE_THREAD=1
|
||||
|
||||
.if ${ARCH:M*64} == ""
|
||||
BUILDFLAGS+= BINARY32=1
|
||||
.else
|
||||
BUILDFLAGS+= BINARY64=1
|
||||
.endif
|
||||
MAXTHREADS?= 64
|
||||
|
||||
.if ! ${PORT_OPTIONS:MDYNAMIC_ARCH} && ( ${ARCH} == "amd64" || ${ARCH} == "i386" )
|
||||
MANUAL_PACKAGE_BUILD= Optimizes for the build machine.
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDYNAMIC_ARCH}
|
||||
BUILDFLAGS+= DYNAMIC_ARCH=1
|
||||
PLIST_SUB+= DYNARCH=""
|
||||
.else
|
||||
PLIST_SUB+= DYNARCH="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MINTERFACE64}
|
||||
BUILDFLAGS+= INTERFACE64=1
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MAVX}
|
||||
BUILDFLAGS+= NO_AVX=1
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MAVX2}
|
||||
BUILDFLAGS+= NO_AVX2=1
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENMP}
|
||||
USES+= compiler:openmp
|
||||
BUILDFLAGS_THREAD+= USE_OPENMP=1
|
||||
USES+= compiler:openmp
|
||||
.else
|
||||
USES+= compiler:c11
|
||||
.endif
|
||||
@ -123,6 +98,35 @@ post-extract:
|
||||
cd ${DISTDIR}/${DIST_SUBDIR} ; \
|
||||
${CP} ${LARGE_FILE} ${TIMING_FILE} ${WRKSRC}
|
||||
|
||||
post-patch:
|
||||
@${ECHO} MAKE_NB_JOBS=-1 >> ${WRKSRC}/Makefile.rule
|
||||
@${ECHO} NUM_THREADS=${MAXTHREADS} >> ${WRKSRC}/Makefile.rule
|
||||
@${ECHO} USE_THREAD=1 >> ${WRKSRC}/Makefile.rule
|
||||
.if ! ${PORT_OPTIONS:MAVX}
|
||||
@${ECHO} NO_AVX=1 >> ${WRKSRC}/Makefile.rule
|
||||
.endif
|
||||
.if ! ${PORT_OPTIONS:MAVX2}
|
||||
@${ECHO} NO_AVX2=1 >> ${WRKSRC}/Makefile.rule
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDYNAMIC_ARCH}
|
||||
@${ECHO} DYNAMIC_ARCH=1 >> ${WRKSRC}/Makefile.rule
|
||||
@${ECHO} DYNAMIC_OLDER=1 >> ${WRKSRC}/Makefile.rule
|
||||
.endif
|
||||
.if defined(TARGET_CPU_ARCH)
|
||||
@${ECHO} TARGET=${TARGET_CPU_ARCH} >> ${WRKSRC}/Makefile.rule
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MINTERFACE64}
|
||||
@${ECHO} INTERFACE64=1 >> ${WRKSRC}/Makefile.rule
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MOPENMP}
|
||||
@${ECHO} USE_OPENMP=1 >> ${WRKSRC}/Makefile.rule
|
||||
.endif
|
||||
.if ${ARCH:M*64} == ""
|
||||
@${ECHO} BINARY=32 >> ${WRKSRC}/Makefile.rule
|
||||
.else
|
||||
@${ECHO} BINARY=64 >> ${WRKSRC}/Makefile.rule
|
||||
.endif
|
||||
|
||||
post-patch-OPENMP-on:
|
||||
@${REINPLACE_CMD} -e "s+OPENBLAS_NUM_THREADS+OMP_NUM_THREADS+g" \
|
||||
${WRKSRC}/test/Makefile \
|
||||
@ -136,35 +140,7 @@ BENCHMARK_THREADS_FLAG= OPENBLAS_NUM_THREADS=${BENCHMARK_MAXTHREADS}
|
||||
.endif
|
||||
|
||||
benchmark: build
|
||||
cd ${WRKSRC} ; ${SETENV} ${BUILDFLAGS} NUM_THREADS=${MAXTHREADS} \
|
||||
USE_THREAD=1 ${MAKE_CMD} ${MAKE_ARGS} hpl
|
||||
cd ${WRKSRC}/benchmark ; ${SETENV} ${BUILDFLAGS} NUM_THREADS=${MAXTHREADS} \
|
||||
USE_THREAD=1 ${BENCHMARK_THREADS_FLAG} ${MAKE_CMD} ${MAKE_ARGS}
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC} && \
|
||||
${FIND} . -name 'common*.h' -print | ${XARGS} ${BASENAME} | ${XARGS} -I {} ${MV} {} openblas_{}
|
||||
${MV} ${WRKSRC}/version.h ${WRKSRC}/openblas_version.h
|
||||
${MV} ${WRKSRC}/param.h ${WRKSRC}/openblas_param.h
|
||||
${MV} ${WRKSRC}/cpuid.h ${WRKSRC}/openblas_cpuid.h
|
||||
${MV} ${WRKSRC}/config.h ${WRKSRC}/openblas_config.h
|
||||
${REINPLACE_CMD} \
|
||||
-e 's/"common.h"/"openblas_common.h"/' \
|
||||
-e 's/"version.h"/"openblas_version.h"/' \
|
||||
-e 's/"param.h"/"openblas_param.h"/' \
|
||||
-e 's/"cpuid.h"/"openblas_cpuid.h"/' \
|
||||
-e 's/"config.h"/"openblas_config.h"/' \
|
||||
-e 's/"common_/"openblas_common_/' \
|
||||
${WRKSRC}/*.h \
|
||||
${WRKSRC}/*.c \
|
||||
${WRKSRC}/interface/*.c
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/openblas
|
||||
${INSTALL_DATA} ${WRKSRC}/openblas_*.h ${STAGEDIR}${PREFIX}/include/openblas
|
||||
${INSTALL_DATA} ${WRKSRC}/cblas.h ${WRKSRC}/config_last.h ${WRKSRC}/l1param.h ${WRKSRC}/l2param.h ${WRKSRC}/symcopy.h \
|
||||
${STAGEDIR}${PREFIX}/include/openblas
|
||||
${MV} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}_*-r${PORTVERSION}.a ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.a
|
||||
${MV} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}_*-r${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${OPENBLAS_SVER}
|
||||
${RM} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
|
||||
${LN} -sf lib${PORTNAME}.so.${OPENBLAS_SVER} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
|
||||
cd ${WRKSRC} ; ${SETENV} ${MAKE_CMD} ${MAKE_ARGS} hpl
|
||||
cd ${WRKSRC}/benchmark ; ${SETENV} ${BENCHMARK_THREADS_FLAG} ${MAKE_CMD} ${MAKE_ARGS}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -4,49 +4,11 @@ include/lapacke.h
|
||||
include/lapacke_config.h
|
||||
include/lapacke_mangling.h
|
||||
include/lapacke_utils.h
|
||||
include/openblas/cblas.h
|
||||
include/openblas/config_last.h
|
||||
include/openblas/l1param.h
|
||||
include/openblas/l2param.h
|
||||
include/openblas/openblas_common.h
|
||||
include/openblas/openblas_common_alpha.h
|
||||
include/openblas/openblas_common_arm.h
|
||||
include/openblas/openblas_common_arm64.h
|
||||
include/openblas/openblas_common_c.h
|
||||
include/openblas/openblas_common_d.h
|
||||
include/openblas/openblas_common_ia64.h
|
||||
include/openblas/openblas_common_interface.h
|
||||
include/openblas/openblas_common_lapack.h
|
||||
include/openblas/openblas_common_level1.h
|
||||
include/openblas/openblas_common_level2.h
|
||||
include/openblas/openblas_common_level3.h
|
||||
include/openblas/openblas_common_linux.h
|
||||
include/openblas/openblas_common_macro.h
|
||||
include/openblas/openblas_common_mips.h
|
||||
include/openblas/openblas_common_mips64.h
|
||||
include/openblas/openblas_common_param.h
|
||||
include/openblas/openblas_common_power.h
|
||||
include/openblas/openblas_common_q.h
|
||||
include/openblas/openblas_common_reference.h
|
||||
include/openblas/openblas_common_s.h
|
||||
include/openblas/openblas_common_sparc.h
|
||||
include/openblas/openblas_common_stackalloc.h
|
||||
include/openblas/openblas_common_thread.h
|
||||
include/openblas/openblas_common_x.h
|
||||
include/openblas/openblas_common_x86.h
|
||||
include/openblas/openblas_common_x86_64.h
|
||||
include/openblas/openblas_common_z.h
|
||||
include/openblas/openblas_common_zarch.h
|
||||
include/openblas/openblas_config.h
|
||||
include/openblas/openblas_cpuid.h
|
||||
include/openblas/openblas_config_template.h
|
||||
include/openblas/openblas_param.h
|
||||
include/openblas/openblas_version.h
|
||||
include/openblas/symcopy.h
|
||||
include/openblas_config.h
|
||||
lib/cmake/openblas/OpenBLASConfig.cmake
|
||||
lib/cmake/openblas/OpenBLASConfigVersion.cmake
|
||||
lib/libopenblas.a
|
||||
lib/libopenblas.so
|
||||
lib/libopenblas.so.0
|
||||
lib/libopenblasp-r%%PORTVERSION%%.a
|
||||
lib/libopenblasp-r%%PORTVERSION%%.so
|
||||
libdata/pkgconfig/openblas.pc
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= openturns
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.14
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= Osi
|
||||
DISTVERSION= 0.108.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME}/
|
||||
PKGNAMEPREFIX= coin-or-
|
||||
|
@ -3,6 +3,7 @@
|
||||
PORTNAME= primme
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= numpy
|
||||
PORTVERSION= 1.16.5
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= CHEESESHOP \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= pysparse
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= math python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= scs
|
||||
DISTVERSION= 2.1.1-2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= qpOASES
|
||||
DISTVERSION= 3.2.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME}/
|
||||
PKGNAMEPREFIX= coin-or-
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= scilab
|
||||
PORTVERSION= 5.5.2
|
||||
PORTREVISION= 22
|
||||
PORTREVISION= 23
|
||||
CATEGORIES= math cad java
|
||||
MASTER_SITES= https://www.scilab.org/download/${PORTVERSION}/
|
||||
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= scs
|
||||
DISTVERSION= 2.1.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= sdpa
|
||||
PORTVERSION= 7.3.8
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME} \
|
||||
DEBIAN/pool/main/m/mumps:mumps
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= suitesparse
|
||||
DISTVERSION= 5.4.0
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://faculty.cse.tamu.edu/davis/SuiteSparse/ \
|
||||
https://mirror.sobukus.de/files/src/suitesparse/
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= sundials
|
||||
DISTVERSION= 3.1.2
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://computation.llnl.gov/projects/sundials/download/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= superlu
|
||||
PORTVERSION= 5.2.1
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ \
|
||||
http://crd-legacy.lbl.gov/~xiaoye/:doc
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= taucs
|
||||
PORTVERSION= 2.2
|
||||
PORTREVISION= 22
|
||||
PORTREVISION= 23
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.tau.ac.il/~stoledo/taucs/${PORTVERSION}/ \
|
||||
LOCAL/bf
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= tmv
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.75
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= mxnet
|
||||
DISTVERSION= 1.6.0
|
||||
DISTVERSIONSUFFIX= .rc0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= misc # machine-learning
|
||||
|
||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= PETSc
|
||||
DISTVERSION= 3.10.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= science devel
|
||||
MASTER_SITES= http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/
|
||||
DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= BerkeleyGW
|
||||
DISTVERSION= 2.0.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= https://berkeley.box.com/shared/static/
|
||||
DISTFILES= wkqu37wu77tll53r8t1soe6ozqja67yy.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= CheMPS2
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.8.9
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -4,7 +4,7 @@
|
||||
PORTNAME= code_saturne
|
||||
PORTVERSION= 6.0.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= science parallel
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
@ -45,8 +45,8 @@ OPTIONS_DEFAULT= BATCH BLAS MPI METIS
|
||||
OPTIONS_RADIO= METIS
|
||||
OPTIONS_RADIO_METIS= METIS PARMETIS
|
||||
BLAS_USES= blaslapack
|
||||
BLAS_CONFIGURE_ON= --with-blas=yes --with-blas-type=BLAS
|
||||
BLAS_LIB_DEPENDS= libcblas.so:math/cblas
|
||||
BLAS_CONFIGURE_ON= --with-blas=yes --with-blas-lib=${LOCALBASE}/lib --with-blas-libs=-lopenblas
|
||||
BLAS_LIB_DEPENDS= libopenblas.so:math/openblas
|
||||
BATCH_DESC= Use Torque to submit batches
|
||||
BATCH_RUN_DEPENDS= pbs-config:sysutils/torque
|
||||
MPI_LIB_DEPENDS= libmpi.so:net/mpich
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= dalton
|
||||
DISTVERSION= 2018.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= dlib
|
||||
DISTVERSION= 19.17
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= science devel math
|
||||
MASTER_SITES= http://dlib.net/files/
|
||||
PKGNAMESUFFIX= -cpp
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= elmerfem
|
||||
PORTVERSION= 8.4
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= release-
|
||||
CATEGORIES= science
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= erkale
|
||||
DISTVERSION= g20200110
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= fleur
|
||||
DISTVERSION= 0.27-3 # Release 3 of Version 0.27
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= http://www.flapw.de/pm/uploads/FLEUR/
|
||||
DISTNAME= fleurMaXR${DISTVERSION:C/.*-//}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= gamess
|
||||
DISTVERSION= 20181013
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= science
|
||||
PKGNAMESUFFIX= -us # "US" fork
|
||||
DISTNAME= gamess-current
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= gromacs
|
||||
DISTVERSION= 2020
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= ftp://ftp.gromacs.org/pub/gromacs/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= harminv
|
||||
PORTVERSION= 1.3.1
|
||||
PORTREVISION= 18
|
||||
PORTREVISION= 19
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= http://ab-initio.mit.edu/harminv/
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
PORTNAME= hypre
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.18.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= iboview
|
||||
PORTVERSION= 20150427
|
||||
PORTREVISION= 20
|
||||
PORTREVISION= 21
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= http://www.iboview.org/bin/
|
||||
DISTNAME= ibo-view.20150427
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= lammps
|
||||
PORTVERSION= ${GH_TAGNAME:C/(stable|patch)_([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\4.\3.\2/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= latte
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.2.1
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,6 +3,7 @@
|
||||
PORTNAME= libcint
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.0.19
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= mbdyn
|
||||
PORTVERSION= 1.7.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= https://www.mbdyn.org/userfiles/downloads/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= mpqc
|
||||
PORTVERSION= 2.3.1
|
||||
PORTREVISION= 44
|
||||
PORTREVISION= 45
|
||||
CATEGORIES= science parallel
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= multiwfn
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.4.1-0-14
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
DISTVERSIONSUFFIX= -ge873677
|
||||
CATEGORIES= science
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= OpenSim
|
||||
DISTVERSION= 4.0-601
|
||||
DISTVERSIONSUFFIX= -ga2574fcda
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= science
|
||||
PKGNAMESUFFIX= -core
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= dlib
|
||||
DISTVERSION= 19.17
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= science devel math python
|
||||
MASTER_SITES= http://dlib.net/files/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= gpaw
|
||||
DISTVERSION= 1.5.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= science python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= phono3py
|
||||
DISTVERSION= 1.13.3.27
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= science python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -3,7 +3,7 @@
|
||||
PORTNAME= qmcpack
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.8.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -3,6 +3,7 @@
|
||||
PORTNAME= simbody
|
||||
DISTVERSIONPREFIX= Simbody-
|
||||
DISTVERSION= 3.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science biology
|
||||
|
||||
PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/
|
||||
|
Loading…
Reference in New Issue
Block a user