mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
- Fix gmp optimization
- Provide an option for OpenMPI support
This commit is contained in:
parent
162f0f99bb
commit
6a8d4eab03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447345
@ -4,6 +4,7 @@
|
||||
PORTNAME= form
|
||||
PORTVERSION= 4.2.0
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
@ -14,21 +15,31 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libgmp.so:math/gmp
|
||||
|
||||
USES= autoreconf gmake
|
||||
USES= autoreconf gmake localbase
|
||||
USE_GITHUB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
GH_ACCOUNT= vermaseren
|
||||
|
||||
OPTIONS_DEFINE= DOXYGEN
|
||||
OPTIONS_DEFINE= DOXYGEN OPENMPI
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
||||
|
||||
CONFIGURE_ARGS+= --enable-scalar \
|
||||
--enable-largefile \
|
||||
--with-api=posix
|
||||
|
||||
MPICC?= ${LOCALBASE}/mpi/openmpi/bin/mpicc
|
||||
MPICXX?= ${LOCALBASE}/mpi/openmpi/bin/mpic++
|
||||
|
||||
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
||||
|
||||
OPENMPI_CONFIGURE_ENABLE= parform
|
||||
|
||||
OPENMPI_CONFIGURE_ENV+= MPICC="${MPICC}" MPICXX="${MPICXX}"
|
||||
|
||||
OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi \
|
||||
libgcc_s.so.1:lang/gcc5
|
||||
|
||||
post-build-DOXYGEN-on:
|
||||
(cd ${WRKSRC}/doc/manual; ${MAKE_CMD} html pdf)
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
bin/form
|
||||
bin/tform
|
||||
%%OPENMPI%%bin/parform
|
||||
man/man1/form.1.gz
|
||||
%%DOXYGEN%%%%DOCSDIR%%/html/manual.css
|
||||
%%DOXYGEN%%%%DOCSDIR%%/html/manual.html
|
||||
|
Loading…
Reference in New Issue
Block a user