From nobody Sun Aug 04 12:01:25 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 4WcJ7p0r7Sz5SCQy; Sun, 04 Aug 2024 12:01:26 +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 4WcJ7n3xbKz4QKK; Sun, 4 Aug 2024 12:01:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772885; 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=NB1f7k0j8tO2JdndJfFsdfU92Vea7A+b2l6Z8ZZkcco=; b=bkGT6x3ZzEm/Ms4wEE7eK44i3HJ/agwNdFs5j0v5HpfOtjy0OrCbV+UTJJ6GkNHQVT7eG3 O/UQAKA8JnbAxhKhId2HWHqv8HcnwGQkDCdnUUm4ZRGZ/yP+9Zw226IrLKs9KsP5kZXLuN ClTF4K9lBO3y50AS7l+QOtJDRKfZ95WSZ7YPi2/cxYlqTsOiU69vzPzW+m/j9kUfqknHIz FmfZf2N71rpJp0xlpukYlxFRCPEeFf6lU/iM/fhXF9Qbe3auW1PUGPQbKa5DEEfLe7ALk+ 5bjHn1C7uM2qFk5X680zn+41AiqwIK814xMpFohNCvM1GHQ5zvqurinyuCJfvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722772885; a=rsa-sha256; cv=none; b=YHT6lplJT8v+4CAwphxCm2kXj0tVBhuO6x5THrxqyhBta0zuSnvC1D/jq1Vt/2uzjl0Oik zryQoS7I3Xs9bXhEtaEVmPhwKb0GN8dF68xZKwrEO1n/u9WqJKjIulJ9UyY9Z8CuDj5VII 31wpeYRrlPVr3WMvtb6ZRBhiEA82TYqhqDlhIelsX7tChMUvdS48/o5KxVCplyXL4Y0S0t AsyIfSxPEWaMkzcY0bPKKPGmSYDcYMBFsI6JEdlzeZPzPnTXr8AbwNo4Lcl3Hh8ofG9K0+ oxuCq33xDO1Ke9R2MnJbkXu9i9b48utixgaKVpWT0maaowwMGtaGcqCDh/jnWg== 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=1722772885; 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=NB1f7k0j8tO2JdndJfFsdfU92Vea7A+b2l6Z8ZZkcco=; b=Kjg8VDKlDMJzjZ/RBmxpXtPYOlHqFKvhqABJp67nbvuF8k94UEDc0u0rBmDfofzw1GE7Ey 756UjBdaL9pFdOzLczgNXXErKgiVvMHBH2FHSo0t1WCCin4+99dp/mBEzyVgT33WmI2kmU 9DqXoUVbSTMyQ0H4rWETFDPeDQidOYMH8yt3GuhJ7nl31PgSzoh1g2S3UdC8A9BGbg9Yeb yyFBDS+3U4v6FE527njgzNOD6cNDgshIolCBtLdv9Wv5ArEP5uCaTLy9n/3fDXSzCfzcAd BHam8uyMjSHWEmFbOGv0KRo4V230ZQxVuG17Ms911CEg8sk2KpYxDPwJnvs8KA== 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 4WcJ7n3Y2kzv1J; Sun, 4 Aug 2024 12:01:25 +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 474C1Ph0013153; Sun, 4 Aug 2024 12:01:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474C1P2L013150; Sun, 4 Aug 2024 12:01:25 GMT (envelope-from git) Date: Sun, 4 Aug 2024 12:01:25 GMT Message-Id: <202408041201.474C1P2L013150@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: ea638cbdd5f2 - main - math/spfft: disable OPENMP when building without libomp to fix build 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: ea638cbdd5f2df31120df63b59b4bf91865e59cd Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea638cbdd5f2df31120df63b59b4bf91865e59cd commit ea638cbdd5f2df31120df63b59b4bf91865e59cd Author: Piotr Kubaj AuthorDate: 2024-07-31 21:20:54 +0000 Commit: Piotr Kubaj CommitDate: 2024-08-04 12:00:44 +0000 math/spfft: disable OPENMP when building without libomp to fix build --- math/spfft/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/math/spfft/Makefile b/math/spfft/Makefile index 7bad4ac283f6..53c508210a18 100644 --- a/math/spfft/Makefile +++ b/math/spfft/Makefile @@ -34,7 +34,7 @@ CMAKE_TESTING_TARGET= ${ALL_TARGET} OPTIONS_DEFINE= FORTRAN OPENMP OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI -OPTIONS_DEFAULT= FORTRAN MPICH OPENMP +OPTIONS_DEFAULT= FORTRAN MPICH OPTIONS_SUB= yes FORTRAN_USES= fortran @@ -51,6 +51,10 @@ OPENMPI_CMAKE_ON= -DSPFFT_MPI=ON OPENMP_CMAKE_BOOL= SPFFT_OMP +.if exists(/usr/include/omp.h) +OPTIONS_DEFAULT+= OPENMP +.endif + post-test: @cd ${BUILD_WRKSRC}/tests && \ ./run_local_tests && \