Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2022 02:06:14 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: caa6112c41b2 - main - science/cp2k: Broken on systems where OpenMP isn't enabled
Message-ID:  <202207250206.26P26Ew7061324@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207250206.26P26Ew7061324>