diff --git a/.github/workflows/therock-ci-linux.yml b/.github/workflows/therock-ci-linux.yml index ce9abc3f87..4d8fbefdd7 100644 --- a/.github/workflows/therock-ci-linux.yml +++ b/.github/workflows/therock-ci-linux.yml @@ -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 diff --git a/.github/workflows/therock-ci-windows.yml b/.github/workflows/therock-ci-windows.yml index f3b786ed02..5c680ddf3e 100644 --- a/.github/workflows/therock-ci-windows.yml +++ b/.github/workflows/therock-ci-windows.yml @@ -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 "user.email=therockbot@amd.com" am --whitespace=nowarn ./TheRock/patches/amd-mainline/rocm-systems/*.patch - name: Install requirements diff --git a/projects/clr/rocclr/os/os_posix.cpp b/projects/clr/rocclr/os/os_posix.cpp index bd2678d5de..ddc060b0c7 100644 --- a/projects/clr/rocclr/os/os_posix.cpp +++ b/projects/clr/rocclr/os/os_posix.cpp @@ -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()); return false; } std::string line;