diff options
author | George Peter Banyard <girgias@php.net> | 2020-04-13 00:13:58 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-16 12:20:50 +0200 |
commit | 850feffac0b5ae5ad63638fe1577251971c54f7a (patch) | |
tree | 9c45756eb37849c07dfa48bbcf284b7dc4877d47 /travis/compile.sh | |
parent | 810c5c74e6fe9085e9668f154690d8913d3b80dd (diff) | |
download | php-git-850feffac0b5ae5ad63638fe1577251971c54f7a.tar.gz |
Add S390X architecture as a Travis job
This gives us a way to compile and test a big endian architecture.
Closes GH-5382.
Diffstat (limited to 'travis/compile.sh')
-rwxr-xr-x | travis/compile.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/travis/compile.sh b/travis/compile.sh index c1cc3aa04e..7af4bb21b0 100755 --- a/travis/compile.sh +++ b/travis/compile.sh @@ -9,6 +9,11 @@ if [[ "$ENABLE_DEBUG" == 1 ]]; then else DEBUG=""; fi +if [[ "$S390X" == 1 ]]; then + S390X_CONFIG="--without-pcre-jit"; +else + S390X_CONFIG=""; +fi if [[ -z "$CONFIG_LOG_FILE" ]]; then CONFIG_QUIET="--quiet" @@ -32,6 +37,7 @@ MAKE_JOBS=${MAKE_JOBS:-$(nproc)} $CONFIG_QUIET \ $DEBUG \ $TS \ +$S390X_CONFIG \ --enable-phpdbg \ --enable-fpm \ --with-pdo-mysql=mysqlnd \ |