This shows you the differences between two versions of the page.
cpl:labs:llvm-pass [2015/12/08 00:20] irina.presa [Integrarea unui pas în LLVM] |
cpl:labs:llvm-pass [2015/12/08 00:32] (current) irina.presa [Integrarea unui pas în LLVM] |
||
---|---|---|---|
Line 132: | Line 132: | ||
* și se adaugă: **BUILD_ARCHIVE = 1** | * și se adaugă: **BUILD_ARCHIVE = 1** | ||
* ''tools/opt/CMakeLists.txt'' | * ''tools/opt/CMakeLists.txt'' | ||
- | * se înlocuiește | + | * se adaugă noul pass în lista |
- | * **set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropts ipo vectorize)** cu | + | * **set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} Analysis CodeGen Hello)** |
- | * **set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropts ipo vectorize hello)** | + | * la fel și pentru ''tools/bugpoint/CMakeLists.txt'' |
- | * ''tools/bugpoint/CMakeLists.txt'' | + | |
- | * se înlocuiește | + | |
- | * **set(LLVM_LINK_COMPONENTS asmparser instrumentation scalaropts ipo linker bitreader bitwriter irreader vectorize objcarcopts)** cu | + | |
- | * **set(LLVM_LINK_COMPONENTS asmparser instrumentation scalaropts ipo linker bitreader bitwriter irreader vectorize objcarcopts hello)** | + | |
* se crează fişierul ''include/llvm/Transforms/Hello.h'' cu conţinutul | * se crează fişierul ''include/llvm/Transforms/Hello.h'' cu conţinutul | ||
* <code c> | * <code c> |