Skip to content

Commit 6b896f0

Browse files
nv-kmcgill53kyle
and
kyle
authored
patching git repository parameterization from production branch 1 (#244)
Co-authored-by: kyle <[email protected]>
1 parent 96aa9ff commit 6b896f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CMakeLists.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ set(TRITON_ONNX_TENSORRT_REPO_TAG "" CACHE STRING "Tag for onnx-tensorrt repo")
105105
set(TRT_VERSION "" CACHE STRING "TRT version for this build.")
106106
set(TRITON_ONNXRUNTIME_LIB_PATHS "" CACHE PATH "Paths to ONNXRuntime libraries")
107107

108+
set(TRITON_REPO_ORGANIZATION "https://github.com/triton-inference-server" CACHE STRING "Git repository to pull from")
108109
set(TRITON_BACKEND_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/backend repo")
109110
set(TRITON_CORE_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/core repo")
110111
set(TRITON_COMMON_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/common repo")
@@ -179,19 +180,19 @@ include(FetchContent)
179180

180181
FetchContent_Declare(
181182
repo-common
182-
GIT_REPOSITORY https://github.com/triton-inference-server/common.git
183+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/common.git
183184
GIT_TAG ${TRITON_COMMON_REPO_TAG}
184185
GIT_SHALLOW ON
185186
)
186187
FetchContent_Declare(
187188
repo-core
188-
GIT_REPOSITORY https://github.com/triton-inference-server/core.git
189+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/core.git
189190
GIT_TAG ${TRITON_CORE_REPO_TAG}
190191
GIT_SHALLOW ON
191192
)
192193
FetchContent_Declare(
193194
repo-backend
194-
GIT_REPOSITORY https://github.com/triton-inference-server/backend.git
195+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/backend.git
195196
GIT_TAG ${TRITON_BACKEND_REPO_TAG}
196197
GIT_SHALLOW ON
197198
)

0 commit comments

Comments
 (0)