From b6b9394b08463e133652d0c74b03bb0577056ab3 Mon Sep 17 00:00:00 2001 From: Ross Brunton Date: Fri, 20 Sep 2024 11:15:02 +0100 Subject: [PATCH] [UR] UR Hardening Pre-merge commit for: https://github.com/oneapi-src/unified-runtime/pull/2090 --- sycl/cmake/modules/FetchUnifiedRuntime.cmake | 24 ++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/sycl/cmake/modules/FetchUnifiedRuntime.cmake b/sycl/cmake/modules/FetchUnifiedRuntime.cmake index 64ffe1dee7228..bec3799dbd384 100644 --- a/sycl/cmake/modules/FetchUnifiedRuntime.cmake +++ b/sycl/cmake/modules/FetchUnifiedRuntime.cmake @@ -116,15 +116,21 @@ if(SYCL_UR_USE_FETCH_CONTENT) CACHE PATH "Path to external '${name}' adapter source dir" FORCE) endfunction() - set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git") - # commit b79ebe4e98789144bcdf3832088eb6e6b5ae6967 - # Merge: 7b4bc761 fbb6e862 - # Author: Kenneth Benzie (Benie) - # Date: Fri Oct 4 16:39:59 2024 +0100 - # Merge pull request #2018 from wenju-he/L0-bindless-image-device-query - # [L0] Fix device query of bindless image support - set(UNIFIED_RUNTIME_TAG b79ebe4e98789144bcdf3832088eb6e6b5ae6967) - + set(UNIFIED_RUNTIME_REPO "https://github.com/RossBrunton/unified-runtime.git") + # commit d210b7baac1bc4ada58f5bf22cde027bbca67c15 + # Author: Ross Brunton + # Date: Fri Sep 13 15:38:40 2024 +0100 + # Hardening flags and replaced UR_DEVELOPER_MODE + # + # UR_DEVELOPER_MODE has been replaced with UR_UNIX_WFLAGS, which the + # user can use to set `-Werror`, `-Wextra` and so on. The other flags + # set by this variable either have no effect (-fno-omit-frame-pointer) + # or are now always enabled (-fstack-protector-strong). + # + # UR_DEVELOPER_MODE still exists for MSVC. + # + # Some smaller warnings have also been fixed. + set(UNIFIED_RUNTIME_TAG d210b7baac1bc4ada58f5bf22cde027bbca67c15) set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES") # Due to the use of dependentloadflag and no installer for UMF and hwloc we need # to link statically on windows