git: cc24db0a99ff - main - math/suitesparse: fix build on armv7

Piotr Kubaj pkubaj at FreeBSD.org
Sun Aug 22 00:29:56 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cc24db0a99ffa135832140db847def356a5247b9

commit cc24db0a99ffa135832140db847def356a5247b9
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-08-22 00:29:33 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-08-22 00:29:33 +0000

    math/suitesparse: fix build on armv7
    
    libomp is not available on LLVM on armv7.
---
 math/suitesparse/bsd.suitesparse.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/suitesparse/bsd.suitesparse.mk b/math/suitesparse/bsd.suitesparse.mk
index a0f573efc422..4c20bede81f5 100644
--- a/math/suitesparse/bsd.suitesparse.mk
+++ b/math/suitesparse/bsd.suitesparse.mk
@@ -76,6 +76,7 @@ OPENBLAS_USES=		blaslapack:openblas
 .if defined(OMP_NEEDED)
 OPTIONS_DEFINE+=	OPENMP
 OPTIONS_EXCLUDE_aarch64=	OPENMP
+OPTIONS_EXCLUDE_armv7=	OPENMP
 OPTIONS_EXCLUDE_powerpc=	OPENMP
 OPTIONS_DEFAULT+=	OPENMP
 


More information about the dev-commits-ports-main mailing list