I was trying to build the add example, and since the guide makes no mention that linux isn't supported I assumed it was. When I ran the build script, I get Unsupported target with no matching prebuilt LLVM:x86_64-unknown-linux-gnu, install LLVM and set LLVM_CONFIG.
I went through the build script and saw this:
fn target_to_llvm_prebuilt(target: &str) -> String {
println!("Target: {}", target);
let base = match target {
"x86_64-pc-windows-msvc" => "windows-x86_64",
// NOTE(RDambrosio016): currently disabled because of weird issues with segfaults and building the C++ shim
//"x86_64-unknown-linux-gnu" => "linux-x86_64",
_ => panic!("Unsupported target with no matching prebuilt LLVM: `{}`, install LLVM and set LLVM_CONFIG", target)
};
format!("{}.tar.xz", base)
}
This is only downloading the prebuilt version of LLVM, set LLVM_CONFIG to where your llvm-config binary is. Note that this should be an absolute path, not relative (like ../../path/to/llvm)
I was trying to build the add example, and since the guide makes no mention that linux isn't supported I assumed it was. When I ran the build script, I get
Unsupported target with no matching prebuilt LLVM:
x86_64-unknown-linux-gnu, install LLVM and set LLVM_CONFIG
.I went through the build script and saw this:
So is there a plan to re-support linux?