Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2022 07:41:36 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: 1144067c530d - main - devel/libflatarray: Broken on systems where OpenMP isn't enabled
Message-ID:  <202208040741.2747fa98048815@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=1144067c530de0a19250cec629bba6bbfc8775b6

commit 1144067c530de0a19250cec629bba6bbfc8775b6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-04 07:34:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-04 07:41:24 +0000

    devel/libflatarray: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    Approved by:    portmgr (blanket)
---
 devel/libflatarray/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/libflatarray/Makefile b/devel/libflatarray/Makefile
index ed89666b2aca..20d77dabdde6 100644
--- a/devel/libflatarray/Makefile
+++ b/devel/libflatarray/Makefile
@@ -10,6 +10,10 @@ COMMENT=	Struct of arrays library with object oriented interface for C++
 LICENSE=	BSL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 BROKEN_armv7=	test/estimate_optimum_short_vec_type_test.cpp:71:22: error: redefinition of 'expected_arity_for_double'
 
 BUILD_DEPENDS=	boost-libs>=1.48:devel/boost-libs



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