Skip to content

Commit 34a4db5

Browse files
nv-kmcgill53kyle
andauthored
patching git repository parameterization from production branch 1 (triton-inference-server#341)
Co-authored-by: kyle <[email protected]>
1 parent ba616e2 commit 34a4db5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ if(WIN32)
4747
set(TRITON_ENABLE_GPU OFF CACHE BOOL "GPU disabled" FORCE)
4848
endif()
4949

50+
set(TRITON_REPO_ORGANIZATION "https://github.com/triton-inference-server" CACHE STRING "Git repository to pull from")
5051
set(TRITON_BACKEND_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/backend repo")
5152
set(TRITON_COMMON_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/common repo")
5253
set(TRITON_CORE_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/core repo")
@@ -69,17 +70,17 @@ include(ExternalProject)
6970

7071
FetchContent_Declare(
7172
repo-common
72-
GIT_REPOSITORY https://github.com/triton-inference-server/common.git
73+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/common.git
7374
GIT_TAG ${TRITON_COMMON_REPO_TAG}
7475
)
7576
FetchContent_Declare(
7677
repo-core
77-
GIT_REPOSITORY https://github.com/triton-inference-server/core.git
78+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/core.git
7879
GIT_TAG ${TRITON_CORE_REPO_TAG}
7980
)
8081
FetchContent_Declare(
8182
repo-backend
82-
GIT_REPOSITORY https://github.com/triton-inference-server/backend.git
83+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/backend.git
8384
GIT_TAG ${TRITON_BACKEND_REPO_TAG}
8485
)
8586
FetchContent_MakeAvailable(repo-common repo-core repo-backend)

0 commit comments

Comments
 (0)