Created attachment 207251 [details]
OpenBLAS on POWER is set up to use OpenMP when threads are enabled. This means we always build with OpenMP on POWER. Disable OPENMP option since it doesn't do anything on POWER.
Since Clang is not happy when linking against gfortran-compiled libraries, use GCC to fix linking.
^Triage: Reporter is committer, assign accordingly
Approved as mentor (builds on ppcdevref).
A commit references this bug:
Date: Mon Sep 9 18:01:31 UTC 2019
New revision: 511652
math/openblas: fix build on powerpc64 with clang, remove OPENMP option on powerpc64
On powerpc64 OpenMP is always used when USE_THREADS is defined (which we do unconditionally). This means that OPENMP option on powerpc64 doesn't have any effect and it should be removed.
Clang also has some problems when linking Fortran libraries with OpenMP, so use GCC for powerpc64.
Approved by: firstname.lastname@example.org (maintainer), linimon (mentor)