Skip to content

Commit

Permalink
OpenMP: Revert accidental cmake change to make amdgpu-arch errors fatal
Browse files Browse the repository at this point in the history
I still think this should be done but should be done separately.
  • Loading branch information
arsenm committed Jun 28, 2023
1 parent 19a3504 commit 17f564f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17f564f

Please sign in to comment.