Hi I just downloaded LLVM using the command
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
How can I determine the version of this LLVM (4.0, 3.9 or 3.8 etc)?
The unit and regression tests are in the main “llvm”/ directory under the directories llvm/unittests and llvm/test (so you get these tests for free with the main LLVM tree). Use make check-all to run the unit and regression tests after building LLVM.
The binaries for LLVM tools are placed in ~/llvm/build/bin . These tools are used to run the LLVM passes. To make it easy to run the tools, it is a good idea to add the path to the binaries to the bash PATH variable so that you can invoke the tools from any directory.
Open a terminal window. Enter the command (clang — version) to confirm if the Clang Compilers had already been installed.
LLVM is a set of compiler and toolchain technologies that can be used to develop a front end for any programming language and a back end for any instruction set architecture.
After installation
Try running :
llvm-config --version
You are checking out the trunk.
If you want a particular version checkout the appropriate branch.
http://llvm.org/svn/llvm-project/llvm/branches/release_35
would be llvm-3.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With