Skip to content

[UR] Updates to source checks job #17160

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 1 commit into from
Mar 12, 2025
Merged

Conversation

RossBrunton
Copy link
Contributor

@RossBrunton RossBrunton commented Feb 25, 2025

The check-generated cmake target now only checks files generated
from the specification. The LLVM code_formatter job is sufficient
to check other files. As part of this, the source generation
scripts now also run clang-format on their outputs. Generated .def
files are also now considered C++ code, and formatted as well.

In addition, the source checks job itself now no longer installs
hwloc.

@RossBrunton RossBrunton changed the title [UR] DO NOT MERGE: Testing formatting in CI [UR] Formatting check now only checks generated files Feb 25, 2025
@RossBrunton RossBrunton marked this pull request as ready for review February 27, 2025 10:48
@RossBrunton RossBrunton requested review from a team as code owners February 27, 2025 10:48
@RossBrunton RossBrunton changed the title [UR] Formatting check now only checks generated files [UR] Updates to source checks job Mar 3, 2025
@RossBrunton
Copy link
Contributor Author

@intel/dpcpp-devops-reviewers Can I get this looked at quickly? I just updated one of the UR jobs so that it doesn't pull in a dependency it doesn't need.

@RossBrunton
Copy link
Contributor Author

@intel/dpcpp-devops-reviewers Still need a quick look at this.

The `check-generated` cmake target now only checks files generated
from the specification. The LLVM code_formatter job is sufficient
to check other files. As part of this, the source generation
scripts now also run clang-format on their outputs. Generated .def
files are also now considered C++ code, and formatted as well.

In addition, the source checks job itself now no longer installs
hwloc.
@RossBrunton
Copy link
Contributor Author

@intel/llvm-gatekeepers Please merge.

@ldrumm ldrumm merged commit c342667 into intel:sycl Mar 12, 2025
31 checks passed
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.

5 participants