2020-07-31 22:26 UTC, Dima Pasechnik: > > On Fri, Jul 31, 2020 at 10:55 PM Matthias Koeppe: > > > > That's a bug. Please open a ticket > > > > On Friday, July 31, 2020 at 2:44:08 PM UTC-7, Samuel Lelievre wrote: > >> > >> Dear sage-devel, > >> > >> On macOS, alongside my attempts to build Sage > >> using as many Homebrew packages as possible, > >> I am trying to build a "batteries-included" Sage > >> completely independent of Homebrew. > >> > >> I decided to configure with > >> > >> --with-system-gcc=no --with-system-gfortran=no > > --with-system-gcc must be yes on macOS, I think. > You actually cannot build Sage with "real" gcc/g++ on macOS, > you need system's gcc/g++, which is actually not gcc/g++, but clang/clang++ > > system-gcc will come from Xcode, not from Homebrew.
In fact, you can set `--with-system-gcc=no`, and Sage will build its own `gcc` (using the system `clang` to do so), and then use that `gcc` and its `gfortran` to build most other packages. > >> and was expecting the following outcome: > >> > >> - Sage builds its own gcc, which contains gfortran > >> - Sage does not build an additional gfortran > > see above. This won't fly. > > >> but the actual outcome is: > >> > >> - Sage builds its own gcc, which contains gfortran > >> - Sage then tries to build gfortran, which fails > >> with an error indicating that Sage built its own gcc, > >> which contains gfortran, so gfortran should not be built > >> > >> Were my expectations legitimate and does this deserve a ticket? > > yes, but no, see above. Turns out I obtained my desired outcome by - configuring with `--with-system-gcc=no` - leaving out `--with-system-gfortran` entirely. The ability to do that means the ticket I asked about opening is not an absolute necessity, but should I still open it? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAEcArF3G74qOzFBC2nU2HU8%2B_uLLDO5UG00SENdivAACPTZBeA%40mail.gmail.com.
