if (host_cpu == "x64") { | |
if (host_os == "linux") { | |
llvm_host_triple = "x86_64-unknown-linux-gnu" | |
} else if (host_os == "mac") { | |
llvm_host_triple = "x86_64-apple-darwin" | |
} else if (host_os == "win") { | |
llvm_host_triple = "x86_64-pc-windows" | |
} | |
} else { | |
assert(false, "unimplemented host_cpu " + host_cpu) | |
} | |
declare_args() { | |
# The default target triple. | |
llvm_target_triple = llvm_host_triple | |
} |