-
-
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
libnvidia-container: fix cross-compilation for aarch64-linux #372148
Conversation
cf3ee00
to
8763cdb
Compare
Will give this a spin on my x86 box tomorrow! Thanks for the patch. Diff LGTM so far, but I'd still want to test it. |
|
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.
Works! Discovered #372320 in the process of testing, but this is unrelated to this PR.
Signed-off-by: Alexander V. Nikolaev <[email protected]>
8763cdb
to
a5fef0d
Compare
|
I discovered now that this patch causes some dangling library symlinks in the output. Non-critical, but will fix. It's specifically the below lines causing it: substituteInPlace mk/common.mk \
--replace-fail objcopy '$(OBJCOPY)' \
--replace-fail ldconfig true |
Fix cross-compilation issues on aarch64-linux
Note: I didn't test resulting binaries on x86, because haven't nvidia in my x86_64 box
(probably need more testing on aarch64 Tegra as well)
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.