Skip to content

Commit bddcf2b

Browse files
authored
Remove PI from UR override fetch variables (#15191)
Cleaning up some remaining `PI` references found in the UR CMake fetch file. Renaming `SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO` and `SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_TAG` to `SYCL_UR_OVERRIDE_FETCH_CONTENT_REPO` and `SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_TAG`.
1 parent 3f2b2dd commit bddcf2b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

sycl/cmake/modules/FetchUnifiedRuntime.cmake

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ endif()
1111

1212
# Options to override the default behaviour of the FetchContent to include UR
1313
# source code.
14-
set(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO
14+
set(SYCL_UR_OVERRIDE_FETCH_CONTENT_REPO
1515
"" CACHE STRING "Override the Unified Runtime FetchContent repository")
16-
set(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_TAG
16+
set(SYCL_UR_OVERRIDE_FETCH_CONTENT_TAG
1717
"" CACHE STRING "Override the Unified Runtime FetchContent tag")
1818

1919
# Options to disable use of FetchContent to include Unified Runtime source code
@@ -160,11 +160,11 @@ if(SYCL_UR_USE_FETCH_CONTENT)
160160
${UNIFIED_RUNTIME_TAG}
161161
)
162162

163-
if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO)
164-
set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}")
163+
if(SYCL_UR_OVERRIDE_FETCH_CONTENT_REPO)
164+
set(UNIFIED_RUNTIME_REPO "${SYCL_UR_OVERRIDE_FETCH_CONTENT_REPO}")
165165
endif()
166-
if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_TAG)
167-
set(UNIFIED_RUNTIME_TAG "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_TAG}")
166+
if(SYCL_UR_OVERRIDE_FETCH_CONTENT_TAG)
167+
set(UNIFIED_RUNTIME_TAG "${SYCL_UR_OVERRIDE_FETCH_CONTENT_TAG}")
168168
endif()
169169

170170
message(STATUS "Will fetch Unified Runtime from ${UNIFIED_RUNTIME_REPO}")

sycl/doc/GetStartedGuide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ specific repository URL and revision tag used can be found in the file
348348
In order to enable developers, a number of CMake variables are available to
349349
control which revision of Unified Runtime should be used when building DPC++:
350350

351-
* `SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO` is a variable which can be used to
351+
* `SYCL_UR_OVERRIDE_FETCH_CONTENT_REPO` is a variable which can be used to
352352
override the `UNIFIED_RUNTIME_REPO` variable used by `FetchContent` to attain
353353
the Unified Runtime source code.
354-
* `SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_TAG` is a variable which can be used to
354+
* `SYCL_UR_OVERRIDE_FETCH_CONTENT_TAG` is a variable which can be used to
355355
override the `UNIFIED_RUNTIME_TAG` variable used by `FetchContent` to attain
356356
the Unified Runtime source code.
357357
* `SYCL_UR_USE_FETCH_CONTENT` is an option to control if CMake should use

0 commit comments

Comments
 (0)