From 58627b0f2708f58d91df2a00bea644d18d43bfc7 Mon Sep 17 00:00:00 2001 From: hulk Date: Mon, 20 Nov 2023 21:12:05 +0800 Subject: [PATCH] Change the default value of cmake option DEPS_FETCH_PROXY (#1900) --- x.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x.py b/x.py index 08641028158..464d3987e42 100755 --- a/x.py +++ b/x.py @@ -110,7 +110,7 @@ def build(dir: str, jobs: Optional[int], ghproxy: bool, ninja: bool, unittest: b cmake_options = ["-DCMAKE_BUILD_TYPE=RelWithDebInfo"] if ghproxy: - cmake_options.append("-DDEPS_FETCH_PROXY=https://ghproxy.com/") + cmake_options.append("-DDEPS_FETCH_PROXY=https://mirror.ghproxy.com/") if ninja: cmake_options.append("-G Ninja") if compiler == 'gcc': @@ -356,7 +356,7 @@ def test_go(dir: str, cli_path: str, rest: List[str]) -> None: help="directory to store cmake-generated and build files") parser_build.add_argument('-j', '--jobs', metavar='N', help='execute N build jobs concurrently') parser_build.add_argument('--ghproxy', default=False, action='store_true', - help='use https://ghproxy.com to fetch dependencies') + help='use https://mirror.ghproxy.com to fetch dependencies') parser_build.add_argument('--ninja', default=False, action='store_true', help='use Ninja to build kvrocks') parser_build.add_argument('--unittest', default=False, action='store_true', help='build unittest target') parser_build.add_argument('--compiler', default='auto', choices=('auto', 'gcc', 'clang'),