Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2022 10:24: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: 64dc70d08a58 - main - science/tblite: Broken on systems where OpenMP isn't enabled
Message-ID:  <202207241024.26OAOmKu085307@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=64dc70d08a580878dd0e7eebfd60bcd34eb19c46

commit 64dc70d08a580878dd0e7eebfd60bcd34eb19c46
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-24 10:24:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-24 10:24:22 +0000

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

diff --git a/science/tblite/Makefile b/science/tblite/Makefile
index fddfbac47557..a4fc0c97b56d 100644
--- a/science/tblite/Makefile
+++ b/science/tblite/Makefile
@@ -9,6 +9,10 @@ COMMENT=	Light-weight tight-binding framework
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 BUILD_DEPENDS=	mstore>0:science/mstore # unclear if this is really needed
 LIB_DEPENDS=	libdftd4.so:science/dftd4 \
 		libmctc-lib.so:science/mctc-lib \



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