Closed shashwatwork closed 5 years ago
Take a look at the main README.md — it has instructions on how to install LLVM and set up a symlink so Weld can find it. Let me know if those instructions don’t work for you.
On Fri, Jul 5, 2019 at 4:04 AM SHASHWAT TIWARI notifications@github.com wrote:
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.
[image: llvm_issue] https://user-images.githubusercontent.com/22785727/60718478-5a1cb700-9f42-11e9-86e2-4fd92717bd9c.PNG
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/weld-project/weld/issues/458?email_source=notifications&email_token=AAKMEY57YHSKPL6WJJMYQX3P54TFNA5CNFSM4H6KKGVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5RB6MQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKMEY5ROD3SCAK7E7AXAY3P54TFNANCNFSM4H6KKGVA .
-- Shoumik
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
Ah, missed the version difference. Thanks Max!
On Sat, Jul 6, 2019 at 7:58 AM Max Meldrum notifications@github.com wrote:
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
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/weld-project/weld/issues/458?email_source=notifications&email_token=AAKMEY5UP65IXD74SVQSOG3P6CXHVA5CNFSM4H6KKGVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZK3CAQ#issuecomment-508932354, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKMEY2TNVC2FNTCGDBB5GDP6CXHVANCNFSM4H6KKGVA .
-- Shoumik
Thanks! Its working fine now
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.