-
-
Notifications
You must be signed in to change notification settings - Fork 598
build/pkgs/ccache
: Update to 4.10.2
#39119
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
Conversation
Documentation preview for this PR (built with commit 02273ef; changes) is ready! 🎉 |
I tested the branch (and the new ccache) on a mac. Did you test it on any linux? |
Yes, seems to work fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. LGTM.
Thanks.
sagemathgh-39119: `build/pkgs/ccache`: Update to 4.10.2 I also modified `sdh_cmake` slightly, because inputting `.` and `..` together issued a warning. Resolves sagemath#35872. URL: sagemath#39119 Reported by: gmou3 Reviewer(s): gmou3, Kwankyu Lee
sagemathgh-39119: `build/pkgs/ccache`: Update to 4.10.2 I also modified `sdh_cmake` slightly, because inputting `.` and `..` together issued a warning. Resolves sagemath#35872. URL: sagemath#39119 Reported by: gmou3 Reviewer(s): gmou3, Kwankyu Lee
I had an issue in Fedora 41, |
See https://groups.google.com/g/sage-devel/c/ZZIvoEHm5hg for the issue. |
Why does this PR touch a lot a files not related in any way to ccache? |
Another problematic change is that ccache now needs xxhash, and it tries to download it from the internet - something that probably breaks the rules for optional packages. And it also is flaky, see |
I also modified
Indeed, this is an issue. See #39226 for the proposed solution. |
The main issue with this PR is that now for some people installation of the optional package Please see e.g. https://groups.google.com/g/sage-release/c/muFP_3aonHc/m/014QJ6j9DQAJ |
That's unexpected, its |
no, at least 2 users, @JohnCremona and @EmmanuelCharpentier report unwanted installation of ccache. It could be they run same or similar versions of Ubuntu. |
Le jeudi 23 janvier 2025 à 10:58 -0800, Dima Pasechnik a écrit :
> That's unexpected, its optional status hasn't changed. I'll try a
> clean build on my machine later to see if I can reproduce the issue
> (did you try this by any chance?). I can't post on the discussion
> you shared, but it seems that one of the two users has a problem
> relevant to ccache while the other does not.
no, at least 2 users, @JohnCremona [1] and @EmmanuelCharpentier [2]
report unwanted installation of ccache. It could be they run same or
similar versions of Ubuntu.
I'm running Debian testing, upgraded (more or less) daily.
--
Emmanuel Charpentier
—
Reply to this email directly, view it on GitHub [3], or unsubscribe
[4].
You are receiving this because you were mentioned.Message ID:
***@***.***>
[1] @JohnCremona https://github.com/JohnCremona
[2] @EmmanuelCharpentier https://github.com/EmmanuelCharpentier
[3] view it on GitHub
#39119 (comment)
[4] unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4WGTH2MHKKFAUMLMKSBB32ME3T5AVCNFSM6AAAAABTMYOBS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJQG43TSOJRG4
|
My machine runs Ubuntu 22 |
I don't think it's needed any more. Early versions of cmake required a separate build directory, and these instructions might be a leftover from these early days. Did you try without making these changes? I don't see this problem (of unrequested building of ccache spkg) on Gentoo, so this makes for an "interesting" platform-specific bug... |
Not making such changes would require me to diverge from the recommended
So it probably isn't a result of this PR. Maybe the failure just made the building of |
@JohnCremona - could you please check whether reverting this PR (i.e. the commits at https://github.com/sagemath/sage/pull/39119/commits) fixed the issue of the unasked for build of |
Sorry for the delay, I was away. I will try. By reverting the PR, do you mean checking out the commit before the first of these and building from scratch? I did solve the problem by unsetting that macro, so is it necessary to do more? |
I also modified
sdh_cmake
slightly, because inputting.
and..
together issued a warning.Resolves #35872.