X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=sage.sh;h=4b87db06e87fa134a1c4aebe9ddb7e94b49da117;hb=59e316944e6ef56174f1b65f8996580770669914;hp=a1731186e7de6610a53efc8cfb54a51068b2c497;hpb=e0507c5b5f9b7cab544523a05ab7ae94ec2cfcb8;p=bash.d.git diff --git a/sage.sh b/sage.sh index a173118..4b87db0 100644 --- a/sage.sh +++ b/sage.sh @@ -8,3 +8,83 @@ 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 \ + --disable-notebook \ + --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-curl=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-qhull=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 \ + "${@}" +}