From 139e58225bfa90dbad11a2b359b32b1454305160 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 3 Jan 2019 16:09:07 -0600 Subject: [PATCH 1/2] Run barvinok's get_submodules.sh multiple times if need be --- build-with-barvinok.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/build-with-barvinok.sh b/build-with-barvinok.sh index 079e500..62bd7e8 100755 --- a/build-with-barvinok.sh +++ b/build-with-barvinok.sh @@ -8,7 +8,7 @@ echo "BUILDING IN $BUILD_DIR" PREFIX="$HOME/pack/barvinok" NTL_VER="10.5.0" -BARVINOK_GIT_REV="barvinok-0.41" +BARVINOK_GIT_REV="barvinok-0.41.1" NPROCS=30 if true; then @@ -29,7 +29,17 @@ if true; then git clone git://repo.or.cz/barvinok.git cd barvinok git checkout $BARVINOK_GIT_REV - ./get_submodules.sh + + numtries=1 + while ! ./get_submodules.sh; do + sleep 5 + numtries=$((numtries+1)) + if test "$numtries" == 5; then + echo "*** getting barvinok submodules failed even after a few tries" + exit 1 + fi + done + sh autogen.sh ./configure --prefix="$PREFIX" --with-ntl-prefix="$PREFIX" --enable-shared-barvinok --with-pet=bundled -- GitLab From 4a36247f87dd39c18613ef98ea045717b3920f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Thu, 3 Jan 2019 23:36:31 +0100 Subject: [PATCH 2/2] Py3.5 -> 3.6 in CI --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d93e178..9023c23 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,27 +11,27 @@ Python 2.7: reports: junit: test/pytest.xml -Python 3.5: +Python 3.6: script: - - export PY_EXE=python3.5 + - export PY_EXE=python3.6 - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - ". ./build-and-test-py-project.sh" tags: - - python3.5 + - python3.6 except: - tags artifacts: reports: junit: test/pytest.xml -Python 3.5 small integer opt: +Python 3.6 small integer opt: script: - - export PY_EXE=python3.5 + - export PY_EXE=python3.6 - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - ./configure.py --use-imath-sio - ". ./build-and-test-py-project.sh" tags: - - python3.5 + - python3.6 except: - tags artifacts: -- GitLab