diff options
Diffstat (limited to 'travis/compile.sh')
-rwxr-xr-x | travis/compile.sh | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/travis/compile.sh b/travis/compile.sh index 683e7012a4..3669643f9d 100755 --- a/travis/compile.sh +++ b/travis/compile.sh @@ -6,7 +6,7 @@ else TS=""; fi if [[ "$ENABLE_DEBUG" == 1 ]]; then - DEBUG="--enable-debug --without-pcre-valgrind"; + DEBUG="--enable-debug"; else DEBUG=""; fi @@ -24,10 +24,11 @@ else MAKE_QUIET="" fi -MAKE_JOBS=${MAKE_JOBS:-2} +MAKE_JOBS=${MAKE_JOBS:-$(nproc)} ./buildconf --force ./configure \ +--enable-option-checking=fatal \ --prefix="$HOME"/php-install \ $CONFIG_QUIET \ $DEBUG \ @@ -41,18 +42,18 @@ $TS \ --with-pdo-sqlite \ --enable-intl \ --without-pear \ ---with-gd \ ---with-jpeg-dir=/usr \ ---with-png-dir=/usr \ +--enable-gd \ +--with-jpeg \ +--with-webp \ +--with-freetype \ +--with-xpm \ --enable-exif \ ---enable-zip \ ---without-libzip \ +--with-zip \ --with-zlib \ --with-zlib-dir=/usr \ --enable-soap \ --enable-xmlreader \ --with-xsl \ ---with-curl=/usr \ --with-tidy \ --with-xmlrpc \ --enable-sysvsem \ @@ -72,13 +73,13 @@ $TS \ --enable-ftp \ --with-pspell=/usr \ --with-enchant=/usr \ ---enable-wddx \ ---with-freetype-dir=/usr \ ---with-xpm-dir=/usr \ --with-kerberos \ --enable-sysvmsg \ +--with-ffi \ +--with-sodium \ --enable-zend-test=shared \ -> "$CONFIG_LOG_FILE" +--enable-werror \ +--with-pear -make "-j${MAKE_JOBS}" $MAKE_QUIET > "$MAKE_LOG_FILE" -make install >> "$MAKE_LOG_FILE" +make "-j${MAKE_JOBS}" $MAKE_QUIET +make install |