Skip to content

Commit

Permalink
[PETSc] Require GCC 9 for libgfortran5
Browse files Browse the repository at this point in the history
The linker that comes with GCC 8 emits a warning on `{i686,x86_64}-linux-musl` and that makes configuration script fail.
  • Loading branch information
giordano authored Jul 13, 2021
1 parent ac2539b commit 0c6ee6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions P/PETSc/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ sources = [
# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/petsc*
includedir="${prefix}/include"
atomic_patch -p1 $WORKSPACE/srcdir/patches/petsc_name_mangle.patch
BLAS_LAPACK_LIB="${libdir}/libopenblas.${dlext}"
Expand Down Expand Up @@ -88,4 +87,4 @@ dependencies = [
]

# Build the tarballs.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version = v"6")
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; preferred_gcc_version = v"9")

0 comments on commit 0c6ee6c

Please sign in to comment.