You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Compiling python dependencies with rosetta is really hard
It requires:
Defining rosetta-pkgs to use all over the devenv.nix
Add rosetta versions of dependencies to packages
changing the stdenv to the rosetta version to get working compilers
Defining an environment variable export DYLD_FALLBACK_LIBRARY_PATH="${rosettaPkgs.lib.makeLibraryPath [ rosettaPkgs.gcc14.cc] }:$DYLD_FALLBACK_LIBRARY_PATH" to resolve symbols like __ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm
This is surprisingly non simple and not very well documented.
I am toying with the idea that documentation not too dissimilar to this might have helped me:
Describe the bug
Compiling python dependencies with rosetta is really hard
It requires:
packages
stdenv
to the rosetta version to get working compilersexport DYLD_FALLBACK_LIBRARY_PATH="${rosettaPkgs.lib.makeLibraryPath [ rosettaPkgs.gcc14.cc] }:$DYLD_FALLBACK_LIBRARY_PATH"
to resolve symbols like__ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm
This is surprisingly non simple and not very well documented.
I am toying with the idea that documentation not too dissimilar to this might have helped me:
https://gist.github.com/dwt/997fe87c453f9a23fa3368c7d974ce7b
But I also don't quite like the example, because this should be simpler? So probably I am missing something major?
To reproduce
https://gist.github.com/dwt/f8e1de5e9be77ce2d7f3219741beaf43
Detailed logs
Version
The text was updated successfully, but these errors were encountered: