From nobody Mon Sep 05 08:16:02 2022 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 4MLhDL3dqgz4bd4J; Mon, 5 Sep 2022 08:16:02 +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 4MLhDL390Mz3Kks; Mon, 5 Sep 2022 08:16:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662365762; 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=iOgxaXD0WmQydJIZH0zCG2+Eh/tXwjcnUZjgHxYYOf8=; b=JRpiLkNmnxwldGNjm3IShUxrmSkgitLhwe/+4P+U6KD2/ye4gZ/egSAlqMrfqAOwCREawq n3dmxVzhYl52/GRXUSlxXA64o6kXuJRYCaZrd9PILEg11Q2ZvzQo7xHfdchbGAEntgBtoa R95xtfLtx1LHt4sWIdFZZbaJ6qy5D0thpdvTJXZZ1K0KeZqV+AdrpcCsB2F9TZCBJaWHaN FGx2Xi1Dwt8xs0xQZSIrXi4akmXQ+EvnBvpBoSA0AFe443v23DcRTJ/zEeYSwMpHTQiRzf Osa/4RWjx4DtVt5ArG8tSU+sRCGf8+kRnKRgSigYZdlitEqlzFeXCXruKpPYrg== 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 4MLhDL2D5mzmNY; Mon, 5 Sep 2022 08:16:02 +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 2858G2KJ004970; Mon, 5 Sep 2022 08:16:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2858G2h4004969; Mon, 5 Sep 2022 08:16:02 GMT (envelope-from git) Date: Mon, 5 Sep 2022 08:16:02 GMT Message-Id: <202209050816.2858G2h4004969@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 05be3d3a279e - main - math/mfem: Fix SUPERLU option and make it default 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05be3d3a279ef387900a0ab4fad92fe8da1d0a7d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662365762; 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=iOgxaXD0WmQydJIZH0zCG2+Eh/tXwjcnUZjgHxYYOf8=; b=GuOeiXUeGAOyh+jgJUDa4MnqFbHVR3mstp3a97SvfUkoX3iA/5mXM1A9P7cMRGmEoy2tkZ D1GCujpMTxInmitP1/aZAiJQtqEfXvxaZj5Sm2VHIvvyt7R1j+3QeCA0BnhusTyXFxm1rp jFhAAwbo+er3hxYHXzRFDxzfxEl47nsEfY/XGYMXOfcs89IuGjYHZEw13QK1tQwzGZsjhl JDnAw62n2/MKeem6Xaf0SWFRIonyA7r/Xh6emjqlk4KnHVkz8Kc8RW7ohfixTbRNjEhvGP YSKycDtzdu2DDH78pYB5SXENFrv2RKPlM6oAqSorlUVbyeqZ8qE5NBB1f8KsSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662365762; a=rsa-sha256; cv=none; b=LUUJzJSY5c+CUlXkEAzD4FmUNI3IZoleypl7Uv9pJoSsxENmPmXholbHy/MG6cu9k+ObKN 4OS3wFgqhTJC1SlJ/eQzGUny2lv4dVxq9A3tVCfICy2TxAgxDUodpyVbbPVse+xqQwUm89 OM0QnJiLjTDM6ibWQqJbNuNiKRX6ORFZ35tN5TrsHJkoI6azx0hUeGlNPDbgHseSzBWRup Uf9i5xhARrZhkGhqPHbEixuupLSoqtbqVKExyjKsv2q3ULmQ9E94KjK85gbNO1KtIwsOVR 6nXe8G4YpYyKcOUhBHDexgxto0rBK5OxSFz/0qT6mU1EnaxNMl2acRmP5D0G8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=05be3d3a279ef387900a0ab4fad92fe8da1d0a7d commit 05be3d3a279ef387900a0ab4fad92fe8da1d0a7d Author: Yuri Victorovich AuthorDate: 2022-09-05 08:11:33 +0000 Commit: Yuri Victorovich CommitDate: 2022-09-05 08:15:51 +0000 math/mfem: Fix SUPERLU option and make it default --- math/mfem/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/math/mfem/Makefile b/math/mfem/Makefile index 4f1d71b3f041..3a449d8f02e1 100644 --- a/math/mfem/Makefile +++ b/math/mfem/Makefile @@ -1,7 +1,7 @@ PORTNAME= mfem DISTVERSIONPREFIX= v DISTVERSION= 4.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -20,7 +20,7 @@ CMAKE_TESTING_ON= MFEM_ENABLE_TESTING # tests are broken, see https://github.com OPTIONS_DEFINE= SUPERLU OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI -OPTIONS_DEFAULT= MPICH # should be the same choice as in science/hypre +OPTIONS_DEFAULT= MPICH SUPERLU # should be the same MPI choice as in science/hypre OPTIONS_SUB= yes NOMPI_DESC= Build without parallel processing support @@ -39,6 +39,10 @@ OPENMPI_LIB_DEPENDS= libHYPRE.so:science/hypre \ SUPERLU_DESC= Enable SuperLU use SUPERLU_CMAKE_BOOL= MFEM_USE_SUPERLU SUPERLU_CMAKE_ON= -DSuperLUDist_DIR=${LOCALBASE} -DSuperLUDist_INCLUDE_DIRS=${LOCALBASE}/include/superlu -SUPERLU_BROKEN= build fails, see https://github.com/mfem/mfem/issues/3171 +SUPERLU_LIB_DEPENDS= libsuperlu_dist.so:math/superlu-dist +SUPERLU_LDFLAGS= -L${LOCALBASE}/lib -lsuperlu_dist # workaround for https://github.com/mfem/mfem/issues/3171#issuecomment-1236591028 + +post-install-SUPERLU-on: # workaround for https://github.com/mfem/mfem/issues/3191 + @${REINPLACE_CMD} -e 's|;${LOCALBASE}/include/superlu||' ${STAGEDIR}${PREFIX}/lib/cmake/mfem/MFEMConfig.cmake .include