This is an automated email from the ASF dual-hosted git repository.

twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 02fd85e6 Change the default value of cmake option DEPS_FETCH_PROXY 
(#1900)
02fd85e6 is described below

commit 02fd85e60056f6b728c7a9046a00d7b14730d7c6
Author: hulk <[email protected]>
AuthorDate: Mon Nov 20 21:12:05 2023 +0800

    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 08641028..464d3987 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 @@ if __name__ == '__main__':
                               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'),

Reply via email to