chore(nix): unify Linux cross-compilation toolchains - #3242
Draft
SDAChess wants to merge 4 commits into
Draft
Conversation
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Collaborator
Author
|
/ok-to-test 7e53559 |
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Collaborator
Author
|
/ok-to-test 675411f |
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Collaborator
Author
|
/ok-to-test dc6a328 |
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Collaborator
Author
|
/ok-to-test 6067054 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Use one Nix development shell to build Linux GNU and musl binaries for x86_64 and aarch64. GNU targets link against an explicit glibc 2.28 sysroot with static native libraries, producing portable executables without post-link ELF rewriting.
This draft opens the branch for the existing Linux and macOS shell-realization checks. Workflow migration and documentation are still pending; this is not ready to merge.
Related Issue
No issue linked yet. This draft is for validating the build-toolchain changes; issue linkage remains to be resolved before marking it ready.
Changes
mkShellNoCCshell and four target toolchains.passthru.env.Testing
.#devShells.x86_64-linux.defaultlocally withnix build --no-link.--version, natively on x86_64 and under QEMU on aarch64.git diff --checkpass.mise run pre-commit: attempted, butmiseis not installed in the local environment.mise run cihave not been run.The VM driver was built with its default empty embedded-resource stubs; VM startup was not tested. Existing build/E2E workflows still reference the removed shell names, and the shared build action still performs normalization. Those workflows and native test integration need follow-up before this draft is ready.
Checklist