Skip to content

Commit f827501

Browse files
committed
restore to local git to speed up the build
1 parent 05b7ee7 commit f827501

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

cmake/external/eigen.cmake

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ if(WITH_AMD_GPU)
1616
ExternalProject_Add(
1717
extern_eigen3
1818
${EXTERNAL_PROJECT_LOG_ARGS}
19-
GIT_REPOSITORY "https://github.com/sabreshao/hipeigen.git"
20-
GIT_TAG 7cb2b6e5a4b4a1efe658abb215cd866c6fb2275e
19+
# GIT_REPOSITORY "https://github.com/sabreshao/hipeigen.git"
20+
# GIT_TAG 0cba03ff9f8f9f70bbd92ac5857b031aa8fed6f9
21+
GIT_REPOSITORY "http://[email protected]:8080/r/eigen3.git"
2122
PREFIX ${EIGEN_SOURCE_DIR}
2223
UPDATE_COMMAND ""
2324
CONFIGURE_COMMAND ""
@@ -29,10 +30,11 @@ else()
2930
ExternalProject_Add(
3031
extern_eigen3
3132
${EXTERNAL_PROJECT_LOG_ARGS}
32-
GIT_REPOSITORY "https://github.com/eigenteam/eigen-git-mirror"
33+
# GIT_REPOSITORY "https://github.com/eigenteam/eigen-git-mirror"
34+
GIT_REPOSITORY "http://[email protected]:8080/r/eigen3.git"
3335
# eigen on cuda9.1 missing header of math_funtions.hpp
3436
# https://stackoverflow.com/questions/43113508/math-functions-hpp-not-found-when-using-cuda-with-eigen
35-
GIT_TAG 917060c364181f33a735dc023818d5a54f60e54c
37+
# GIT_TAG 917060c364181f33a735dc023818d5a54f60e54c
3638
PREFIX ${EIGEN_SOURCE_DIR}
3739
DOWNLOAD_NAME "eigen"
3840
UPDATE_COMMAND ""

cmake/external/gflags.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ INCLUDE_DIRECTORIES(${GFLAGS_INCLUDE_DIR})
2828
ExternalProject_Add(
2929
extern_gflags
3030
${EXTERNAL_PROJECT_LOG_ARGS}
31-
GIT_REPOSITORY "https://github.com/gflags/gflags.git"
32-
GIT_TAG 77592648e3f3be87d6c7123eb81cbad75f9aef5a
31+
# GIT_REPOSITORY "https://github.com/gflags/gflags.git"
32+
GIT_REPOSITORY "http://[email protected]:8080/r/gflags.git"
33+
# GIT_TAG 77592648e3f3be87d6c7123eb81cbad75f9aef5a
3334
PREFIX ${GFLAGS_SOURCES_DIR}
3435
UPDATE_COMMAND ""
3536
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}

cmake/external/glog.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ ELSE()
3434
SET(GLOG_REPOSITORY "https://github.com/google/glog.git")
3535
SET(GLOG_TAG "v0.3.5")
3636
ENDIF()
37+
SET(GLOG_REPOSITORY "http://[email protected]:8080/r/glog.git")
3738

3839
ExternalProject_Add(
3940
extern_glog
4041
${EXTERNAL_PROJECT_LOG_ARGS}
4142
DEPENDS gflags
4243
GIT_REPOSITORY ${GLOG_REPOSITORY}
43-
GIT_TAG ${GLOG_TAG}
44+
# GIT_TAG ${GLOG_TAG}
4445
PREFIX ${GLOG_SOURCES_DIR}
4546
UPDATE_COMMAND ""
4647
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}

cmake/external/gtest.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ IF(WITH_TESTING)
4343
extern_gtest
4444
${EXTERNAL_PROJECT_LOG_ARGS}
4545
DEPENDS ${GTEST_DEPENDS}
46-
GIT_REPOSITORY "https://github.com/google/googletest.git"
47-
GIT_TAG "release-1.8.0"
46+
# GIT_REPOSITORY "https://github.com/google/googletest.git"
47+
GIT_REPOSITORY "http://[email protected]:8080/r/gtest.git"
48+
# GIT_TAG "release-1.8.0"
4849
PREFIX ${GTEST_SOURCES_DIR}
4950
UPDATE_COMMAND ""
5051
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}

cmake/external/protobuf.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
202202
SET(OPTIONAL_ARGS ${OPTIONAL_ARGS} "-DCMAKE_GENERATOR_PLATFORM=x64")
203203
ENDIF()
204204

205-
SET(PROTOBUF_REPO "https://github.com/google/protobuf.git")
206-
SET(PROTOBUF_TAG "9f75c5aa851cd877fb0d93ccc31b8567a6706546")
205+
# SET(PROTOBUF_REPO "https://github.com/google/protobuf.git")
206+
# SET(PROTOBUF_TAG "9f75c5aa851cd877fb0d93ccc31b8567a6706546")
207+
SET(PROTOBUF_REPO http://[email protected]:8080/r/protobuf.git)
207208
IF(MOBILE_INFERENCE)
208209
# The reason why the official version is not used is described in
209210
# https://github.com/PaddlePaddle/Paddle/issues/6114

cmake/external/zlib.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ INCLUDE_DIRECTORIES(${THIRD_PARTY_PATH}/install) # For Paddle code to include zl
3131
ExternalProject_Add(
3232
extern_zlib
3333
${EXTERNAL_PROJECT_LOG_ARGS}
34-
GIT_REPOSITORY "https://github.com/madler/zlib.git"
35-
GIT_TAG "v1.2.8"
34+
# GIT_REPOSITORY "https://github.com/madler/zlib.git"
35+
GIT_REPOSITORY "http://[email protected]:8080/r/zlib.git"
36+
# GIT_TAG "v1.2.8"
3637
PREFIX ${ZLIB_SOURCES_DIR}
3738
UPDATE_COMMAND ""
3839
CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}

0 commit comments

Comments
 (0)