Closed linehill closed 2 months ago
Thanks @linehill I'm not sure what happened here bc we definitely used our fork previously. Also, we need to apply patches for LLVM18 since that branch is not available.
Also, we need to apply patches for LLVM18 since that branch is not available.
I made branches for LLVM 18 (https://github.com/CHIP-SPV/llvm-project/tree/chipStar-llvm-18, https://github.com/CHIP-SPV/llvm-project/tree/spirv-ext-fixes-18).
Clone chipStar's fork of LLVM to match root README.md instructions.
Fix mix-up of SPIRV_BRANCH and TRANSLATOR_BRANCH.
git br ...
->git branch ...
. The br command alias does not seems to be available in some git versions.Fix static library build option lacked
-DLLVM_ENABLE_ASSERTIONS=On
(assuming it's desired since the dynamic library option has it).Fix the script failed on SPIR-V translator branch checkout when runnig the script on already cloned LLVM.
Fixes #834.