You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make test on WSL(Ubuntu 18.04, with initial llvm6 removed and llvm-7 installed by apt) fails:
error: failed to run custom build command for `wasmer-llvm-backend v0.4.0 (/home/huangjj27/wasmer/lib/llvm-backend)`
process didn't exit successfully: `/home/huangjj27/wasmer/target/debug/build/wasmer-llvm-backend-3d1adc9289268860/build-script-build` (exit code: 101)
--- stdout
Didn't find usable system-wide LLVM.
No suitable version of LLVM was found system-wide or pointed
to by LLVM_SYS_70_PREFIX.
Consider using `llvmenv` to compile an appropriate copy of LLVM, and
refer to the llvm-sys documentation for more information.
llvm-sys: https://crates.io/crates/llvm-sys
llvmenv: https://crates.io/crates/llvmenv
--- stderr
thread 'main' panicked at 'Could not find a compatible version of LLVM', lib/llvm-backend/build.rs:83:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
I see the same error on Fedora 30 if I install the llvm7.0 and llvm7.0-devel packages. The issue seems to be that Fedora 30 switched to LLVM 8 by default and renames llvm-config of older versions to something else:
Describe the bug
make test
on WSL(Ubuntu 18.04, with initial llvm6 removed and llvm-7 installed by apt) fails:what value should be set to
LLVM_SYS_70_PREFIX
?Steps to reproduce
sudo apt remove llvm -y
, and install llvm-7:sudo apt install llvm-7
If applicable, add a link to a test case (as a zip file or link to a repository we can clone).
Expected behavior
it should pass compile and run the tests
Actual behavior
failed to compile test as shown
Additional context
related to #364
The text was updated successfully, but these errors were encountered: