Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2025 18:22:48 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: 6a4fe14a1fd5 - main - math/clad: Only available where OpenMP is available
Message-ID:  <202501131822.50DIMmDi025942@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=6a4fe14a1fd56d086dfa2e7c580672cf94724dcc

commit 6a4fe14a1fd56d086dfa2e7c580672cf94724dcc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-13 15:29:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-13 18:22:43 +0000

    math/clad: Only available where OpenMP is available
    
    The build on armv7 failed because of this.
    
    Reported by:    fallout
---
 math/clad/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/math/clad/Makefile b/math/clad/Makefile
index c3b541390e63..018a2b30221d 100644
--- a/math/clad/Makefile
+++ b/math/clad/Makefile
@@ -10,6 +10,10 @@ WWW=		https://github.com/vgvassilev/clad
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/License.txt
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 TEST_DEPENDS=	kokkos>0:devel/kokkos
 
 USES=		cmake:testing llvm:16,build,run localbase



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