Skip to content

Fix SPIRV-LLVM-Translator header file path in out-of-tree build#648

Merged
wenju-he merged 1 commit intointel:ocl-open-210from
wenju-he:21-fix-out-of-tree-build
Feb 24, 2026
Merged

Fix SPIRV-LLVM-Translator header file path in out-of-tree build#648
wenju-he merged 1 commit intointel:ocl-open-210from
wenju-he:21-fix-out-of-tree-build

Conversation

@wenju-he
Copy link
Copy Markdown
Contributor

Changes:

  • Upgrade Ubuntu version to 24.04
  • Switch legacy 'apt-key add -' to /etc/apt/keyrings/llvm.gpg
  • Prepend SPIRV-LLVM-Translator header file path with LLVMSPIRVLib

Resolves #646

Changes:
* Upgrade Ubuntu version to 24.04
* Switch legacy 'apt-key add -' to /etc/apt/keyrings/llvm.gpg
* Prepend SPIRV-LLVM-Translator header file path with LLVMSPIRVLib

Resolves intel#646
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes out-of-tree builds that use a prebuilt LLVM plus a separately built/packaged SPIRV-LLVM-Translator by adjusting include paths to match the installed translator header layout, and refreshes the CI environment to Ubuntu 24.04 with modern APT key handling.

Changes:

  • Fix SPIRV-LLVM-Translator includes for prebuilt/out-of-tree builds by prefixing with LLVMSPIRVLib/.
  • Update GitHub Actions runners to ubuntu-24.04.
  • Replace deprecated apt-key usage with /etc/apt/keyrings/llvm.gpg and update the workflow env var name used for SPIRV_TRANSLATOR_DIR.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
options_compile.cpp Include LLVMSPIRVExtensions.inc from LLVMSPIRVLib/ when building with prebuilt LLVM.
options.h Include LLVMSPIRVOpts.h from LLVMSPIRVLib/ when building with prebuilt LLVM.
.github/workflows/on-push-verification-out-of-tree.yml Move CI to Ubuntu 24.04, modernize LLVM APT key setup, and fix the exported env var name for the translator install dir.
.github/workflows/codeql.yml Same CI updates as above for CodeQL builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wenju-he wenju-he requested a review from cdai2 February 15, 2026 02:16
@wenju-he wenju-he merged commit 5a1deef into intel:ocl-open-210 Feb 24, 2026
10 checks passed
@wenju-he wenju-he deleted the 21-fix-out-of-tree-build branch February 24, 2026 08:31
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.

3 participants