summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-05-29 12:20:00 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:04 -0400
commit650b21ed7ed41768555f26ba0874a4dde88e01d5 (patch)
treed05d74026deb2ff52695e1c5028127adbb014521 /.ci
parent772f48bdac84fce5a71ea2aca74d3f63c0507e98 (diff)
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
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/bootstrap-efl-native-for-cross.sh7
-rwxr-xr-x.ci/bootstrap_eolian.sh7
-rwxr-xr-x.ci/ci-configure.sh2
3 files changed, 8 insertions, 8 deletions
diff --git a/.ci/bootstrap-efl-native-for-cross.sh b/.ci/bootstrap-efl-native-for-cross.sh
new file mode 100755
index 0000000000..9a1272d77c
--- /dev/null
+++ b/.ci/bootstrap-efl-native-for-cross.sh
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3mkdir build-bootstrap-native
4meson --prefix=/usr/ --libdir=/usr/lib -Dbuild-examples=false -Dbuild-tests=false -Dbindings="" build-bootstrap-native
5ninja -C build-bootstrap-native install
6rm -rf build-bootstrap-native
7ldconfig
diff --git a/.ci/bootstrap_eolian.sh b/.ci/bootstrap_eolian.sh
deleted file mode 100755
index 3e2734e714..0000000000
--- a/.ci/bootstrap_eolian.sh
+++ /dev/null
@@ -1,7 +0,0 @@
1#!/bin/sh
2
3mkdir build-eolian-bootstrap
4meson --prefix=/usr/ --libdir=/usr/lib -Deolian-bootstrap=true build-eolian-bootstrap
5ninja -C build-eolian-bootstrap install
6rm -rf build-eolian-bootstrap
7ldconfig
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 464380c0e0..77236ec655 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -111,7 +111,7 @@ else
111 if [ "$1" = "mingw" ]; then 111 if [ "$1" = "mingw" ]; then
112 OPTS="$OPTS $MINGW_COPTS" 112 OPTS="$OPTS $MINGW_COPTS"
113 docker exec $(cat $HOME/cid) sh -c 'rm -f /src/config.cache' 113 docker exec $(cat $HOME/cid) sh -c 'rm -f /src/config.cache'
114 docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap_eolian.sh' 114 docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap-efl-native-for-cross.sh'
115 fi 115 fi
116 docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf' 116 docker exec $(cat $HOME/cid) sh -c 'rm -f ~/.ccache/ccache.conf'
117 travis_fold autoreconf autoreconf 117 travis_fold autoreconf autoreconf