git: 0c581d00b14e - main - math/onednn: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Jul 2022 18:02:47 UTC
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