-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./configure CC=/path/to/gcc ... #22646
Comments
comment:2
I guess that should be extended to Would that need to over-ride |
comment:3
Yes, all of CC, CXX, FC, etc. In my opinion, if the user provides a specific CC, CXX in this way and configure finds out that they are not suitable, that should be an error. A gcc package should only be installed if no CC, CXX were provided in this way by the user. |
comment:4
OK, past experience shows that if you set something special at build time, it is forgotten at runtime (see #21701) so we will need to leverage |
comment:5
Yes, |
Author: François Bissey |
Branch: u/fbissey/compilers |
comment:6
This is a first draft for this. I am dropping the setting for New commits:
|
Commit: |
comment:7
OK I am looking to make #12426 on this soon and rework slightly the toolchain building in the case were we only build gfortran. In the absence of further comments, I am putting this for review. I'll attach a configure tarball. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
regarding CPP, there are some packages ( |
comment:16
Replying to @dimpase:
Is it because |
comment:17
Just looked over at The thing that I particularly don't like is
in |
comment:18
Replying to @dimpase:
Reported to |
comment:19
I would like to test this with gcc-6 because my defafult gcc 7.1 is causing troubles (see this sage thread). Is that all what I should do on a freshly cloned Sage?
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:119
Progress on the documentation? |
comment:120
I have a draft somewhere. I am just on too spread out. |
comment:122
Ok rebased and added some documentation. I don't think it is particularly great feedback appreciated. |
This comment has been minimized.
This comment has been minimized.
comment:123
Attachment: configure-235.tar.gz |
This comment has been minimized.
This comment has been minimized.
comment:124
A few minor suggestions for the documentation: in the first sentence, it is ambiguous about which variables need to be specified just for OS X. Maybe something like this instead:
Also, change "over-riden" to "over-ridden" and change "sage" to "Sage" (twice). Otherwise, I don't have anything to add to it; I think it's fine. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:126
OK, revision included. It is ready for someone to push the positive review button. |
Reviewer: Matthias Koeppe, Jeroen Demeyer, Vincent Delecroix, John Palmieri, Dima Pasechnik |
comment:128
Great! Now on to #12426? |
comment:129
Replying to @jhpalmieri:
yes, sure. I'll test it for building gfortran on FreeBSD. |
comment:130
Replying to @jhpalmieri:
Thanks everyone! For #12426. It would be nice to have it in 8.1 but some people may feel the shift warrants it to go first thing in 8.2.beta0. We could take the debate to sage-devel. Things needed in my opinion for #12426:
|
comment:131
Replying to @kiwifb:
eclib already took advantage of clang, it helped finding a couple of ugly memory leaks... I think it can be done after this ticket - working without a properly supported toolchain is tricky.
Why is this so urgent, and again, such things are harder to fix
What is this about? giac certainly would benefit from more uniform following c++11 or/and gnu++11...
|
comment:132
More urgent is doing all that is possible for standard packages that have a testsuite to pass it with clang. This won't happen at this stage for clang on linux is just a nice side effect :) and the last ticket for it to work once #12426 is merged is in. Note that #12426 makes it possible to use |
comment:133
IMHO, this all should be dealt with on follow-up tickets, and #12426 ought to get in without them. |
Changed branch from u/fbissey/compilers to |
comment:135
Follow-up: #23789 |
Changed commit from |
Standard autotools packages allow variables such as CC to be set at configure time using
In this ticket, we add support for this. (The syntax already works, but the settings right now only end up in the unused file
build/make/Makefile-auto
.)New configure tarball:
https://github.com/sagemath/sage/files/ticket22646/configure-235.tar.gz
CC: @jdemeyer @kiwifb
Component: build
Author: François Bissey
Branch:
99eb31f
Reviewer: Matthias Koeppe, Jeroen Demeyer, Vincent Delecroix, John Palmieri, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/22646
The text was updated successfully, but these errors were encountered: