git: f0441d2baa06 - main - math/openblas: Fix build on armv6/v7
Mikael Urankar
mikael at FreeBSD.org
Thu Jun 3 16:53:21 UTC 2021
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f0441d2baa061ea8d527c12033a5a905ad9043d8
commit f0441d2baa061ea8d527c12033a5a905ad9043d8
Author: Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-06-03 16:51:32 +0000
Commit: Mikael Urankar <mikael at 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
More information about the dev-commits-ports-all
mailing list