From 5894d384f26b5ebd192eb3e659265e4f6c639272 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 4 Dec 2019 17:25:19 +0100 Subject: [PATCH] ci: re-enable cxx bindings for CI builds again While cxx bindings are enabled by default we had them turned off on the CI builds due to the amount of memory they used in the examples building/linking. This often had lead to the case where the Travis build failed due too little resources on the Travis nodes for it. I have not seen this stalls during linking on my machine for a while now and my tests on Travis do also not show this. Time to enable them again and if the problem comes back we can revert. Signed-off-by: Stefan Schmidt Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D10822 --- .ci/bootstrap-efl-native-for-cross.sh | 2 +- .ci/ci-configure.sh | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.ci/bootstrap-efl-native-for-cross.sh b/.ci/bootstrap-efl-native-for-cross.sh index 9a1272d77c..f4d7be0229 100755 --- a/.ci/bootstrap-efl-native-for-cross.sh +++ b/.ci/bootstrap-efl-native-for-cross.sh @@ -1,7 +1,7 @@ #!/bin/sh mkdir build-bootstrap-native -meson --prefix=/usr/ --libdir=/usr/lib -Dbuild-examples=false -Dbuild-tests=false -Dbindings="" build-bootstrap-native +meson --prefix=/usr/ --libdir=/usr/lib -Dbuild-examples=false -Dbuild-tests=false -Dbindings=cxx build-bootstrap-native ninja -C build-bootstrap-native install rm -rf build-bootstrap-native ldconfig diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh index 06478d1960..f5a127ba0d 100755 --- a/.ci/ci-configure.sh +++ b/.ci/ci-configure.sh @@ -6,22 +6,21 @@ set -e if [ "$DISTRO" != "" ] ; then # Normal build test of all targets - OPTS=" -Decore-imf-loaders-disabler=scim,ibus -Dbindings=luajit" # Why do we need to disable the imf loaders here? + OPTS=" -Decore-imf-loaders-disabler=scim,ibus" - MONO_LINUX_COPTS=" -Dbindings=luajit,mono -Dmono-beta=true" + MONO_LINUX_COPTS=" -Dbindings=luajit,cxx,mono -Dmono-beta=true" WAYLAND_LINUX_COPTS=" -Dwl=true -Ddrm=true -Dopengl=es-egl -Dwl-deprecated=true -Ddrm-deprecated=true" # TODO: - # - Enable C++ bindings: -Dbindings=luajit,cxx # - No libelogind, Xgesture packages in fedora 30 repo # - RPM fusion repo for xine and libvlc ENABLED_LINUX_COPTS=" -Dfb=true -Dsdl=true -Dbuffer=true -Dbuild-id=travis-build \ -Ddebug-threads=true -Dglib=true -Dg-mainloop=true -Dxpresent=true -Dxgesture=false -Dxinput22=true \ -Devas-loaders-disabler=json -Decore-imf-loaders-disabler= -Demotion-loaders-disabler=libvlc,xine \ -Demotion-generic-loaders-disabler=vlc -Dharfbuzz=true -Dpixman=true -Dhyphen=true \ - -Dvnc-server=true -Dbindings=luajit -Delogind=false -Dinstall-eo-files=true -Dphysics=true" + -Dvnc-server=true -Dbindings=luajit,cxx,mono -Delogind=false -Dinstall-eo-files=true -Dphysics=true" # Enabled png, jpeg evas loader for in tree edje file builds DISABLED_LINUX_COPTS=" -Daudio=false -Davahi=false -Dx11=false -Dphysics=false -Deeze=false \ @@ -39,7 +38,7 @@ if [ "$DISTRO" != "" ] ; then MINGW_COPTS="--cross-file .ci/cross_toolchain.txt -Davahi=false -Deeze=false -Dsystemd=false \ -Dpulseaudio=false -Dx11=false -Dopengl=none -Dlibmount=false \ - -Devas-loaders-disabler=json,pdf,ps,raw,svg,rsvg -Dbindings=luajit \ + -Devas-loaders-disabler=json,pdf,ps,raw,svg,rsvg \ -Dharfbuzz=true -Dpixman=true -Dembedded-lz4=false " if [ "$1" = "default" ]; then @@ -109,6 +108,6 @@ else export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/Cellar/libffi/$LIBFFI_VER/lib/pkgconfig" export CC="ccache gcc" travis_fold meson meson - mkdir build && meson build -Dopengl=full -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Dbindings=luajit -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer1,libvlc,xine + mkdir build && meson build -Dopengl=full -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer1,libvlc,xine travis_endfold meson fi