Skip to content

Commit c41543d

Browse files
nv-kmcgill53kyle
andauthored
patching git repository parameterization from production branch 1 (#14)
Co-authored-by: kyle <kmcgill@kmcgill-ubuntu.nvidia.com>
1 parent 437e7e2 commit c41543d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
3535
# Must include options required for this project as well as any
3636
# projects included in this one by FetchContent.
3737
#
38+
set(TRITON_REPO_ORGANIZATION "https://github.com/triton-inference-server" CACHE STRING "Git repository to pull from")
3839
set(TRITON_COMMON_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/common repo")
3940
set(TRITON_CORE_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/core repo")
4041

@@ -52,13 +53,13 @@ include(FetchContent)
5253

5354
FetchContent_Declare(
5455
repo-common
55-
GIT_REPOSITORY https://github.com/triton-inference-server/common.git
56+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/common.git
5657
GIT_TAG ${TRITON_COMMON_REPO_TAG}
5758
GIT_SHALLOW ON
5859
)
5960
FetchContent_Declare(
6061
repo-core
61-
GIT_REPOSITORY https://github.com/triton-inference-server/core.git
62+
GIT_REPOSITORY ${TRITON_REPO_ORGANIZATION}/core.git
6263
GIT_TAG ${TRITON_CORE_REPO_TAG}
6364
GIT_SHALLOW ON
6465
)

0 commit comments

Comments
 (0)