From c8a579750e66106ba2441e7ddac7b92fe77cc86d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 26 Jul 2021 08:18:54 -0400 Subject: [PATCH] sage.sh: add sage-configure() function. --- sage.sh | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/sage.sh b/sage.sh index a173118..33d7f5a 100644 --- a/sage.sh +++ b/sage.sh @@ -8,3 +8,79 @@ export SAGE_INSTALL_GCC=no # This is trinary, ha ha! export SAGE_DEBUG=no +# Run ./configure within the SageMath git repository. This tweaks all +# of the flags that I don't want to tweak manually: +# +# * --enable-download-from-upstream-url: needed when adding new SPKGs +# * --disable-r: I don't really use R +# * --disable-cvxopt: I don't really use cvxopt +# * --with-system-foo=force: ensure that the system packages I have +# installed are actually used. +# +# TODO: --with-system-gengetopt=force +# --with-system-lcalc=force +# +sage-configure() { + ./configure \ + --enable-download-from-upstream-url \ + --disable-r \ + --disable-cvxopt \ + --with-system-arb=force \ + --with-system-boost_cropped=force \ + --with-system-brial=force \ + --with-system-bzip2=force \ + --with-system-cddlib=force \ + --with-system-cliquer=force \ + --with-system-cmake=force \ + --with-system-ecl=force \ + --with-system-eclib=force \ + --with-system-fflas_ffpack=force \ + --with-system-flint=force \ + --with-system-fplll=force \ + --with-system-gc=force \ + --with-system-gcc=force \ + --with-system-gf2x=force \ + --with-system-gfan=force \ + --with-system-gfortran=force \ + --with-system-giac=force \ + --with-system-git=force \ + --with-system-givaro=force \ + --with-system-gsl=force \ + --with-system-iconv=force \ + --with-system-iml=force \ + --with-system-isl=force \ + --with-system-libatomic_ops=force \ + --with-system-libbraiding=force \ + --with-system-libffi=force \ + --with-system-libgd=force \ + --with-system-libhomfly=force \ + --with-system-libnauty=force \ + --with-system-libpng=force \ + --with-system-lrcalc=force \ + --with-system-m4ri=force \ + --with-system-m4rie=force \ + --with-system-mpfr=force \ + --with-system-nauty=force \ + --with-system-ncurses=force \ + --with-system-ninja_build=force \ + --with-system-ntl=force \ + --with-system-openblas=force \ + --with-system-pari=force \ + --with-system-patch=force \ + --with-system-perl_term_readline_gnu=force \ + --with-system-planarity=force \ + --with-system-ppl=force \ + --with-system-python3=force \ + --with-system-readline=force \ + --with-system-rw=force \ + --with-system-sqlite=force \ + --with-system-suitesparse=force \ + --with-system-symmetrica=force \ + --with-system-sympow=force \ + --with-system-tachyon=force \ + --with-system-tox=force \ + --with-system-yasm=force \ + --with-system-xz=force \ + --with-system-zeromq=force \ + --with-system-zlib=force +} -- 2.43.2