Skip to content

Commit a01ed9d

Browse files
authored
Update install_llvm.md
1 parent ea35b74 commit a01ed9d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

install_llvm.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## Version 14.0
2+
- Download the entire project from github
3+
- clang, flang, openmp are already enclosed
4+
- mkdir build; cd build; ccmake -S ../llvm
5+
- When running cmake or ccmake, configure LLVM_ENABLE_PROJECTS as clang;clang-tools-extra;compiler-rt;flang;openmp;lldb
6+
- Full list is: clang;clang-tools-extra;compiler-rt;debuginfo-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;openmp;parallel-libs;polly;pstl
7+
- Enable SHARED_LIBS ON
8+
- make -j 20; make install
9+
- may need `-stdlib=libc++` as CXX flags for application
10+
111
## Version 11.0
212
- Not from https://releases.llvm.org/download.html but download from https://github.com/llvm/llvm-project, as the entire project
313
- clang, flang, openmp are already enclosed

0 commit comments

Comments
 (0)