weld-project/weld

No suitable version of LLVM was found

shashwatwork opened this issue · 5 comments

Hi,
PFA,
I have tried to build weld on my Ubuntu 18.04. I got an error like error: failed to run custom build command for llvm-sys v60.4.0 while running cargo build --release command.

Please help me to setup suitable version for LLVM.

And Please mention weld python compatibility.

llvm_issue

Yes, I have followed the same. again I found same issue.
I'm using Ubuntu 18.04, but there you had mentioned only for Ubuntu 16.04 (Xenial) and Ubuntu 14.04 (Trusty)

Please let me know how to install LLVM on my machine.

Thanks

For Ubuntu 18.04, you might wanna try this.

$ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
$ sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main"
$ sudo apt update && sudo apt install clang-6.0
$ sudo ln -s /usr/bin/llvm-config-6.0 /usr/local/bin/llvm-config
$ sudo apt-get install -y zlib1g-dev

Thanks! Its working fine now