git: 315634f10b84 - main - devel/py-numba: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Jul 2022 01:29:05 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=315634f10b8459756a55035ca56d74108ae1d3ef
commit 315634f10b8459756a55035ca56d74108ae1d3ef
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-24 01:27:50 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-24 01:27:50 +0000
devel/py-numba: Broken on systems where OpenMP isn't enabled
Reported by: fallout
Approved by: portmgr (blanket)
---
devel/py-numba/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile
index 19c292538551..4824f2ae245a 100644
--- a/devel/py-numba/Makefile
+++ b/devel/py-numba/Makefile
@@ -10,6 +10,10 @@ COMMENT= Optimizing compiler for Python using LLVM
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>1.11,1:math/py-numpy@${PY_FLAVOR}
LIB_DEPENDS= libtbb.so:devel/tbb
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llvmlite>=0.31.0:devel/py-llvmlite@${PY_FLAVOR}