File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,10 @@ message(STATUS "BUILD_PYTHON_BINDINGS:${BUILD_PYTHON_BINDINGS}")
2828option (BUILD_TOOLS "Build tools" ON )
2929message (STATUS "BUILD_TOOLS:${BUILD_TOOLS} " )
3030
31- option (USE_OSS_MIRROR "Use OSS mirror for faster third-party downloads" ON )
31+ option (USE_OSS_MIRROR "Use OSS mirror for faster third-party downloads" OFF )
32+ if (DEFINED ENV{USE_OSS_MIRROR} AND NOT "$ENV{USE_OSS_MIRROR} " STREQUAL "" )
33+ set (USE_OSS_MIRROR "$ENV{USE_OSS_MIRROR} " CACHE BOOL "Use OSS mirror for faster third-party downloads" FORCE )
34+ endif ()
3235message (STATUS "USE_OSS_MIRROR:${USE_OSS_MIRROR} " )
3336
3437cc_directory (thirdparty )
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ set(LIB_ARROW_DATASET ${EXTERNAL_LIB_DIR}/libarrow_dataset.a)
2222set (CONFIGURE_ENV_LIST "" )
2323if (USE_OSS_MIRROR)
2424 list (APPEND CONFIGURE_ENV_LIST
25- "ARROW_BOOST_URL=https://zvec.oss-cn-hongkong .aliyuncs.com/thirdparty/boost-1.88.0-cmake.tar.gz"
26- "ARROW_RAPIDJSON_URL=https://zvec.oss-cn-hongkong .aliyuncs.com/thirdparty/rapidjson-232389d4f1012dddec4ef84861face2d2ba85709.tar.gz"
27- "ARROW_RE2_URL=https://zvec.oss-cn-hongkong .aliyuncs.com/thirdparty/re2-2022-06-01.tar.gz"
28- "ARROW_THRIFT_URL=https://zvec.oss-cn-hongkong .aliyuncs.com/thirdparty/thrift-0.22.0.tar.gz"
29- "ARROW_UTF8PROC_URL=https://zvec.oss-cn-hongkong .aliyuncs.com/thirdparty/utf8proc-2.10.0.tar.gz"
30- "ARROW_XSIMD_URL=https://zvec.oss-cn-hongkong .aliyuncs.com/thirdparty/xsimd-13.0.0.tar.gz"
31- "ARROW_ZLIB_URL=https://zvec.oss-cn-hongkong .aliyuncs.com/thirdparty/zlib-1.3.1.tar.gz"
25+ "ARROW_BOOST_URL=https://zvec-bj .oss-cn-beijing .aliyuncs.com/thirdparty/boost-1.88.0-cmake.tar.gz"
26+ "ARROW_RAPIDJSON_URL=https://zvec-bj .oss-cn-beijing .aliyuncs.com/thirdparty/rapidjson-232389d4f1012dddec4ef84861face2d2ba85709.tar.gz"
27+ "ARROW_RE2_URL=https://zvec-bj .oss-cn-beijing .aliyuncs.com/thirdparty/re2-2022-06-01.tar.gz"
28+ "ARROW_THRIFT_URL=https://zvec-bj .oss-cn-beijing .aliyuncs.com/thirdparty/thrift-0.22.0.tar.gz"
29+ "ARROW_UTF8PROC_URL=https://zvec-bj .oss-cn-beijing .aliyuncs.com/thirdparty/utf8proc-2.10.0.tar.gz"
30+ "ARROW_XSIMD_URL=https://zvec-bj .oss-cn-beijing .aliyuncs.com/thirdparty/xsimd-13.0.0.tar.gz"
31+ "ARROW_ZLIB_URL=https://zvec-bj .oss-cn-beijing .aliyuncs.com/thirdparty/zlib-1.3.1.tar.gz"
3232 )
3333 message (STATUS "Using OSS mirror for third-party downloads" )
3434endif ()
You can’t perform that action at this time.
0 commit comments