idiosyn/platforms.nix
2024-07-23 16:58:03 +02:00

23 lines
523 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";
};
}