build(sgl-kernel): support configurable mirrors for restricted networks (#27387)

This commit is contained in:
Yingchun Lai
2026-06-08 08:52:26 -07:00
committed by GitHub
parent 3607cbd65a
commit b047bb3e92
5 changed files with 82 additions and 27 deletions
+7
View File
@@ -11,6 +11,13 @@ CMAKE_BUILD_PARALLEL_LEVEL ?= $(MAX_JOBS)
UV_BUILD_DIR ?= build
CMAKE_POLICY_VERSION_MINIMUM ?= 3.5
# Optional GitHub mirror for FetchContent (e.g. internal artifactory).
# Empty -> CMakeLists.txt default (github.com).
GITHUB_ARTIFACTORY ?=
ifneq ($(strip $(GITHUB_ARTIFACTORY)),)
CMAKE_ARGS += -DGITHUB_ARTIFACTORY=$(GITHUB_ARTIFACTORY)
endif
# Show help for each target
help: ## Show this help message
@echo "Available targets:"