-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Musl build fails due to a a missing _SC_LEVEL1_DCACHE_LINESIZE
.
#2939
Comments
Support for MUSL would be nice, because it opens the door to interoperability with several systems that pose challenges today (an example being the zig compilation environment). I am wondering if there are one or two things that would need to be tidied up in pxr/base/arch? Or is it a bottomless pit of "oh no, what now???" |
@meshula I just applied a bunch of hacky patches and got it compiling with just this: release...expenses:USD:musl-patch. Looks like it's mostly contained to pxr/base/arch with a few missing file defines. |
Looks straight forward, and could probably resolved fairly transparently. The nice to have would be a solution for |
Filed as internal issue #USD-9276 |
Yep, I totally agree. I was just investigating what was required to get things building in a reasonably correct manner. |
I'm having an issue because of Musl too. In our CI/CDs, we're using an image based on Alpine. It's not easy to change the base image as it's the same image for all our .NET projects. We didn't have issues until this one .NET project requiring to run a Python script depending on the We could try and change for a (Just for cross-referencing, it's also mentioned in this other comment: #1073 (comment)) |
Description of Issue
I recently tried to get OpenUSD building for the Musl libc so that I could have a totally static build. To do this I'm using the nix flake I wrote for openusd: https://github.com/expenses/openusd-minimal-nix, using the musl
callPackage
:musl = pkgs.pkgsMusl.callPackage ./package.nix { };
. Compiliation fails with the following:This appears to be a fairly well-known issue, taviso/ctypes.sh#53 is the same thing.
Package Versions
I'm attempting to build
v23.11
(commit 0b18ad3) on x86_64 linux, everything else is kinda N/A at this time.The commit of the flake I'm testing is expenses/openusd-minimal-nix@825a126 with a small patch:
I'm going to try and patch around this issue to see if I can get this working.
The text was updated successfully, but these errors were encountered: