@@ -650,7 +650,7 @@ Most users won't need to set any of these: the build process just works on many
650
650
platforms.
651
651
(Note though that setting :envvar: `MAKE `, as described below, can significantly
652
652
speed up the process.)
653
- Building Sage involves building about 100 packages, each of which has its own
653
+ Building Sage involves building many packages, each of which has its own
654
654
compilation instructions.
655
655
656
656
@@ -677,11 +677,6 @@ Here are some of the more commonly used variables affecting the build process:
677
677
and `Parallel building
678
678
<https://www.gnu.org/software/make/manual/make.html#Parallel> `_.
679
679
680
- .. warning ::
681
-
682
- Some users on single-core macOS machines have reported problems when
683
- building Sage with ``MAKE='make -jNUM' `` with ``NUM `` greater than one.
684
-
685
680
.. envvar :: V
686
681
687
682
If set to ``0 ``, silence the build. Instead of showing a detailed
@@ -754,14 +749,22 @@ Sage-specific environment variables controlling the build process
754
749
connection. The git repository, however, does not contain the source
755
750
code for third-party packages. Instead, it will be downloaded as
756
751
needed (note: you can run ``make download `` to force downloading
757
- packages before building). Package downloads use the Sage mirror
758
- network, the nearest mirror will be determined automatically for
759
- you. This is influenced by the following environment variable:
752
+ packages before building).
760
753
761
- Try the specified mirror first, before falling back to the official
762
- Sage mirror list . Note that Sage will search the directory
754
+ If :envvar: ` SAGE_SERVER ` is set, the specified Sage mirror is contacted
755
+ first . Note that Sage will search the directory
763
756
``SAGE_SERVER/spkg/upstream `` for upstream tarballs.
764
757
758
+ If downloading a file from there fails or :envvar: `SAGE_SERVER ` is not set,
759
+ files will be attempted to download from release assets of the
760
+ Sage GitHub repository.
761
+
762
+ If that fails too, the Sage mirror network is contacted to determine
763
+ the nearest mirrors.
764
+
765
+ This sequence of operations is defined by the files in the directory
766
+ :file: `$SAGE_ROOT/.upstream.d `.
767
+
765
768
.. envvar :: SAGE_NUM_THREADS
766
769
767
770
If set to a number, then when rebuilding with ``sage -b `` or
@@ -1025,7 +1028,7 @@ Environment variables dealing with specific Sage packages
1025
1028
.. envvar :: OPENBLAS_CONFIGURE
1026
1029
1027
1030
Adds additional configuration flags for
1028
- the OpenBLAS package that gets added to the make command. (see :trac: `23272 `)
1031
+ the OpenBLAS package that gets added to the `` make `` command. (see :trac: `23272 `)
1029
1032
1030
1033
.. envvar :: PARI_CONFIGURE
1031
1034
@@ -1054,13 +1057,13 @@ Environment variables dealing with doctesting
1054
1057
1055
1058
.. envvar :: SAGE_TIMEOUT
1056
1059
1057
- used for Sage's doctesting: the number of seconds
1060
+ Used for Sage's doctesting: the number of seconds
1058
1061
to allow a doctest before timing it out.
1059
1062
If this isn't set, the default is 300 seconds (5 minutes).
1060
1063
1061
1064
.. envvar :: SAGE_TIMEOUT_LONG
1062
1065
1063
- used for Sage's doctesting: the number of
1066
+ Used for Sage's doctesting: the number of
1064
1067
seconds to allow a doctest before timing it out, if tests are run using
1065
1068
``sage -t --long ``.
1066
1069
If this isn't set, the default is 1800 seconds (30 minutes).
0 commit comments