]> gitweb.michael.orlitzky.com - bash.d.git/blob - sage.sh
sage.sh: add sage-configure() function.
[bash.d.git] / sage.sh
1 #
2 # sage settings
3 #
4
5 # This is the default, but let's make sure.
6 export SAGE_INSTALL_GCC=no
7
8 # This is trinary, ha ha!
9 export SAGE_DEBUG=no
10
11 # Run ./configure within the SageMath git repository. This tweaks all
12 # of the flags that I don't want to tweak manually:
13 #
14 # * --enable-download-from-upstream-url: needed when adding new SPKGs
15 # * --disable-r: I don't really use R
16 # * --disable-cvxopt: I don't really use cvxopt
17 # * --with-system-foo=force: ensure that the system packages I have
18 # installed are actually used.
19 #
20 # TODO: --with-system-gengetopt=force
21 # --with-system-lcalc=force
22 #
23 sage-configure() {
24 ./configure \
25 --enable-download-from-upstream-url \
26 --disable-r \
27 --disable-cvxopt \
28 --with-system-arb=force \
29 --with-system-boost_cropped=force \
30 --with-system-brial=force \
31 --with-system-bzip2=force \
32 --with-system-cddlib=force \
33 --with-system-cliquer=force \
34 --with-system-cmake=force \
35 --with-system-ecl=force \
36 --with-system-eclib=force \
37 --with-system-fflas_ffpack=force \
38 --with-system-flint=force \
39 --with-system-fplll=force \
40 --with-system-gc=force \
41 --with-system-gcc=force \
42 --with-system-gf2x=force \
43 --with-system-gfan=force \
44 --with-system-gfortran=force \
45 --with-system-giac=force \
46 --with-system-git=force \
47 --with-system-givaro=force \
48 --with-system-gsl=force \
49 --with-system-iconv=force \
50 --with-system-iml=force \
51 --with-system-isl=force \
52 --with-system-libatomic_ops=force \
53 --with-system-libbraiding=force \
54 --with-system-libffi=force \
55 --with-system-libgd=force \
56 --with-system-libhomfly=force \
57 --with-system-libnauty=force \
58 --with-system-libpng=force \
59 --with-system-lrcalc=force \
60 --with-system-m4ri=force \
61 --with-system-m4rie=force \
62 --with-system-mpfr=force \
63 --with-system-nauty=force \
64 --with-system-ncurses=force \
65 --with-system-ninja_build=force \
66 --with-system-ntl=force \
67 --with-system-openblas=force \
68 --with-system-pari=force \
69 --with-system-patch=force \
70 --with-system-perl_term_readline_gnu=force \
71 --with-system-planarity=force \
72 --with-system-ppl=force \
73 --with-system-python3=force \
74 --with-system-readline=force \
75 --with-system-rw=force \
76 --with-system-sqlite=force \
77 --with-system-suitesparse=force \
78 --with-system-symmetrica=force \
79 --with-system-sympow=force \
80 --with-system-tachyon=force \
81 --with-system-tox=force \
82 --with-system-yasm=force \
83 --with-system-xz=force \
84 --with-system-zeromq=force \
85 --with-system-zlib=force
86 }