From nobody Sun Aug 4 12:01:30 2024 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 4WcJ7t39v3z5SCR4; Sun, 04 Aug 2024 12:01:30 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcJ7t1T7nz4QNG; Sun, 4 Aug 2024 12:01:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772890; 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=isPJWfuOyPqf14qTd0JKrdH+Z2twQiJ38kRV21w5LBE=; b=OGJr08eLvjTfKkrDwZFDHT50X8YRP6AI77loKuPnV7uPkn64o8T9AyvxxC+3BfaTLS/J3d REyo4r47ocEVK8NaYMW49b3kAL915OZynYFuvY/geVD1A4F3TY1WDTEPiHwspPm9LqbplW eoTrzAKhzb+O0cRijKvp72Ds5apRSfTxbQDNzluQ8Fgm+kjA29UdwbRCke5s4Y5r15A3zb hv5kXIsl4Kb4B5YPZs/efoZ/xBrTSpHFD+O1k7snuNX+9vzJGnmS7dCTYL+gpjvY/7bYzC UdtfXQ606FoTt11NGXdX8YVOmokvq7YZPRbnafLLOtzLm2W5QOHb8LIxHr0UOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722772890; a=rsa-sha256; cv=none; b=yhr+/EDweVEb2A9mo9dWyGHJJuUCn0tSLFp5iyyugQw01iHMgjOhPGM8D2ronJcSIVaXYY C4Xvbps9g7QskqfweRBnwqviL3jRoyWga9stIy3MNgeEJ02Y4qNkM1VgbduKnwx8+HiheA OLeC3nK+f9cTbrPXag+Mc5HtpM6Vu6lUbjtLIS//M36FWG1xVxSsf7jz2UgUggRiFZ0vLc g3rfT/dXHCjNJrubUJRsjSeIjuuuCLhMmWP82dmVJhUfEf45971RQFt33GsLgQ+uQwsiiQ SU9Q06xylskFco8YDNkfvEmoNm131zn7yzvjbIEJiEMeb7L1iUwaRLmRq91Cqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772890; 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=isPJWfuOyPqf14qTd0JKrdH+Z2twQiJ38kRV21w5LBE=; b=uoTQgWclFun9HcxES7TwDitfxdfMnDnxbKyoRANQWLsrW5lPmeCwqbdG28X2yRRFCqfaRO mbfZVHRNK86x0SkBJWewPENM6f2MRCLYFoAIx3mzrs/434HMLHCvflQ35R9SeEWM5K8+GU rwKVGbtAYLxKHOOPxeGA8lRe0fbeIhmgGQMsBxF2LEyW+1QV1Mo/jlMgekILyIYjNwQ1ld WjjiWwmPBRdVd17vWTLJ9YVUOZGuY89gVBoi5ub9Puu4Yt5ywA0a9M9aTjFMSIvDKXFBs7 /wp+8Jnu+FiVLtPA6xcEWM11t9wxVy7HgS7h4tSh2hVK4Rc70G9nvcrZd6cSwA== 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 4WcJ7t12Hjztgb; Sun, 4 Aug 2024 12:01:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474C1UUB013335; Sun, 4 Aug 2024 12:01:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474C1UDB013332; Sun, 4 Aug 2024 12:01:30 GMT (envelope-from git) Date: Sun, 4 Aug 2024 12:01:30 GMT Message-Id: <202408041201.474C1UDB013332@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: b71891cb2555 - main - science/openmc: don't enable OPENMP without libomp 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b71891cb2555b0f8bc6e0bd360070fb14da01a01 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b71891cb2555b0f8bc6e0bd360070fb14da01a01 commit b71891cb2555b0f8bc6e0bd360070fb14da01a01 Author: Piotr Kubaj AuthorDate: 2024-08-02 09:07:54 +0000 Commit: Piotr Kubaj CommitDate: 2024-08-04 12:00:50 +0000 science/openmc: don't enable OPENMP without libomp --- science/openmc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/science/openmc/Makefile b/science/openmc/Makefile index 40968e6beedc..33a890944bd3 100644 --- a/science/openmc/Makefile +++ b/science/openmc/Makefile @@ -29,7 +29,7 @@ CMAKE_TESTING_ON= OPENMC_BUILD_TESTS # tests are broken, see https://github.com/ BINARY_ALIAS= git=false OPTIONS_DEFINE= LIBMESH MPI OPENMP -OPTIONS_DEFAULT= MPI OPENMP +OPTIONS_DEFAULT= MPI LIBMESH_DESC= Support for libMesh unstructured mesh tallies LIBMESH_CMAKE_BOOL= OPENMC_USE_LIBMESH @@ -41,6 +41,10 @@ MPI_RUN_DEPENDS= mpich>0:net/mpich OPENMP_CMAKE_BOOL= OPENMC_USE_OPENMP +.if exists(/usr/include/omp.h) +OPTIONS_DEFAULT+= OPENMP +.endif + post-install: ${RM} -r ${STAGEDIR}${DOCSDIR}