Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2021 16:53:21 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f0441d2baa06 - main - math/openblas: Fix build on armv6/v7
Message-ID:  <202106031653.153GrLXM096052@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

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

commit f0441d2baa061ea8d527c12033a5a905ad9043d8
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2021-06-03 16:51:32 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-06-03 16:51:32 +0000

    math/openblas: Fix build on armv6/v7
    
    OpenMP is not available on these arches:
      In file included from ../common.h:847:
      ../common_thread.h:43:10: fatal error: 'omp.h' file not found
    
    Approved by:    portmgr (build fix blanket)
---
 math/openblas/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index f26bc3cfd41d..cc668db51d8b 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -42,6 +42,8 @@ OPTIONS_DEFINE=			DYNAMIC_ARCH INTERFACE64 OPENMP
 OPTIONS_DEFAULT=		OPENMP
 OPTIONS_DEFINE_i386=		AVX AVX2
 OPTIONS_DEFINE_amd64=		AVX AVX2
+OPTIONS_EXCLUDE_armv6=		OPENMP
+OPTIONS_EXCLUDE_armv7=		OPENMP
 OPTIONS_EXCLUDE_powerpc64le=	OPENMP
 OPTIONS_EXCLUDE_powerpc64=	OPENMP
 OPTIONS_EXCLUDE_powerpc=	OPENMP



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