Преглед изворни кода

build: activate the emscripten builds on the build bot.

legacy
Sam Hocevar sam пре 11 година
родитељ
комит
8ff57070c7
3 измењених фајлова са 19 додато и 8 уклоњено
  1. +3
    -3
      build/build-html
  2. +6
    -5
      build/lol-build
  3. +10
    -0
      build/run-bitten.sh

+ 3
- 3
build/build-html Прегледај датотеку

@@ -4,7 +4,7 @@
make distclean

set -e
./build/lol-build "$@" bootstrap emscripten-html
./build/lol-build "$@" configure emscripten-html
./build/lol-build "$@" build emscripten-html
./build/lol-build "$@" bootstrap web-html
./build/lol-build "$@" configure web-html
./build/lol-build "$@" build web-html


+ 6
- 5
build/lol-build Прегледај датотеку

@@ -29,8 +29,8 @@
# - win*-i386
# - win*-amd64
# - raspi-arm
# - emscripten-html
# - emscripten-js
# - web-html
# - web-js
#

set -e
@@ -206,7 +206,7 @@ configure()
# Ensure we're _really_ on amd64
CXXFLAGS="$CXXFLAGS -m64"
;;
emscripten-*)
web-*)
# Force cross-compilation because AC_TRY_LINK is going to check
# whether our binaries have the executable bit set.
HOSTFLAGS=--host=none
@@ -274,8 +274,9 @@ configure()

PATH="$PATH" PKG_CONFIG_PATH="$PKG_CONFIG_PATH" do_configure $HOSTFLAGS $BUILDFLAGS CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" GTK_LIBS="$GTK_LIBS"
;;
emscripten-*)
do_configure $HOSTFLAGS $BUILDFLAGS CC=emcc CXX=em++ AR=emar RANLIB=emranlib PKG_CONFIG=/bin/false SDL_CONFIG=/bin/false ac_cv_exeext=".${platform##emscripten-}"
web-*)
# We use --enable-release otherwise builds are really too slow
do_configure --enable-release $HOSTFLAGS $BUILDFLAGS CC=emcc CXX=em++ AR=emar RANLIB=emranlib PKG_CONFIG=/bin/false SDL_CONFIG=/bin/false ac_cv_exeext=".${platform##web-}"
;;
*)
PATH="$PATH" do_configure CFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS"


+ 10
- 0
build/run-bitten.sh Прегледај датотеку

@@ -192,6 +192,16 @@ if i686-w64-mingw32-g++ --version >/dev/null 2>&1; then
fi
append ""

#
# Emscripten
#

append "[emscripten]"
if em++ --version >/dev/null 2>&1; then
append "version = $(version | sed -ne 's/.*emcc.* \([0-9.]\{1,\}\).*/\1/p')"
fi
append ""

#
# Android NDK
#


Loading…
Откажи
Сачувај