diff --git a/G/GIAC/build_tarballs.jl b/G/GIAC/build_tarballs.jl index cc982646cf7..0a3a51ce4e8 100644 --- a/G/GIAC/build_tarballs.jl +++ b/G/GIAC/build_tarballs.jl @@ -7,13 +7,13 @@ using BinaryBuilder, Pkg name = "GIAC" -version = v"2.0.1" +version = v"2.0.2" # Collection of sources required to build GIAC # Using the Meson-based fork from https://github.com/s-celles/giac sources = [ GitSource("https://github.com/s-celles/giac.git", - "194ff510872c5b871e316bf5c7dfbe942273bef8"), # dev branch + "64fdcefb45d0599e60083e785a3cc033e74714ee"), # dev branch + GIAC_TYPE_ON_8BITS default ] # Bash recipe for building across all platforms @@ -26,6 +26,49 @@ if [[ "${target}" == *freebsd* ]]; then GETTEXT_OPT="disabled" fi +# Meson's dependency('blas')/dependency('lapack') want blas.pc/lapack.pc, but +# OpenBLAS_jll only ships openblas.pc. Provide self-contained wrapper .pc +# files (skip on macOS — Giac will detect the Accelerate framework instead). +if [[ "${target}" != *apple-darwin* ]]; then + mkdir -p ${prefix}/lib/pkgconfig + cat > ${prefix}/lib/pkgconfig/blas.pc < ${prefix}/lib/pkgconfig/lapack.pc < ${prefix}/lib/pkgconfig/glpk.pc <