Repository navigation
Fix Halidoscope Windows bindgen build and skip C++ CI on Halidoscope-only PRs - #9727
Merged
Merged
Conversation
…only PRs
1. Drop .clang_args(["-x", "c++", "-std=c++17"]) in tools/halidoscope/src-tauri/build.rs
so bindgen parses HalideRuntime.h in its default C mode. Recent Windows GitHub
Actions runners (windows-2025-vs2026) updated MSVC to 14.52, whose yvals_core.h
fails with STL1000 when parsed by an older libclang in C++ mode. bindgen only
derives the C struct layout of halide_trace_packet_t, so C mode avoids pulling
in MSVC's C++ STL headers.
2. Add tools/halidoscope/** to paths-ignore in the five C++ test workflows
(testing-{arm-linux,linux,macos,make,windows}.yml) so Halidoscope-only PRs
(including Dependabot lockfile updates) don't run the full Halide C++ test
suite or fail macOS Codecov uploads due to missing Dependabot secrets.
Co-authored-by: Antigravity <antigravity@google.com>
alexreinking
force-pushed
the
alexreinking/fix-halidoscope-ci
branch
from
November 28, 2026 22:44
69fe300 to
03c7996
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9727 +/- ##
==========================================
+ Coverage 73.28% 73.32% +0.03%
==========================================
Files 266 266
Lines 83977 83977
Branches 20616 20616
==========================================
+ Hits 61544 61577 +33
+ Misses 15943 15928 -15
+ Partials 6490 6472 -18 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
alexreinking
requested review from
mcourteaux,
parkerziegler and
shoaibkamil
November 29, 2026 05:02
mcourteaux
approved these changes
Nov 29, 2026
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.
Fixes two CI issues blocking Halidoscope Dependabot PRs (#9719, #9720, #9721, #9726):
STL1000inbindgen): Drop.clang_args(["-x", "c++", "-std=c++17"])intools/halidoscope/src-tauri/build.rssobindgenparsessrc/runtime/HalideRuntime.hin its default C mode. Recentwindows-2025-vs2026GitHub Actions runners updated MSVC to 14.52, whoseyvals_core.hfails withSTL1000: Unexpected compiler version, expected Clang 22 or newerunder the runner's olderlibclang. Sincebuild.rsonly derives the C struct layout ofhalide_trace_packet_t, C mode avoids pulling in MSVC's C++ STL headers.tools/halidoscope/**topaths-ignoreintesting-arm-linux.yml,testing-linux.yml,testing-macos.yml,testing-make.yml, andtesting-windows.yml. Nothing in the CMake/Make Halide builds or C++ test suites depends ontools/halidoscope/**, and running them on Dependabot lockfile PRs triggers unnecessary CI load, flaky performance tests, and Codecov failures onmacOS / arm-64 / coverage(whereCODECOV_TOKENis unavailable).Once merged, we can
@dependabot rebase#9719, #9720, #9721, and #9726 to pick up both fixes and rerun CI cleanly.Checklist
Generated with Antigravity