Skip to content

Commit 3487672

Browse files
committed
[UR] Provide flexibility to replace unified-memory-framework repo and tag
1 parent c23d727 commit 3487672

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

source/common/CMakeLists.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ target_include_directories(ur_common PUBLIC
2020
)
2121

2222
message(STATUS "Download Unified Memory Framework from github.com")
23+
if (NOT DEFINED UMF_REPO)
24+
set(UMF_REPO "https://github.com/oneapi-src/unified-memory-framework.git")
25+
endif()
2326

24-
set(UMF_REPO "https://github.com/oneapi-src/unified-memory-framework.git")
25-
26-
# Merge pull request #119 from ldorau/Fix_arena_extent_split_and_arena_extent_merge
27-
set(UMF_TAG 9bf7a0dc4dff76844e10edbb5c6e9d917536ef6d)
27+
if (NOT DEFINED UMF_TAG)
28+
# Merge pull request #119 from ldorau/Fix_arena_extent_split_and_arena_extent_merge
29+
set(UMF_TAG 9bf7a0dc4dff76844e10edbb5c6e9d917536ef6d)
30+
endif()
2831

2932
message(STATUS "Will fetch Unified Memory Framework from ${UMF_REPO}")
3033

0 commit comments

Comments
 (0)