X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=sage.sh;h=3b063ad57a2462e11b8bd0def2138c14e3e0d0ac;hb=e225e0d59b33731b86e8d452209a94a2377e2372;hp=e205b4e70b4b744c944ae979880bc4d973f16aa9;hpb=1fa0562b235112b33806d10d3d1eff52a4d52f63;p=bash.d.git diff --git a/sage.sh b/sage.sh index e205b4e..3b063ad 100644 --- a/sage.sh +++ b/sage.sh @@ -15,6 +15,12 @@ _sage_find_ninja(){ command -v "${NINJA}" } +# We have to export this because sage likes to re-bootstrap and +# re-configure itself every time you change a comment in an m4 file, +# and it won't re-configure with this variable set. So then after +# five minutes you'll get an error from --with-system-ninja=force. +export ac_cv_path_NINJA=$(_sage_find_ninja) + # Run ./configure within the SageMath git repository. This tweaks all # of the flags that I don't want to tweak manually: # @@ -31,7 +37,6 @@ _sage_find_ninja(){ # We also override the autoconf variable used to detect ninja, because # it does a version check that isn't compatible with samurai. sage-configure() { - ac_cv_path_NINJA=$(_sage_find_ninja) \ ./configure \ --enable-download-from-upstream-url \ --enable-system-site-packages \ @@ -43,7 +48,6 @@ sage-configure() { --with-system-arb=force \ --with-system-asttokens=force \ --with-system-attrs=force \ - --with-system-backcall=force \ --with-system-beniget=force \ --with-system-boost_cropped=force \ --with-system-brial=force \ @@ -55,6 +59,7 @@ sage-configure() { --with-system-cliquer=force \ --with-system-cmake=force \ --with-system-contourpy=force \ + --with-system-conway_polynomials=force \ --with-system-cppy=force \ --with-system-curl=force \ --with-system-cycler=force \ @@ -93,6 +98,8 @@ sage-configure() { --with-system-idna=force \ --with-system-iml=force \ --with-system-importlib_metadata=force \ + --with-system-ipython=force \ + --with-system-ipywidgets=force \ --with-system-isl=force \ --with-system-jedi=force \ --with-system-jinja2=force \ @@ -148,6 +155,8 @@ sage-configure() { --with-system-primecount=force \ --with-system-primecountpy=force \ --with-system-primesieve=force \ + --with-system-prompt_toolkit=force \ + --with-system-ptyprocess=force \ --with-system-pure_eval=force \ --with-system-pybind11=force \ --with-system-pygments=force \