-
-
Notifications
You must be signed in to change notification settings - Fork 613
upgrade gsl to version 2.7 #32587
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
Comments
Branch: public/32587 |
comment:1
Here's an attempt. It seemed to build successfully, but I haven't run any tests so far. New commits:
|
Commit: |
Author: Lorenz Panny |
comment:2
I just ran |
comment:3
Do the changes to the library also work with an older GSL? |
comment:4
They should: The new code simply uses the macros provided by GSL itself (in |
comment:5
In this case, I would recommend the following. Split this ticket into two:
With each of the tickets, we can run portability testing on GH Actions (https://doc.sagemath.org/html/en/developer/portability_testing.html) to make sure that it still works with system GSL on all supported platforms. If necessary, we may need to adjust |
Dependencies: #32607 |
comment:7
Alright, all the code changes are now in #32607. Remaining diff in this branch (after #32607): sagemath/sagetrac-mirror@6633bc4...e4a133f |
comment:8
I'm a bit confused, as Sage with system's GLS 2.7 (as on Gentoo Linux) appears to work without |
comment:9
Replying to @dimpase:
Probably the |
comment:10
From #31621: can we also make the following changes?
diff --git a/build/pkgs/gsl/spkg-install.in b/build/pkgs/gsl/spkg-install.in
index 179b78963a..ef156a7a5c 100644
--- a/build/pkgs/gsl/spkg-install.in
+++ b/build/pkgs/gsl/spkg-install.in
@@ -1,5 +1,5 @@
cd src
-sdh_configure LIBS="`pkg-config --libs-only-l cblas` -lm"
+sdh_configure LIBS="`pkg-config --libs-only-l cblas` -lm" LDFLAGS="$LDFLAGS `pkg-config --libs-only-L cblas`"
sdh_make
sdh_make_install As it stands, on OSX + homebrew,
and the
diff --git a/build/pkgs/gsl/dependencies b/build/pkgs/gsl/dependencies
index 052eb4373d..576809127c 100644
--- a/build/pkgs/gsl/dependencies
+++ b/build/pkgs/gsl/dependencies
@@ -1,4 +1,4 @@
-$(BLAS)
+$(BLAS) | pkgconf
----------
All lines of this file are ignored except the first. since the package installation scripts use |
comment:11
Replying to @jhpalmieri:
Feel free to modify this branch as you please. I don't think I'm familiar enough with Sage's build system to dive any deeper into this... |
comment:12
comment:10 actually gives you diffs you can apply (click on "Unified") I am travelling and probably won't get around to do this before tomorrow |
comment:14
Here are my proposed changes. (Dima actually proposed the change to |
Changed author from Lorenz Panny to Lorenz Panny, John Palmieri |
This comment has been minimized.
This comment has been minimized.
Changed keywords from none to upgrade, gsl |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
... as suggested in #31621 comment:58 |
Reviewer: Dima Pasechnik |
comment:20
lgtm |
comment:21
Merge conflict |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed author from Lorenz Panny, John Palmieri to Lorenz Panny, John Palmieri, Matthias Koeppe |
comment:23
Trivial merge. |
Changed branch from public/32587 to |
One API change in GSL 2.7 causes trouble in Sage, see
Some distros, e.g. Gentoo, now have GSL 2.7 as the default.
Depends on #32607
CC: @orlitzky @sagetrac-tmonteil
Component: packages: standard
Keywords: upgrade, gsl
Author: Lorenz Panny, John Palmieri, Matthias Koeppe
Branch/Commit:
bb8b92d
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/32587
The text was updated successfully, but these errors were encountered: