-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
libdeflate: register static build as test (ref: #144207) #144438
Conversation
I know that static build is broken and I did not fix it yet. I want to make sure that with static build as test CI will fail. |
Any idea why |
Environment variable DISABLE_SHARED (following convention of --disable-shared of ./configure script) disables building of shared library and shared lib symlink. It makes life of downstream maintainer easier when maintaining package for environment that supports only static libraries. See NixOS/nixpkgs#144438
2007d9c
to
f6cb66b
Compare
I also added myself as maintainer to get notifications about changes. Do we have concept of "subscribe to particular path in repository"? |
Environment variable DISABLE_SHARED (following convention of --disable-shared of ./configure script) disables building of shared library and shared lib symlink. It makes life of downstream maintainer easier when maintaining package for environment that supports only static libraries. See NixOS/nixpkgs#144438
Patch build system to make building of shared libraries optional, and disable it when host system is static.
I am not really interested in maintaining package pe-se, but since static version of it is a dependency of something I care about, I want to subscribe to all changes that can potentially break it.
Only GitHub Codeowners but I think you need commit permissions for that to work. |
}; | ||
} | ||
} // (if stdenv.hostPlatform.isStatic then staticArgs else { })) |
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.
Can we just throw this onto staging to avoid this hackery?
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.
Done.
b9b6c7e
to
fd2eefb
Compare
What is the process to get commit bit? |
If you're active enough you can apply through this issue #50105 |
Active is not a real hard requirement. I think the only requirements are that you are a trusted member of the community for a reasonable amount of time and you should use the commit bit somewhat regularly and don't be to inactive. |
Motivation for this change
Fix static build of libdeflate
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)