From nobody Sun May 14 17:31:51 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QK8gr226Fz4Bw10; Sun, 14 May 2023 17:31:52 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QK8gr188Cz3GbW; Sun, 14 May 2023 17:31:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684085512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gyuxwQ3x31TMLh0XgRgQt7v70xy+zKIr11ReqoaChIA=; b=dpCXWQt+KDezafB6QJAAX30GsAg5sC2uJV8qT+kzFC6LnOEJZL9zeZrkjO5jxknZGmFV1p fTtu1Av1vC2g0x7XVmDpBaxyWsHVRQl8EFioBhB49lAUotaspGVcC58yH9zKru+io/cg+Y BxmWwt+3TNZwLAEesz3R+oVK4LFPuY8Govi4IifMPNWFap8Dba9mwtm+ANGfxo6VZ3YSkX TCzRfa7CyJ7MGnzEHOLl46gN/TBpny8eDzfc/6j2WyS+AktPVd0JVfNLNHJy9qBK3MaZGT ipU0kdyiyQjIHkVM2NyT2EEoHPFfbz+tN9HVkuMJzSUTrCxd7lE/zW7h1ssvcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684085512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gyuxwQ3x31TMLh0XgRgQt7v70xy+zKIr11ReqoaChIA=; b=L//I6qSsmSKoS5XoeGM97BCsTDN8D1CWRnHFZjjwuoPGY0G30dLRDihv3jIfYQbb/bqct6 mSEqA5AQJ86zUjQoERHGPQJyY4Ty8+etn6kXiqcnwgojNwj9zPGvpb6OF54gpaAZCgbMV2 xhPTGS5o6m/6DQMP65s0JMEt5vFIfLtB2RmoScDHH6s+3FCelAoehGEzolBA4fqts4m8+q 4OaGtEiTNOXGAYRsZWaQEyeDgWe7P/MTeioLoRLjjUTY0wVWiXgrtAXmqAS+uTwZ0lCBED fSmgGrRup/owtFd5Lj3ynCQCQ9xAGqM1LijtTTQxDY8CLH5FXSB+bBExJ4aS9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684085512; a=rsa-sha256; cv=none; b=jl6uSdq96mTtDwBE6fVa4xPU5JKrsKNaMMkq1gTtodb/uQTw53Gv5fMjECVyOosijuhq0W WLxuhqTo8fWrP4Lqm6F8Mpq0kAyW5kXIr2nzg2QgX4l/odPEkMD7CQpv4gHjh3N3kCFgxV 3QmbGIcNZbgqh8PY6Cz4MCrCI3Nq9iP3t65JypdVZreI0tJQdEnx9aDSHLk0FowZvgI4TX U7fM22Wn748KVwV22JWSwMDqoh+9aD+kmREnKMYLSxyGP/D8fg9XB5FTnioKP8HK9dy9k9 rELq/kwXyHAWb3qV25d8SZftzbHI/yO0rpMgpMq9Q9g7bbUMBfMGLvyiCxzHyw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QK8gq73mXz1769; Sun, 14 May 2023 17:31:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34EHVpc5082284; Sun, 14 May 2023 17:31:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34EHVphu082283; Sun, 14 May 2023 17:31:51 GMT (envelope-from git) Date: Sun, 14 May 2023 17:31:51 GMT Message-Id: <202305141731.34EHVphu082283@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: 244238e1a8dc - main - science/mpb: Additions and improvements List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 244238e1a8dc327a72c6f62f8055c3044dbb7442 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=244238e1a8dc327a72c6f62f8055c3044dbb7442 commit 244238e1a8dc327a72c6f62f8055c3044dbb7442 Author: Yuri Victorovich AuthorDate: 2023-05-14 16:51:02 +0000 Commit: Rainer Hurling CommitDate: 2023-05-14 17:29:44 +0000 science/mpb: Additions and improvements - Add shared library - Remove NLOPT option - Add test target - Pet portlint Contrary to the patch from the PR, USE_GCC=yes is kept, otherwise errors under CURRENT (with LLVM15). Co-authored-by: Rainer Hurling PR: 270105 --- science/mpb/Makefile | 22 +++++++++++++--------- science/mpb/pkg-plist | 3 +++ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/science/mpb/Makefile b/science/mpb/Makefile index 8b5c40079d91..d60348746508 100644 --- a/science/mpb/Makefile +++ b/science/mpb/Makefile @@ -1,6 +1,6 @@ PORTNAME= mpb DISTVERSION= 1.11.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MASTER_SITES= https://github.com/NanoComp/mpb/releases/download/v${DISTVERSION}/ @@ -11,34 +11,38 @@ WWW= https://mpb.readthedocs.io/en/latest/ LICENSE= GPLv2 BUILD_DEPENDS= bash:shells/bash +# NLOPT should be enabled in science/libctl LIB_DEPENDS= libctl.so:science/libctl \ libfftw3.so:math/fftw3 \ libgc-threaded.so:devel/boehm-gc-threaded \ libguile-2.2.so:lang/guile2 \ - libhdf5.so:science/hdf5 + libhdf5.so:science/hdf5 \ + libnlopt.so:math/nlopt USES= fortran libtool pkgconfig readline -GNU_CONFIGURE= yes USE_GCC= yes +USE_LDCONFIG= yes # Do not use --with-mpi, because it is not guaranted # that science/hdf5 also built with option PARALLEL -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared MAKE_JOBS_UNSAFE= yes +INSTALL_TARGET= install-strip +TEST_TARGET= check + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= ATLAS NLOPT OPENMP -OPTIONS_DEFAULT= NLOPT +OPTIONS_DEFINE= ATLAS OPENMP ATLAS_DESC= Use math/atlas instead of math/openblas -NLOPT_DESC= Use math/nlopt (enable also in science/libctl) OPENMP_DESC= Use OpenMP (enable also in math/fftw3) ATLAS_LIB_DEPENDS= libatlas.so:math/atlas ATLAS_USES_OFF= blaslapack:openblas ATLAS_CONFIGURE_ON= --with-lapack=-lalapack ATLAS_CONFIGURE_OFF= --with-blas=openblas --with-lapack=-lopenblas -NLOPT_LIB_DEPENDS= libnlopt.so:math/nlopt OPENMP_CONFIGURE_ON= --with-openmp post-install: diff --git a/science/mpb/pkg-plist b/science/mpb/pkg-plist index e878bec9ee8a..1eb019c61ec7 100644 --- a/science/mpb/pkg-plist +++ b/science/mpb/pkg-plist @@ -8,6 +8,9 @@ include/mpb/maxwell.h include/mpb/scalar.h include/mpb/verbosity.h lib/libmpb.a +lib/libmpb.so +lib/libmpb.so.1 +lib/libmpb.so.1.4.1 man/man1/mpb-data.1.gz man/man1/mpb-split.1.gz man/man1/mpb.1.gz