svn commit: r538333 - head/math/mppp
Yuri Victorovich
yuri at FreeBSD.org
Tue Jun 9 17:38:49 UTC 2020
Author: yuri
Date: Tue Jun 9 17:38:49 2020
New Revision: 538333
URL: https://svnweb.freebsd.org/changeset/ports/538333
Log:
math/mppp: Add optional dependencies math/mpc, math/arb; Turn on the IPO option
Modified:
head/math/mppp/Makefile
Modified: head/math/mppp/Makefile
==============================================================================
--- head/math/mppp/Makefile Tue Jun 9 17:34:45 2020 (r538332)
+++ head/math/mppp/Makefile Tue Jun 9 17:38:49 2020 (r538333)
@@ -3,6 +3,7 @@
PORTNAME= mppp
DISTVERSIONPREFIX= v
DISTVERSION= 0.20
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri at FreeBSD.org
@@ -11,18 +12,20 @@ COMMENT= Multiprecision for modern C++
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/COPYING
-# build only checks that the headers exist, and then they are included in the run time
-BUILD_DEPENDS= ${LOCALBASE}/include/gmp.h:math/gmp \
- ${LOCALBASE}/include/mpfr.h:math/mpfr
-RUN_DEPENDS= ${LOCALBASE}/include/gmp.h:math/gmp \
- ${LOCALBASE}/include/mpfr.h:math/mpfr
+LIB_DEPENDS= libarb.so:math/arb \
+ libflint.so:math/flint2 \
+ libgmp.so:math/gmp \
+ libmpc.so:math/mpc \
+ libmpfr.so:math/mpfr
USES= cmake compiler:c++14-lang
USE_GITHUB= yes
GH_ACCOUNT= bluescarni
-TEST_ARGS= -DMPPP_BUILD_TESTS=ON -DMPPP_WITH_MPFR=ON -DMPPP_WITH_QUADMATH=OFF # no quad-precision fp type on FreeBSD, requested __float128 reinstantiation, bug#238129
-BENCHMARK_ARGS= -DMPPP_BUILD_BENCHMARKS=ON -DMPPP_BENCHMARK_BOOST=OFF
+CMAKE_ON= MPPP_WITH_ARB MPPP_WITH_MPC MPPP_WITH_MPFR MPPP_ENABLE_IPO
+CMAKE_OFF= MPPP_WITH_QUADMATH # no quad-precision fp type on FreeBSD, requested __float128 reinstantiation, bug#238129
+TEST_ARGS= -DMPPP_BUILD_TESTS=ON -DMPPP_WITH_QUADMATH=OFF
+BENCHMARK_ARGS= -DMPPP_BUILD_BENCHMARKS=ON -DMPPP_BENCHMARK_FLINT=ON -DMPPP_BENCHMARK_BOOST=ON
do-test:
@cd ${BUILD_WRKSRC} && \
More information about the svn-ports-head
mailing list