Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
ensure gfortran is available
Browse files Browse the repository at this point in the history
as gfortran is used in a test here, we really need it,
cf #29071:comment:31
  • Loading branch information
dimpase committed Jan 28, 2020
1 parent a0acbcb commit 5ee6844
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/pkgs/openblas/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SAGE_SPKG_CONFIGURE([openblas], [
SAGE_SPKG_DEPCHECK([gfortran], [
PKG_CHECK_MODULES([OPENBLAS], [openblas >= 0.2.20], [
PKG_CHECK_VAR([OPENBLASPCDIR], [openblas], [pcfiledir], [
sage_install_blas_pc=yes
Expand Down Expand Up @@ -26,7 +27,8 @@ SAGE_SPKG_CONFIGURE([openblas], [
AC_CONFIG_LINKS([$SAGE_SRC/lib/pkgconfig/]blaslibnam[.pc:$OPENBLASPCDIR/openblas.pc])])
])
])
], [
])
], [
AS_IF([test "x$with_blas" = xopenblas], [
sage_require_openblas=yes
sage_require_atlas=no])
Expand Down

0 comments on commit 5ee6844

Please sign in to comment.