[Openmp-commits] [openmp] 17f564f - OpenMP: Revert accidental cmake change to make amdgpu-arch errors fatal
Matt Arsenault via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jun 28 04:33:33 PDT 2023
Author: Matt Arsenault
Date: 2023-06-28T07:33:27-04:00
New Revision: 17f564f305e6a6b01af9fb929067ba85ba74d7a8
URL: https://github.com/llvm/llvm-project/commit/17f564f305e6a6b01af9fb929067ba85ba74d7a8
DIFF: https://github.com/llvm/llvm-project/commit/17f564f305e6a6b01af9fb929067ba85ba74d7a8.diff
LOG: OpenMP: Revert accidental cmake change to make amdgpu-arch errors fatal
I still think this should be done but should be done separately.
Added:
Modified:
openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
Removed:
################################################################################
diff --git a/openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake b/openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
index e1e3af5b0fb5f..d08aa9da144eb 100644
--- a/openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
+++ b/openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
@@ -137,8 +137,7 @@ endif()
if(LIBOMPTARGET_AMDGPU_ARCH)
execute_process(COMMAND ${LIBOMPTARGET_AMDGPU_ARCH}
OUTPUT_VARIABLE LIBOMPTARGET_AMDGPU_ARCH_OUTPUT
- OUTPUT_STRIP_TRAILING_WHITESPACE
- COMMAND_ERROR_IS_FATAL ANY)
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
string(REPLACE "\n" ";" amdgpu_arch_list "${LIBOMPTARGET_AMDGPU_ARCH_OUTPUT}")
if(amdgpu_arch_list)
set(LIBOMPTARGET_FOUND_AMDGPU_GPU TRUE)
More information about the Openmp-commits
mailing list