Browse Source

build: activate the emscripten builds on the build bot.

legacy
Sam Hocevar sam 11 years ago
parent
commit
8ff57070c7
3 changed files with 19 additions and 8 deletions
  1. +3
    -3
      build/build-html
  2. +6
    -5
      build/lol-build
  3. +10
    -0
      build/run-bitten.sh

+ 3
- 3
build/build-html View File

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


set -e 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 View File

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


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


+ 10
- 0
build/run-bitten.sh View File

@@ -192,6 +192,16 @@ if i686-w64-mingw32-g++ --version >/dev/null 2>&1; then
fi fi
append "" 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 # Android NDK
# #


Loading…
Cancel
Save