23 lines
524 B
Nix
23 lines
524 B
Nix
{
|
|
"x86_64-linux" = {
|
|
system = "x86_64-linux";
|
|
#config = "x86_64-unknown-linux-musl";
|
|
#gcc.arch = "x86-64-v3";
|
|
useLLVM = true;
|
|
linker = "lld";
|
|
};
|
|
"aarch64-linux" = {
|
|
system = "aarch64-linux";
|
|
#config = "aarch64-unknown-linux-musl";
|
|
gcc.arch = "armv8.2-a";
|
|
useLLVM = true;
|
|
linker = "lld";
|
|
};
|
|
"riscv64-linux" = {
|
|
system = "aarch64-linux";
|
|
#config = "riscv64-unknown-linux-musl";
|
|
gcc.arch = "rv64imafdc_zicsr_zba_zbb";
|
|
useLLVM = true;
|
|
linker = "lld";
|
|
};
|
|
}
|