Skip to content

Conversation

@linehill
Copy link
Collaborator

  • 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.

* 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.
@pvelesko
Copy link
Collaborator

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.

@pvelesko pvelesko merged commit a5a8c76 into main Apr 25, 2024
@pvelesko pvelesko deleted the fix-834 branch April 25, 2024 10:44
@linehill
Copy link
Collaborator Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

configure_llvm.sh does not install chipStar's fork of LLVM

3 participants