Skip to content

fix: backport #3048 to 1.4: don't watch non-existent include directory #3174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 14, 2025

Conversation

honglooker
Copy link
Contributor

@honglooker honglooker commented Aug 13, 2025

fix(local-toolchains): don't watch non-existent include directory (#3048)

Apparently, Macs can mis-report their include directory.

Since includes are only needed if C extensions are built, skip watching
the directory
if it doesn't exist.

Work around for
#3043


Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Ignas Anikevicius [email protected]

rickeylev and others added 3 commits August 13, 2025 17:22
…zel-contrib#3048)

Apparently, Macs can mis-report their include directory.

Since includes are only needed if C extensions are built, skip watching
the directory
if it doesn't exist.

Work around for
bazel-contrib#3043

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Ignas Anikevicius <[email protected]>
@honglooker
Copy link
Contributor Author

@rickeylev

@honglooker
Copy link
Contributor Author

cc @haberman

@rickeylev rickeylev changed the title backport local toolchain mac fix to 1.4 fix: backport #3048 to 1.4: don't watch non-existent include directory Aug 14, 2025
@rickeylev rickeylev merged commit 998d2bc into bazel-contrib:release/1.4 Aug 14, 2025
2 of 3 checks passed
rickeylev pushed a commit that referenced this pull request Aug 14, 2025
This documents the backport made in
#3174
@rickeylev rickeylev mentioned this pull request Aug 17, 2025
1 task
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.

2 participants