-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
sage.env._get_shared_lib_filename: Fix for MULTIARCH #30901
Comments
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
Why does it change the code for Cygwin? Beyond the scope of the ticket. And why does it change the doctest to |
comment:6
Thanks for the review! I had to change the Cygwin code as it previously took the last match of For the doctest change, the method returns the following path on my system: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
If you want to make changes to the Cygwin code, then you'll have to test it on Cygwin as well. We have a severe shortage of Cygwin developers/testers and we cannot just replace tested code by untested code. |
comment:9
That make sense, I was under the impression that you also have CI for cygwin. I have tested the code manually during development. After
returns, as expected,
|
comment:10
GH Actions cygwin build is very flaky, as it has to be done in stages due to time limits. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed keywords from none to sd111 |
comment:14
I think the error handling in |
This comment has been minimized.
This comment has been minimized.
comment:17
Replying to @mkoeppe:
There were two existence checks in |
This comment has been minimized.
This comment has been minimized.
comment:18
By the way, I didn't change the variables to |
comment:19
Replying to @tobiasdiez:
Thanks for pointing this out. But then I think the renaming of Also, please let's get rid of the helper function |
comment:20
The Cygwin tests are now a bit more robust and although it did not run through completely because of an unrelated problem, it seems OK. |
comment:21
Replying to @mkoeppe:
But it's the complete path (as a string) that is returned, and not just the name of the file (relative to some folder). |
comment:22
OK, fine |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:24
Replying to @mkoeppe:
Done! |
Changed reviewer from https://github.com/mkoeppe/sage/actions/runs/421393158, https://github.com/mkoeppe/sage/actions/runs/421393151 to Matthias Koeppe |
comment:26
Thanks! |
Changed branch from public/build/multiarchsimple to |
On distributions that use the multiarch installation scheme, python provides the
MULTIARCH
sysconfig variable.We modify
sage.env._get_shared_lib_filename
to use it.(Currently it tries to use
MULTILIB
which does not exist.)Moreover, I took the opportunity to refactor the code in the
_get_shared_lib_filename
method to usepathlib
.(extracted from #30371)
CC: @tobiasdiez @kiwifb @tobihan @embray @dimpase
Component: build
Keywords: sd111
Author: Tobias Diez
Branch/Commit:
fa4556a
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/30901
The text was updated successfully, but these errors were encountered: