This commit is contained in:
parent
79590ac8aa
commit
4c02130366
10
flake.nix
10
flake.nix
|
@ -17,12 +17,12 @@
|
||||||
in {
|
in {
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
llvmPackages_16.bintools
|
llvmPackages_17.bintools
|
||||||
llvmPackages_16.libllvm
|
llvmPackages_17.libllvm
|
||||||
llvmPackages_16.llvm
|
llvmPackages_17.llvm
|
||||||
llvmPackages_16.stdenv
|
llvmPackages_17.stdenv
|
||||||
rocmPackages.llvm.polly
|
rocmPackages.llvm.polly
|
||||||
clang
|
clang_17
|
||||||
rustup
|
rustup
|
||||||
glib
|
glib
|
||||||
gcc
|
gcc
|
||||||
|
|
10
zci.toml
10
zci.toml
|
@ -27,13 +27,13 @@ server_port = 8080
|
||||||
[compile]
|
[compile]
|
||||||
cache = false
|
cache = false
|
||||||
# compiler = "clang"
|
# compiler = "clang"
|
||||||
compiler = "compiler"
|
compiler = "compiler-cs"
|
||||||
# compile_cmd = "{compiler} -S {sy} -l {asm} -o /dev/null"
|
# compile_cmd = "{compiler} -S {sy} -l {asm} -o /dev/null"
|
||||||
compile_cmd = "{compiler} -S {sy} -o {asm}"
|
compile_cmd = "{compiler} -S {sy} -o {asm} -O"
|
||||||
|
|
||||||
[asm2bin]
|
[asm2bin]
|
||||||
cache = false
|
cache = false
|
||||||
asm2bin_cmd = "riscv64-unknown-linux-gnu-gcc {asm} -Llib -lsysy -march=rv64gc -o {bin}"
|
asm2bin_cmd = "riscv64-unknown-linux-gnu-gcc {asm} -I lib -Llib -lsysy -march=rv64gc -o {bin}"
|
||||||
|
|
||||||
[execute]
|
[execute]
|
||||||
cache = false
|
cache = false
|
||||||
|
@ -44,8 +44,8 @@ intermediary_break = false
|
||||||
|
|
||||||
[expect]
|
[expect]
|
||||||
cache = false
|
cache = false
|
||||||
compile_cmd = "riscv64-unknown-linux-gnu-gcc -x c {sy} -S -o {asm} -march=rv64gc"
|
compile_cmd = "riscv64-unknown-linux-gnu-gcc -x c {sy} -I lib -S -o {asm} -march=rv64gc"
|
||||||
asm2bin_cmd = "riscv64-unknown-linux-gnu-gcc {asm} -Lsysy-data/lib -lsysy -march=rv64gc -o {bin}"
|
asm2bin_cmd = "riscv64-unknown-linux-gnu-gcc {asm} -I lib -Llib -lsysy -march=rv64gc -o {bin}"
|
||||||
execute_cmd = "qemu-riscv64 {bin}"
|
execute_cmd = "qemu-riscv64 {bin}"
|
||||||
|
|
||||||
[clean]
|
[clean]
|
||||||
|
|
Loading…
Reference in New Issue