Fix bitrotted local builds of the support library#578
Merged
Conversation
Two issues prevented deps/build_ci.jl from building liboneapi_support: - Conda.jl fails to precompile when its root environment directory has been removed (e.g., by depot clean-up) while its deps.jl still points to it. Pre-create the directory before instantiating so that precompilation succeeds. - The CA roots bundled with old Conda root environments (certifi from 2022) do not validate the certificate chain currently used by Intel's package repository, making every package installation fail with CERTIFICATE_VERIFY_FAILED. Update ca-certificates/certifi first. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #578 +/- ##
=======================================
Coverage 79.20% 79.20%
=======================================
Files 48 48
Lines 3232 3232
=======================================
Hits 2560 2560
Misses 672 672 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
The local build of
liboneapi_support(as triggered bydeps/build_ci.jlon CI when the wrappers are newer than the latestoneAPI_Support_jllbuild) had bitrotted in two ways:Conda.jl precompilation failure: when the Conda root environment directory has been removed (e.g., by depot clean-up on CI agents) while Conda.jl's
deps.jlstill points to it, precompilation fails withArgumentError: Path to conda environment is not valid, becauseConda.prefix(ROOTENV)runs at module top level. We now pre-create the directory before instantiating; Conda lazily re-installs itself on first use anyway.SSL certificate verification failure: old Conda root environments ship a
certifiCA bundle (e.g., 2022.06.15) that cannot validate the Sectigo certificate chain currently served bysoftware.repos.intel.com, so everyconda installfrom the Intel channel fails withCERTIFICATE_VERIFY_FAILED. We now updateca-certificates/certifiin the root environment before installing the toolchain.With these changes,
deps/build_ci.jlagain builds the support library end-to-end locally (dpcpp/MKL 2025.2.0, only deprecation warnings during compilation).🤖 Generated with Claude Code