Skip to content

Conversation

@beckerhe
Copy link
Contributor

@beckerhe beckerhe commented Nov 26, 2025

This adds support for the layering_check feature to the C++ toolchains in this repo and prepares CUDA targets for compliance with the layering check.

  1. It defines the layering_check and related features.
  2. It extends the x86_64 toolchain definitions by Clang C++ modules header mapping files (crosstool.cppmap). This mapping file declares the system headers for each toolchain.
  3. It changes the @local_config_cuda//cuda:headers such that it directly exports all the headers from the subtargets - which is needed for compliance with the layering check.

@beckerhe beckerhe marked this pull request as draft November 26, 2025 12:43
@beckerhe beckerhe force-pushed the layering_check_support branch 3 times, most recently from 08293cc to 2e08221 Compare November 28, 2025 13:54
@beckerhe beckerhe force-pushed the layering_check_support branch from 2e08221 to 784c70a Compare December 1, 2025 07:23
@beckerhe beckerhe marked this pull request as ready for review December 1, 2025 08:46
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.

1 participant