Is your branch on the PR branch of 
https://github.com/sagemath/sage/pull/39571 ? It should be for the current 
release.

I'll take the incremental testing approach.  As a first set of questions:

   - On the Install from Source Code 
   <https://doc.sagemath.org/html/en/installation/source.html> page, the 
   "macOS package installation" paragraph advises the installation of a long 
   list of binary packages with Homebrew, e.g., 
   

   1. 
      1. brew install bdw-gc boost bzip2 cddlib cmake curl ecl flint fplll 
      freetype...
   
I presume that all the listed packages should be installed, if at all 
possible.  Correct?


They are recommended (to decrease the time building sage), but not required.
 



   - Such pkg installations often issue cautions and advice, e.,g.

For compilers to find libffi you may need to set:

  export LDFLAGS="-L/usr/local/opt/libffi/lib"

  export CPPFLAGS="-I/usr/local/opt/libffi/include"


For pkg-config to find libffi you may need to set:

  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" ==> libiconv

To what extent should the environment variables, etc., be modified in order 
to follow this advice?


Let's ignore these now. Just install as many of the recommended system 
packages as possible, and ignore others that fail.


   - If I understand correctly, system binaries which fail to be installed 
   during this preparation phase will be replaced by source from inside the 
   repo (rts files?) which will be built during the compile phase (at the 
   expense of increased build time).  Correct?

Yes
 

The last question may provide an answer to my other question: How is it 
possible to do just the configure/make steps without the preparatory work 
to instal system binaries?  At worst case everything will be built on the 
fly.


Without the preparatory work (meaning "brew ..."), sage will build all 
necessary packages from source and install them into "SAGE_ROOT/local/" 
where SAGE_ROOT is where you cloned sage repo.

Leave checks for:

[O] brew upgrade
[O] brew install ...
[O] gh pr checkout 39571 (and you are on 
https://github.com/sagemath/sage/pull/39571)
[O] source .homebrew-build-env
[X] make distclean 
[X] ./bootstrap 
[X] ./configure 
[X] make
[X] sage -tp --all  

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/0301fa51-ccf9-4218-a637-c5206d5dc309n%40googlegroups.com.

Reply via email to