Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/therock-ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
- name: Fetch sources
timeout-minutes: 30
run: |
rm ./TheRock/patches/amd-mainline/rocm-systems/0010-clr-ClPrint-std-string-to-c-string-fix.patch
./TheRock/build_tools/fetch_sources.py --jobs 12 --no-include-rocm-systems --no-include-rocm-libraries --no-include-ml-frameworks


Expand Down
1 change: 1 addition & 0 deletions .github/workflows/therock-ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:

- name: Patch rocm-systems
run: |
rm ./TheRock/patches/amd-mainline/rocm-systems/0010-clr-ClPrint-std-string-to-c-string-fix.patch
git -c user.name="therockbot" -c "[email protected]" am --whitespace=nowarn ./TheRock/patches/amd-mainline/rocm-systems/*.patch

- name: Install requirements
Expand Down
3 changes: 1 addition & 2 deletions projects/clr/rocclr/os/os_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,7 @@ bool NumaNode::GetAffinity() {
"/cpumap";
std::ifstream file(path);
if (!file) {
std::cerr << "Failed to open " << path << "\n";
ClPrint(amd::LOG_DEBUG, amd::LOG_RESOURCE, "%s cannot be opened", path);
ClPrint(amd::LOG_DEBUG, amd::LOG_RESOURCE, "%s cannot be opened", path.c_str());
Copy link
Member

Choose a reason for hiding this comment

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

We had been carrying a patch for this in TheRock (https://github.com/ROCm/TheRock/blob/main/patches/amd-mainline/rocm-systems/0010-clr-ClPrint-std-string-to-c-string-fix.patch - see ROCm/TheRock#1943), so these workflows are failing since the patch no longer applies:

To land this PR we'll need small changes to these workflows to drop the patch:

The changes should look like 36a1fd8, using this code:

rm ./TheRock/patches/amd-mainline/rocm-systems/0010-clr-ClPrint-std-string-to-c-string-fix.patch

return false;
}
std::string line;
Expand Down
Loading