Hello, I'm trying to build taichi from source with a pre-installed LLVM 18.1.8 on my machine. In this new version of LLVM, the header file llvm/Transforms/IPO/PassManagerBuilder.h no longer exists (which is required by JIT optimization and codegen utilities of taichi); also, typed pointer types are not supported (with the removal of functions like llvm::Type::getInt8PtrTy()). Happy to see if the new version of LLVM can be supported!
Solution
Rewrite calls to LLVM C++ API (in codegen and runtime directories) to adapt to the new version of LLVM.
Hello, I'm trying to build
taichifrom source with a pre-installed LLVM 18.1.8 on my machine. In this new version of LLVM, the header filellvm/Transforms/IPO/PassManagerBuilder.hno longer exists (which is required by JIT optimization and codegen utilities oftaichi); also, typed pointer types are not supported (with the removal of functions likellvm::Type::getInt8PtrTy()). Happy to see if the new version of LLVM can be supported!Solution
Rewrite calls to LLVM C++ API (in
codegenandruntimedirectories) to adapt to the new version of LLVM.