-
-
Notifications
You must be signed in to change notification settings - Fork 649
Build sirocco extension with C++ #40369
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
LGTM, although I didn't experienced any issues with the sirocco conda package. Just to make sure the CI stays green, is it okay for you that I wait with the positive review until #39944 is merged? |
Documentation preview for this PR (built with commit 785492f; changes) is ready! 🎉 |
That is because the sirocco feature is disabled (quite likely because of this issue) so no sirocco tests are actually being run. From the conda runners from #39944:
So I'd say this should be merged first, to make sure sirocco is properly tested in #39944 |
Ahh thanks, then it would have been indeed better to first merge this PR here. By now reality caught up and Volker already merged #39944. Could you please update this PR - hopefully it just works with the updated conda env. |
Sirocco is a C++ library. Without this, the library symbols are not mangled and the extension is unloadable: ``` sage: from sage.libs.sirocco import contpath --------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 from sage.libs.sirocco import contpath ImportError: /usr/lib/python3.13/site-packages/sage/libs/sirocco.cpython-313-x86_64-linux-gnu.so: undefined symbol: homotopyPath_mp_comps ```
785492f
to
6b5d2d9
Compare
All good now
|
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.
Nice!
sagemathgh-40369: Build sirocco extension with C++ Sirocco is a C++ library. Without this, the library symbols are not mangled and the extension is unloadable: ``` sage: from sage.libs.sirocco import contpath ------------------------------------------------------------------------ --- ImportError Traceback (most recent call last) Cell In[1], line 1 ----> 1 from sage.libs.sirocco import contpath ImportError: /usr/lib/python3.13/site- packages/sage/libs/sirocco.cpython-313-x86_64-linux-gnu.so: undefined symbol: homotopyPath_mp_comps ``` URL: sagemath#40369 Reported by: Antonio Rojas Reviewer(s): Tobias Diez
Sirocco is a C++ library. Without this, the library symbols are not mangled and the extension is unloadable: