Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2022 18:02: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: 0c581d00b14e - main - math/onednn: Broken on systems where OpenMP isn't enabled
Message-ID:  <202207231802.26NI2l2Q057206@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=0c581d00b14e65df205e0f45de259414ae3d63c6

commit 0c581d00b14e65df205e0f45de259414ae3d63c6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-23 17:59:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-23 18:02:44 +0000

    math/onednn: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
---
 math/onednn/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/math/onednn/Makefile b/math/onednn/Makefile
index 078c088f32e6..d7fe14603b4d 100644
--- a/math/onednn/Makefile
+++ b/math/onednn/Makefile
@@ -11,6 +11,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 NOT_FOR_ARCHS=	armv6 armv7 i386 mips powerpc powerpcspe
 BROKEN_aarch64=	error: sys/prctl.h file not found
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 TEST_DEPENDS=	bash:shells/bash \
 		libsysinfo>0:devel/libsysinfo



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