Skip to content

Commit 515466c

Browse files
nv-kmcgill53kyle
andauthored
patching git repository parameterization from production branch 1 (#101)
Co-authored-by: kyle <[email protected]>
1 parent 39d7a0c commit 515466c

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
@@ -42,6 +42,7 @@ option(TRITON_TENSORFLOW_INSTALL_EXTRA_DEPS "Install extra dependencies directly
4242
set(TRITON_TENSORFLOW_LIB_PATHS "" CACHE PATH "Paths to TensorFlow libraries. Multiple paths may be specified by separating them with a semicolon.")
4343
set(TRITON_TENSORFLOW_INCLUDE_PATHS "" CACHE PATH "Paths to TensorFlow includes. Multiple paths may be specified by separating them with a semicolon.")
4444

45+
set(TRITON_REPO_ORGANIZATION "https://github.com/triton-inference-server" CACHE STRING "Git repository to pull from")
4546
set(TRITON_BACKEND_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/backend repo.")
4647
set(TRITON_CORE_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/core repo.")
4748
set(TRITON_COMMON_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/common repo.")
@@ -82,19 +83,19 @@ include(FetchContent)
8283

8384
FetchContent_Declare(
8485
repo-common
85-
GIT_REPOSITORY https://github.com/triton-inference-server/common.git
86+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/common.git
8687
GIT_TAG ${TRITON_COMMON_REPO_TAG}
8788
GIT_SHALLOW ON
8889
)
8990
FetchContent_Declare(
9091
repo-core
91-
GIT_REPOSITORY https://github.com/triton-inference-server/core.git
92+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/core.git
9293
GIT_TAG ${TRITON_CORE_REPO_TAG}
9394
GIT_SHALLOW ON
9495
)
9596
FetchContent_Declare(
9697
repo-backend
97-
GIT_REPOSITORY https://github.com/triton-inference-server/backend.git
98+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/backend.git
9899
GIT_TAG ${TRITON_BACKEND_REPO_TAG}
99100
GIT_SHALLOW ON
100101
)

0 commit comments

Comments
 (0)