Skip to content

Remove BUILD_HIPFILE/ROCFILE#92

Merged
derobins merged 1 commit into
developfrom
derobins/yank_library_build_options
Nov 25, 2025
Merged

Remove BUILD_HIPFILE/ROCFILE#92
derobins merged 1 commit into
developfrom
derobins/yank_library_build_options

Conversation

@derobins
Copy link
Copy Markdown
Collaborator

@derobins derobins commented Nov 25, 2025

These CMake options will be meaningless as we consolidate hipFile and rocFile. We will now always build both libraries on AMD and only hipFile on NVIDIA.

These CMake options will be meaningless as we consolidate
hipFile and rocFile. We will now always build both libraries
on AMD and hipFile only on NVIDIA.
Copilot AI review requested due to automatic review settings November 25, 2025 17:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the BUILD_HIPFILE and BUILD_ROCFILE CMake options as part of consolidating the hipFile and rocFile libraries. The new behavior builds both libraries on AMD platforms and only hipFile on NVIDIA platforms by default, without requiring explicit configuration options.

Key changes:

  • Removed BUILD_HIPFILE and BUILD_ROCFILE CMake options
  • Simplified build logic to always build hipFile and conditionally build rocFile based on platform
  • Updated documentation and CI workflows to reflect the simplified build configuration

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
CMakeLists.txt Removed CMake options and simplified platform-based build logic
cmake/AISInstall.cmake Removed conditional guards around hipFile installation and updated package description
docs/CMakeLists.txt Removed conditional guards around hipFile docs target
INSTALL.md Removed BUILD_HIPFILE and BUILD_ROCFILE option documentation
.github/workflows/hipfile-nvidia.yml.disabled Removed obsolete CMake flags from CI configuration
.github/workflows/build-ais.yml Removed obsolete CMake flags from CI configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/CMakeLists.txt
Comment thread cmake/AISInstall.cmake
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This looks like big changes, but it's the diff algorithm being confused by removing the if() and shifting everything over to the left + a few minor tweaks.

Comment thread CMakeLists.txt
#-----------------------
# aiscp example program
#-----------------------
option(BUILD_AISCP "Build aiscp example program" ON)
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

When we have more examples, we should just change this to BUILD_EXAMPLES.

@derobins derobins merged commit b41be4a into develop Nov 25, 2025
31 checks passed
@derobins derobins deleted the derobins/yank_library_build_options branch November 25, 2025 17:18
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