git: caa6112c41b2 - main - science/cp2k: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Jul 2022 02:06:14 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=caa6112c41b2751a8cdc408a6e07abf6e835c28c
commit caa6112c41b2751a8cdc408a6e07abf6e835c28c
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-25 02:05:43 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-25 02:05:43 +0000
science/cp2k: Broken on systems where OpenMP isn't enabled
Reported by: fallout
---
science/cp2k/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/science/cp2k/Makefile b/science/cp2k/Makefile
index e3ae9b25e992..69821edbdbca 100644
--- a/science/cp2k/Makefile
+++ b/science/cp2k/Makefile
@@ -9,6 +9,10 @@ COMMENT= Quantum chemistry and solid state physics software package
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
BUILD_DEPENDS= fypp:devel/py-fypp@${PY_FLAVOR}
LIB_DEPENDS= libblas.so:math/blas \
libfftw3.so:math/fftw3 \