build: enable eolian_gen bootstrapping for cross compile
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. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D7930
This commit is contained in:
parent
ac60610573
commit
7ab9b48151
|
@ -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
|
|
@ -77,7 +77,7 @@ else
|
||||||
|
|
||||||
RELEASE_READY_LINUX_COPTS=" --with-profile=release"
|
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-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 \
|
--with-bin-elm-prefs-cc=/usr/local/bin/elm_prefs_cc \
|
||||||
--disable-static --with-tests=regular --with-crypto=openssl \
|
--disable-static --with-tests=regular --with-crypto=openssl \
|
||||||
|
@ -110,6 +110,7 @@ else
|
||||||
if [ "$1" = "mingw" ]; then
|
if [ "$1" = "mingw" ]; then
|
||||||
OPTS="$OPTS $MINGW_COPTS"
|
OPTS="$OPTS $MINGW_COPTS"
|
||||||
docker exec $(cat $HOME/cid) sh -c 'rm -f /src/config.cache'
|
docker exec $(cat $HOME/cid) sh -c 'rm -f /src/config.cache'
|
||||||
|
docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap_eolian.sh'
|
||||||
fi
|
fi
|
||||||
docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
|
docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
|
||||||
travis_fold autoreconf autoreconf
|
travis_fold autoreconf autoreconf
|
||||||
|
|
Loading…
Reference in New Issue