Skip to content

WIP: python3Packages.load_libstdcxx: init at 0.0.1#224686

Closed
SomeoneSerge wants to merge 4 commits intoNixOS:masterfrom
SomeoneSerge:load_libstdcxx
Closed

WIP: python3Packages.load_libstdcxx: init at 0.0.1#224686
SomeoneSerge wants to merge 4 commits intoNixOS:masterfrom
SomeoneSerge:load_libstdcxx

Conversation

@SomeoneSerge
Copy link
Copy Markdown
Contributor

Description of changes

A helper for verifying that python packages built with a non-standard stdenv (e.g. cuda-enabled packages overriding the stdenv to satisfy nvcc) do not cause libstdc++ mismatch errors at runtime. Just append this module to pythonImportsCheck

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Apr 4, 2023
// E.g. earlier we've observed the combination of [ "torch" "zmq" ] fail
// because of std::condition_variable
m.def("dummy", []() {
// Copy-pasted from
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this is very stupid. We need a reliable way to ask for specific symbols, and we need an automatic update script for this derivation: e.g. one that objdumps the current libstdcxx, sorts symbols by versions, and takes the newest stuff.

On that note, I should rework tests.loadOld. The fact that it works right now is sheer accident

@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Apr 4, 2023
@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant