From e96fbcba3940f102d5628f4af5397c9cff7a786f Mon Sep 17 00:00:00 2001 From: Jakub Chlanda Date: Thu, 25 Nov 2021 13:27:18 +0000 Subject: [PATCH] [SYCL] Capitalize SYCL_BUILD_PI_HIP_PLATFORM matching buildbot's output --- sycl/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt index 87883dc217969..b37e081f5cdc9 100644 --- a/sycl/CMakeLists.txt +++ b/sycl/CMakeLists.txt @@ -243,6 +243,11 @@ option(SYCL_INCLUDE_TESTS "Generate build targets for the SYCL unit tests." ${LLVM_INCLUDE_TESTS}) +# Ensure that HIP platform is uppercase, to match buildbot's output. +if(NOT "${SYCL_BUILD_PI_HIP_PLATFORM}" STREQUAL "") + string(TOUPPER ${SYCL_BUILD_PI_HIP_PLATFORM} SYCL_BUILD_PI_HIP_PLATFORM) +endif() + # Plugin Library add_subdirectory( plugins )