mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
no more workaround, the -r option of clone works with branch name too
This commit is contained in:
parent
b7035b67b7
commit
0361e8a7aa
@ -133,15 +133,10 @@ endif(NOT EIGEN_MODE)
|
|||||||
## mandatory variables (the default should be ok in most cases):
|
## mandatory variables (the default should be ok in most cases):
|
||||||
|
|
||||||
SET (CTEST_CVS_COMMAND "hg")
|
SET (CTEST_CVS_COMMAND "hg")
|
||||||
SET (CTEST_CVS_CHECKOUT "${CTEST_CVS_COMMAND} clone http://bitbucket.org/eigen/eigen2 \"${CTEST_SOURCE_DIRECTORY}\"")
|
SET (CTEST_CVS_CHECKOUT "${CTEST_CVS_COMMAND} clone -r 2.0 http://bitbucket.org/eigen/eigen2 \"${CTEST_SOURCE_DIRECTORY}\"")
|
||||||
|
|
||||||
# which ctest command to use for running the dashboard
|
# which ctest command to use for running the dashboard
|
||||||
if(WIN32 AND NOT UNIX)
|
SET (CTEST_COMMAND "${EIGEN_CMAKE_DIR}ctest -D ${EIGEN_MODE}")
|
||||||
# TODO find a portable way to update to the 2.0 branch
|
|
||||||
SET (CTEST_COMMAND "${EIGEN_CMAKE_DIR}ctest -D ${EIGEN_MODE}")
|
|
||||||
else(WIN32 AND NOT UNIX)
|
|
||||||
SET (CTEST_COMMAND "sh -c \" hg up -R ../src 2.0 && ${EIGEN_CMAKE_DIR}ctest -D ${EIGEN_MODE}\"")
|
|
||||||
endif(WIN32 AND NOT UNIX)
|
|
||||||
|
|
||||||
# what cmake command to use for configuring this dashboard
|
# what cmake command to use for configuring this dashboard
|
||||||
SET (CTEST_CMAKE_COMMAND "${EIGEN_CMAKE_DIR}cmake -DEIGEN_BUILD_TESTS=on ")
|
SET (CTEST_CMAKE_COMMAND "${EIGEN_CMAKE_DIR}cmake -DEIGEN_BUILD_TESTS=on ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user