Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Matthias Koeppe
On Friday, June 25, 2021 at 9:51:08 AM UTC-7 Dima Pasechnik wrote: > I think that > CC=clang ./configure --with-system-gcc > it rather baffling - what should it do? Ignore CC value? Ignore 'gcc' part? > "--with-system-gcc" is the default, so users won't have to type it, so no danger of bafflem

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Dima Pasechnik
On Fri, Jun 25, 2021 at 5:40 PM Matthias Koeppe wrote: > > On Friday, June 25, 2021 at 8:49:22 AM UTC-7 Dima Pasechnik wrote: >> >> We should either create an option --with-cc_c++={gcc (default)|clang} [...] >> or [...] > > > I do not support adding a nonstandard option of this kind. To select a

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Matthias Koeppe
On Friday, June 25, 2021 at 8:49:22 AM UTC-7 Dima Pasechnik wrote: > We should either create an option --with-cc_c++={gcc (default)|clang} > [...] or [...] > I do not support adding a nonstandard option of this kind. To select a compiler, a user needs to pass CC and CXX. This is standard practi

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Matthias Koeppe
I have opened https://trac.sagemath.org/ticket/32060#ticket (configure: Change defaults to --with-system-gcc=force, --with-system-python3=force) for this. On Friday, June 25, 2021 at 8:45:53 AM UTC-7 Matthias Koeppe wrote: > On Friday, June 25, 2021 at 8:17:27 AM UTC-7 mathzeta2 wrote: > >> >>

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Dima Pasechnik
On Fri, Jun 25, 2021 at 4:43 PM TB wrote: > > On 25/06/2021 18:17, TB wrote: > > I have briefly read the thread, and the related threads, but first I > > would like to say thanks to all those who do remote debugging by config > > logs and general support for others. > > > > Few questions below. >

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Matthias Koeppe
On Friday, June 25, 2021 at 8:17:27 AM UTC-7 mathzeta2 wrote: > > Why does Sage builds gcc by default if it can not find it, instead of > what Dima proposes above? Only if ./configure is called with some flag > like "--with-compile-missing-gcc" it will try to build gcc, and > otherwise it will

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread TB
On 25/06/2021 18:17, TB wrote: I have briefly read the thread, and the related threads, but first I would like to say thanks to all those who do remote debugging by config logs and general support for others. Few questions below. On 25/06/2021 16:27, Dima Pasechnik wrote: On Thu, Jun 24, 2021

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread TB
I have briefly read the thread, and the related threads, but first I would like to say thanks to all those who do remote debugging by config logs and general support for others. Few questions below. On 25/06/2021 16:27, Dima Pasechnik wrote: On Thu, Jun 24, 2021 at 11:54 PM Volker Braun wrot

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Michael Orlitzky
On Thu, 2021-06-24 at 18:59 -0700, Matthias Koeppe wrote: > On Thursday, June 24, 2021 at 4:24:10 PM UTC-7 Michael Orlitzky wrote: > > > On Thu, 2021-06-24 at 15:54 -0700, Volker Braun wrote: > > > What about replacing gcc with a script that installs the conda toolchain > > > automatically. The

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Dima Pasechnik
On Fri, Jun 25, 2021 at 2:07 PM kcrisman wrote: > > My biggest concern on this is how flexible things like conda (which I don't > know much about) is for different versions of Mac. I presume that: > > * If you are on Linux, you know how to use a package manager (though there > may be some Ubunt

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread Dima Pasechnik
On Thu, Jun 24, 2021 at 11:54 PM Volker Braun wrote: > > What about replacing gcc with a script that installs the conda toolchain > automatically. automatically is too much, I think. Configure should error out if there is no usable C/C++/gfortran compiler, along with its toolchain friends patch,

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread kcrisman
My biggest concern on this is how flexible things like conda (which I don't know much about) is for different versions of Mac. I presume that: * If you are on Linux, you know how to use a package manager (though there may be some Ubuntu users who do not, I have known some) * If you are on Windo

Re: [sage-devel] Sage 9.4.beta3 failed to build (gcc-10.3.0)

2021-06-25 Thread Kazuyoshi Furutaka
2021年6月24日木曜日 19:41:12 UTC+9 Kazuyoshi Furutaka: > > 2021年6月24日(木) 18:16 Dima Pasechnik : > >> > The Maxima issue is not yet solved, though... >> You are talking about using gcc to build Sage, right? >> > > Yes. > > > >> At least for me, ecl uses clang if it was built with clang. >> > > Stran

Re: [sage-devel] Re: proposal - remove gcc, gfortran, python building/spkgs

2021-06-25 Thread 'jonatha...@googlemail.com' via sage-devel
I never worked with conda, but it looks like it's doable also for an inexperienced person. At the moment we have a somewhat working setup for those poorly maintained systems. I don't want to remove it without a proper alternative. If the alternative is to document that one should/can use conda