[llvm-dev] LLVM version 3.4.2 - Directory to Environment Variables

Jake Ekel via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 15 08:31:58 PST 2018


Hi,

Currently I am trying to install LLVM version 3.4.2. I am using Linux Mint 18.3 Sylvia.
I followed steps to install it from this following website :http://releases.llvm.org/3.4.2/docs/GettingStarted.html
I was able to configure and build LLVM and Clang.I set the environment variables in /etc/environment to :
LLVM_LIB_SEARCH_PATH=/home/jake/llvm/llvm_build_dir/lib/Bitcode
After I set up the environment variables for the LLVM, I am still unable to run LLVM and Clang.
jake at jake-Inspiron-5448 ~ $ llvmNo command 'llvm' found, did you mean: Command 'rlvm' from package 'rlvm' (universe) Command 'lvm' from package 'lvm2' (main) Command 'lkvm' from package 'kvmtool' (universe)llvm: command not foundjake at jake-Inspiron-5448 ~ $ clangThe program 'clang' is currently not installed. You can install it by typing:sudo apt install clang

May I know, is the directory to environment variables is correct? If not correct, may I know the correct directory?

Many thanks for your help.
Regards,Jake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180215/06942100/attachment-0001.html>


More information about the llvm-dev mailing list