aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-13 13:48:24 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2019-02-14 10:52:10 +0100
commit8e8d891237ad1a3478e22dc8bcc6bb69b4388ba8 (patch)
treeff9d64db185d20d449840b7db2bc84b2400ad406
parentbuild: add a option to bootstrap eolian (diff)
downloadefl-devs/stefan/review-patches.tar.gz
build: enable eolian_gen bootstrapping for cross compiledevs/stefan/review-patches
this enables travis to build eolian_gen before cross compiling in mingw. This is done in order to make eolian_gen patches easier on CI. Differential Revision: https://phab.enlightenment.org/D7930
-rwxr-xr-x.ci/bootstrap_eolian.sh7
-rwxr-xr-x.ci/ci-configure.sh3
2 files changed, 9 insertions, 1 deletions
diff --git a/.ci/bootstrap_eolian.sh b/.ci/bootstrap_eolian.sh
new file mode 100755
index 0000000000..3e2734e714
--- /dev/null
+++ b/.ci/bootstrap_eolian.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+mkdir build-eolian-bootstrap
+meson --prefix=/usr/ --libdir=/usr/lib -Deolian-bootstrap=true build-eolian-bootstrap
+ninja -C build-eolian-bootstrap install
+rm -rf build-eolian-bootstrap
+ldconfig
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 3f35c9e969..b2a7a03f26 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -77,7 +77,7 @@ else
RELEASE_READY_LINUX_COPTS=" --with-profile=release"
- MINGW_COPTS=" --prefix=/ewpi-64-install --host=x86_64-w64-mingw32 --with-eolian-gen=/usr/local/bin/eolian_gen \
+ MINGW_COPTS=" --prefix=/ewpi-64-install --host=x86_64-w64-mingw32 --with-eolian-gen=/usr/bin/eolian_gen \
--with-edje-cc=/usr/local/bin/edje_cc --with-eet-eet=/usr/local/bin/eet \
--with-bin-elm-prefs-cc=/usr/local/bin/elm_prefs_cc \
--disable-static --with-tests=regular --with-crypto=openssl \
@@ -110,6 +110,7 @@ else
if [ "$1" = "mingw" ]; then
OPTS="$OPTS $MINGW_COPTS"
docker exec $(cat $HOME/cid) sh -c 'rm -f /src/config.cache'
+ docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap_eolian.sh'
fi
docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
travis_fold autoreconf autoreconf