docker: bump base to LLVM 22 native + OneAPI 2025.3.2#1262
Merged
Conversation
- LLVM 22 with the integrated SPIR-V backend (--variant native); chipStar auto-enables CHIP_LLVM_USE_INTERGRATED_SPIRV at LLVM >=22. - PoCL pinned to main (7.1 only supports up to LLVM 21). - OneAPI conda env bumped to 2025.3.2 with build strings mirroring a known-good local install; accept Anaconda ToS so non-interactive conda create stops failing with CondaToSNonInteractiveError. - Copy scripts/ + llvm-patches/ as a unit so configure_llvm.sh can resolve patch dirs at $THIS_SCRIPT_DIR/../llvm-patches/. - Chain build commands with && (and add test -x clang/poclcc guards) so a partial install can no longer be silently cached. - mkdir -p $OPENCL_VENDOR_PATH before copying intel.icd (PoCL main does not pre-create etc/OpenCL/vendors). - Drop the in-build MatrixMultiply smoke test: docker build has no /dev/dri/* passthrough on the meatloaf CI runner, so the existing CHIP_DEVICE_TYPE=gpu would never have found a device. - DockerfileLatest: explicit module load llvm/22.0-native AFTER oneapi so /apps/llvm/22.0-native/bin/clang wins in PATH over oneapi's icx, plus base-staleness guards.
b60d813 to
370e71e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--variant native); chipStar auto-enablesCHIP_LLVM_USE_INTERGRATED_SPIRV.main(7.1 caps at LLVM 21).MatrixMultiplysmoke test (no/dev/driindocker buildsandbox).&&-chained build steps,test -x clang/poclccguards, base-staleness checks inDockerfileLatest.Fixes the
HipCleanup.cppstarts_withcompile error in the publish-docker workflow.Test plan
spirv*targets registered, OneAPI 2025.3.2 env present).pveleskopglc/chipstar:{base,latest}).