git: caf8bfea4616 - 2022Q3 - 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:28 UTC
The branch 2022Q3 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=caf8bfea46165380fbe21e187a8bb7522484c73f commit caf8bfea46165380fbe21e187a8bb7522484c73f 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:29:22 +0000 devel/py-numba: Broken on systems where OpenMP isn't enabled Reported by: fallout Approved by: portmgr (blanket) (cherry picked from commit 315634f10b8459756a55035ca56d74108ae1d3ef) --- devel/py-numba/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile index 0dd01837b8c6..c7e7d2fcd2ab 100644 --- a/devel/py-numba/Makefile +++ b/devel/py-numba/Makefile @@ -12,6 +12,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}