Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2022 07:34:48 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: 39c5a8fe6ba8 - main - science/gbtolib: Broken on systems where OpenMP isn't enabled
Message-ID:  <202207300734.26U7YmwI074042@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=39c5a8fe6ba891857e9859624dd5cd662344db59

commit 39c5a8fe6ba891857e9859624dd5cd662344db59
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-30 07:33:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-30 07:34:35 +0000

    science/gbtolib: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
---
 science/gbtolib/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/science/gbtolib/Makefile b/science/gbtolib/Makefile
index ec8fcdbf995f..055f95696e3b 100644
--- a/science/gbtolib/Makefile
+++ b/science/gbtolib/Makefile
@@ -10,6 +10,10 @@ COMMENT=	High-performance library for evaluation of molecular integrals
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 LIB_DEPENDS=	libopenblas.so:math/openblas
 
 USES=		cmake fortran zip



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