summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-20 11:26:05 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-07-30 17:40:57 +0200
commit0dc35fe8b3dd0dda40656b728504219940c9d13c (patch)
treeb84291b56cc6f8134c25ea7d35357af088eec5d3 /.ci
parentbc0d74c28172de9b19e1622a886ef58e9625dba5 (diff)
ci: disable built-in make rules and variables
these slow down build times and don't benefit us Differential Revision: https://phab.enlightenment.org/D6651
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/ci-configure.sh4
-rwxr-xr-x.ci/ci-make-benchmark.sh2
-rwxr-xr-x.ci/ci-make-check.sh4
-rwxr-xr-x.ci/ci-make-checkbuild.sh2
-rwxr-xr-x.ci/ci-make-distcheck.sh2
-rwxr-xr-x.ci/ci-make-examples.sh2
-rwxr-xr-x.ci/ci-make-install.sh2
-rwxr-xr-x.ci/ci-make.sh2
8 files changed, 10 insertions, 10 deletions
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 01a60ea749..8aebe8a78e 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -50,12 +50,12 @@ if [ "$DISTRO" != "" ] ; then
50 fi 50 fi
51 docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf' 51 docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
52 travis_fold autoreconf autoreconf 52 travis_fold autoreconf autoreconf
53 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 53 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
54 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 54 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
55 $(cat $HOME/cid) sh -c "autoreconf -iv" 55 $(cat $HOME/cid) sh -c "autoreconf -iv"
56 travis_endfold autoreconf 56 travis_endfold autoreconf
57 travis_fold configure "configure $OPTS" 57 travis_fold configure "configure $OPTS"
58 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 58 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
59 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 59 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
60 $(cat $HOME/cid) sh -c "./configure $OPTS" 60 $(cat $HOME/cid) sh -c "./configure $OPTS"
61 travis_endfold configure 61 travis_endfold configure
diff --git a/.ci/ci-make-benchmark.sh b/.ci/ci-make-benchmark.sh
index 9005f482a9..d8357173e5 100755
--- a/.ci/ci-make-benchmark.sh
+++ b/.ci/ci-make-benchmark.sh
@@ -7,7 +7,7 @@ if [ "$1" = "release-ready" ] ; then
7fi 7fi
8travis_fold benchmark "make benchmark" 8travis_fold benchmark "make benchmark"
9if [ "$DISTRO" != "" ] ; then 9if [ "$DISTRO" != "" ] ; then
10 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make benchmark 10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make benchmark
11else 11else
12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" 12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
13 make benchmark 13 make benchmark
diff --git a/.ci/ci-make-check.sh b/.ci/ci-make-check.sh
index 38e00c1ac6..a753b156ef 100755
--- a/.ci/ci-make-check.sh
+++ b/.ci/ci-make-check.sh
@@ -13,8 +13,8 @@ fi
13travis_fold check "make check-TESTS" 13travis_fold check "make check-TESTS"
14if [ "$DISTRO" != "" ] ; then 14if [ "$DISTRO" != "" ] ; then
15 for tries in 1 2 3 ; do 15 for tries in 1 2 3 ; do
16 (docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make -j2 -C src/ check-TESTS) && break 16 (docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make -j2 -C src/ check-TESTS) && break
17 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) cat src/test-suite.log 17 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) cat src/test-suite.log
18 if [ $tries != 3 ] ; then echo "tests failed, trying again!" ; fi 18 if [ $tries != 3 ] ; then echo "tests failed, trying again!" ; fi
19 false 19 false
20 done 20 done
diff --git a/.ci/ci-make-checkbuild.sh b/.ci/ci-make-checkbuild.sh
index aa19844b79..fab8a43635 100755
--- a/.ci/ci-make-checkbuild.sh
+++ b/.ci/ci-make-checkbuild.sh
@@ -7,7 +7,7 @@ if [ "$1" = "release-ready" ] ; then
7fi 7fi
8travis_fold check-build "make check-build" 8travis_fold check-build "make check-build"
9if [ "$DISTRO" != "" ] ; then 9if [ "$DISTRO" != "" ] ; then
10 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make check-build 10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make check-build
11else 11else
12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" 12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
13 make check-build 13 make check-build
diff --git a/.ci/ci-make-distcheck.sh b/.ci/ci-make-distcheck.sh
index 79342749ca..f4e66dfbbe 100755
--- a/.ci/ci-make-distcheck.sh
+++ b/.ci/ci-make-distcheck.sh
@@ -7,7 +7,7 @@ if [ "$1" != "release-ready" ] ; then
7fi 7fi
8travis_fold distcheck "make distcheck" 8travis_fold distcheck "make distcheck"
9if [ "$DISTRO" != "" ] ; then 9if [ "$DISTRO" != "" ] ; then
10 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
11 --env CXX="ccache g++" \ 11 --env CXX="ccache g++" \
12 --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 12 --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
13 $(cat $HOME/cid) make distcheck 13 $(cat $HOME/cid) make distcheck
diff --git a/.ci/ci-make-examples.sh b/.ci/ci-make-examples.sh
index 7b0a25c12f..6a59898083 100755
--- a/.ci/ci-make-examples.sh
+++ b/.ci/ci-make-examples.sh
@@ -7,7 +7,7 @@ if [ "$1" = "release-ready" ] ; then
7fi 7fi
8travis_fold examples "make examples" 8travis_fold examples "make examples"
9if [ "$DISTRO" != "" ] ; then 9if [ "$DISTRO" != "" ] ; then
10 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make examples 10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make examples
11else 11else
12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" 12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
13 make examples 13 make examples
diff --git a/.ci/ci-make-install.sh b/.ci/ci-make-install.sh
index 0b2970533f..48f311bd6b 100755
--- a/.ci/ci-make-install.sh
+++ b/.ci/ci-make-install.sh
@@ -7,7 +7,7 @@ if [ "$1" = "release-ready" ] ; then
7fi 7fi
8travis_fold install "make install" 8travis_fold install "make install"
9if [ "$DISTRO" != "" ] ; then 9if [ "$DISTRO" != "" ] ; then
10 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make install 10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make install
11else 11else
12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" 12 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
13 make install 13 make install
diff --git a/.ci/ci-make.sh b/.ci/ci-make.sh
index bee5a17500..dbe1ab4352 100755
--- a/.ci/ci-make.sh
+++ b/.ci/ci-make.sh
@@ -7,7 +7,7 @@ if [ "$1" = "release-ready" ] ; then
7fi 7fi
8travis_fold make make 8travis_fold make make
9if [ "$DISTRO" != "" ] ; then 9if [ "$DISTRO" != "" ] ; then
10 docker exec --env MAKEFLAGS="-j5" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make 10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make
11else 11else
12 export PATH="$(brew --prefix gettext)/bin:$PATH" 12 export PATH="$(brew --prefix gettext)/bin:$PATH"
13 make 13 make