diff options
| author | Théo Zimmermann | 2018-08-28 18:43:03 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-08-31 14:05:10 +0200 |
| commit | 04542c3288b838c57253f2c315f1dab028412a40 (patch) | |
| tree | f33c7f03b94267c01c48b566a08c822f190e9ac7 /dev/ci/ci-math-classes.sh | |
| parent | e8b1f95a5bf8091b25f82266d0ff084d722ed6c5 (diff) | |
Download tarball instead of cloning external projects (when $CI is set).
This allows to use fixed commits and not just branches or tags.
We keep using git clone when $FORCE_GIT is set (for projects on
gforge.inria.fr and projects pulling dependencies through git submodules).
fiat-parsers also calls git submodule, but inside its own Makefile.
Diffstat (limited to 'dev/ci/ci-math-classes.sh')
| -rwxr-xr-x | dev/ci/ci-math-classes.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/ci/ci-math-classes.sh b/dev/ci/ci-math-classes.sh index 6a064b2971..ae31a8e7f8 100755 --- a/dev/ci/ci-math-classes.sh +++ b/dev/ci/ci-math-classes.sh @@ -3,8 +3,6 @@ ci_dir="$(dirname "$0")" . "${ci_dir}/ci-common.sh" -math_classes_CI_DIR="${CI_BUILD_DIR}/math-classes" +git_download math_classes -git_checkout "${math_classes_CI_BRANCH}" "${math_classes_CI_GITURL}" "${math_classes_CI_DIR}" - -( cd "${math_classes_CI_DIR}" && ./configure.sh && make && make install ) +( cd "${CI_BUILD_DIR}/math_classes" && ./configure.sh && make && make install ) |
