Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2025 09:23:47 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ce22f921feb5 - main - science/hypre: Broken where OpenMP isn't available
Message-ID:  <202501040923.5049NlZC045115@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce22f921feb52aeb29b2d1f4cc6d2acc8ebede74

commit ce22f921feb52aeb29b2d1f4cc6d2acc8ebede74
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-04 09:23:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-04 09:23:44 +0000

    science/hypre: Broken where OpenMP isn't available
    
    Reported by:    fallout
---
 science/hypre/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/science/hypre/Makefile b/science/hypre/Makefile
index 8e6b610b6e63..1e35b84597e2 100644
--- a/science/hypre/Makefile
+++ b/science/hypre/Makefile
@@ -12,6 +12,10 @@ LICENSE_COMB=	dual
 LICENSE_FILE_APACHE20=	${WRKSRC}/../LICENSE-APACHE
 LICENSE_FILE_MIT=	${WRKSRC}/../LICENSE-MIT
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 LIB_DEPENDS=	libsuperlu.so:math/superlu
 
 USES=		blaslapack:openblas cmake:testing fortran localbase



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501040923.5049NlZC045115>