Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2022 02:02:23 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: d18cac5da57c - main - math/dbcsr: Broken on systems where OpenMP isn't enabled
Message-ID:  <202207250202.26P22Nf8060815@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=d18cac5da57cb43450eac29de673ff228e65791a

commit d18cac5da57cb43450eac29de673ff228e65791a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-25 02:01:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-25 02:02:21 +0000

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

diff --git a/math/dbcsr/Makefile b/math/dbcsr/Makefile
index 4942afd85abc..47bbedb3afca 100644
--- a/math/dbcsr/Makefile
+++ b/math/dbcsr/Makefile
@@ -9,6 +9,10 @@ COMMENT=	Distributed Block Compressed Sparse Row matrix library
 LICENSE=	GPLv3
 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}
 
 USES=		blaslapack:openblas cmake:noninja compiler:c++14-lang fortran \



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