ci: enhance native bootstrap script for cross builds

Summary:
So far we only did generate a newer eolian_gen binary here due to the
frequent changes, but we really need way more native tools when doing the
cross build. Edje_cc, eet and elm_prefs_cc to name them.

Maintaining a special target for these (when they need almost all of
efl/elm anyway) looks like a burden so we are going with a full efl
build. Still speeding it up quite a bit by disabling bindings, examples
and tests when dong the native tooling build.

Reviewers: bu5hm4n, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9041
This commit is contained in:
Stefan Schmidt 2019-05-29 12:20:00 -04:00 committed by Mike Blumenkrantz
parent 772f48bdac
commit 650b21ed7e
3 changed files with 8 additions and 8 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
mkdir build-bootstrap-native
meson --prefix=/usr/ --libdir=/usr/lib -Dbuild-examples=false -Dbuild-tests=false -Dbindings="" build-bootstrap-native
ninja -C build-bootstrap-native install
rm -rf build-bootstrap-native
ldconfig

View File

@ -1,7 +0,0 @@
#!/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

View File

@ -111,7 +111,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'
docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap-efl-native-for-cross.sh'
fi
docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
travis_fold autoreconf autoreconf