Skip to content
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

[Offload] Adds buildbot for CMake cache file #344

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

jplehr
Copy link
Contributor

@jplehr jplehr commented Dec 17, 2024

The buildbot uses the offload/cmake/cache/AMDGPUBot.cmake file to create the build config. It uses an annotated builder for that and only performs the build step as most of the post-commit issues are build problems and not test errors.

# Use Ninja as the generator.
# The other important settings alrady come from the CMake CMake
# cache file inside LLVM
cmake_args = ["-GNinja", "-C %s" % cmake_cache_file]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not just put this in the extra Cmake args?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether they exist on the AnnotatedBuilder that this is using.

To be clear, this is not using the OpenMPBuilder buildbot that we have based the other buildbots on.

@jplehr jplehr force-pushed the feat/amdgpu-cmake-bot branch 2 times, most recently from d05934e to 43c9464 Compare December 18, 2024 15:01
The buildbot uses the offload/cmake/cache/AMDGPUBot.cmake file to create
the build config. It uses an annotated builder for that and only
performs the build step as most of the post-commit issues are build
problems and not test errors.
@jplehr jplehr force-pushed the feat/amdgpu-cmake-bot branch from 43c9464 to 1e8322e Compare December 18, 2024 15:05
@jplehr
Copy link
Contributor Author

jplehr commented Dec 18, 2024

I removed the unrelated new-line and blank changes.

Copy link
Contributor

@gkistanova gkistanova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jplehr jplehr merged commit 95d6080 into llvm:main Dec 23, 2024
2 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.

3 participants