From owner-svn-ports-all@freebsd.org Tue Jun 9 17:38:49 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BFD02337C1C; Tue, 9 Jun 2020 17:38:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49hHRF4mZvz4D6J; Tue, 9 Jun 2020 17:38:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9E26E19569; Tue, 9 Jun 2020 17:38:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 059HcnhG039461; Tue, 9 Jun 2020 17:38:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 059HcnIV039460; Tue, 9 Jun 2020 17:38:49 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202006091738.059HcnIV039460@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 9 Jun 2020 17:38:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538333 - head/math/mppp X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/mppp X-SVN-Commit-Revision: 538333 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 17:38:49 -0000 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@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} && \