git: 91e71683e216 - 2022Q3 - 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:03:31 UTC
The branch 2022Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=91e71683e216c1f961be2658d2f970ae5be6c829
commit 91e71683e216c1f961be2658d2f970ae5be6c829
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:03:21 +0000
math/onednn: Broken on systems where OpenMP isn't enabled
Reported by: fallout
(cherry picked from commit 0c581d00b14e65df205e0f45de259414ae3d63c6)
---
math/onednn/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/math/onednn/Makefile b/math/onednn/Makefile
index 7a5d38373120..37550b230692 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