Skip to content

Commit

Permalink
Workaround for passing givaro library to linker on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed May 17, 2024
1 parent ffbbea9 commit 5756422
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/pkgs/fflas_ffpack/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ if [ -z "$CONFIG_SHELL" ]; then
export CONFIG_SHELL=`command -v bash`
fi

# Dirty workaround to link on OSX
# https://github.com/linbox-team/fflas-ffpack/issues/391
# https://github.com/sagemath/sage/issues/38002
if [ "$UNAME" = Darwin ]; then
LDFLAGS="-lgivaro $LDFLAGS"
fi

# We disable openmp because of build failures, see
# https://github.com/sagemath/sage/issues/17635#comment:67
sdh_configure --with-default="$SAGE_LOCAL" --with-blas-libs="$LINBOX_BLAS" \
Expand Down

0 comments on commit 5756422

Please sign in to comment.