build(nix): make it possible to build powerpc64le-linux and riscv64-linux builds#8354
Draft
link2xt wants to merge 1 commit into
Draft
build(nix): make it possible to build powerpc64le-linux and riscv64-linux builds#8354link2xt wants to merge 1 commit into
link2xt wants to merge 1 commit into
Conversation
4259198 to
9be1444
Compare
d30c5cc to
bf1f005
Compare
9be1444 to
a469d31
Compare
bf1f005 to
72c704d
Compare
a469d31 to
62c1877
Compare
…inux builds I have checked locally with "nix repl nixpkgs", these are the targets currently supported: - legacyPackages.aarch64-darwin - legacyPackages.aarch64-linux - legacyPackages.armv6l-linux - legacyPackages.armv7l-linux - legacyPackages.i686-linux - legacyPackages.powerpc64le-linux - legacyPackages.riscv64-linux - legacyPackages.x86_64-darwin - legacyPackages.x86_64-freebsd - legacyPackages.x86_64-linux Now we have all supported targets in the flake except for x86_64-freebsd I tested locally that the builds work, but have not tested if it is possible to run them. After running "nix build .#deltachat-rpc-server-powerpc64le-linux" "file result/bin/deltachat-rpc-server" prints: result/bin/deltachat-rpc-server: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (SYSV), statically linked, stripped After running "nix build .#deltachat-rpc-server-riscv64-linux" "file result/bin/deltachat-rpc-server" prints: result/bin/deltachat-rpc-server: ELF 64-bit LSB pie executable, UCB RISC-V, RVC, double-float ABI, version 1 (SYSV), dynamically linked, interpreter /nix/store/ba1gsm7zvwl7id5njwzdx1igbdqydhm3-musl-riscv64-unknown-linux-musl-1.2.5/lib/ld-musl-riscv64.so.1, stripped
62c1877 to
32b0e63
Compare
72c704d to
37337d5
Compare
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.
Part of #8349
Based on #8272