2021年1月7日星期四

How to use a particular version of llvm out of different versions?

I have installed llvm 6,7,10,11 on my linux(Ubuntu 20.04) machine along with same clang versions. Different projects require different versions of llvm. How to compile c++ programs using a particular version of clang and llvm? For example: currently llvm 10 and clang 10 are defaults and I use : clang++ program_names.cpp ``llvm-config --cxxflags --ldflags --system-libs --libs core mcjit native`` -O3 -o program_name.cpp

https://stackoverflow.com/questions/65590127/how-to-use-a-particular-version-of-llvm-out-of-different-versions January 06, 2021 at 12:15PM

没有评论:

发表评论