]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Specify make flags globally and work around PR 63942 for regeneration
authorJoe Orton <jorton@apache.org>
Wed, 20 Nov 2019 09:38:14 +0000 (09:38 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 20 Nov 2019 09:38:14 +0000 (09:38 +0000)
of server/util_expr parser.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1870047 13f79535-47bb-0310-9956-ffa450edef68

.travis.yml
test/README.travis
test/travis_run_linux.sh

index bf550ed5b27bcfe84ab83ff0edeb5c60a8f856a2..15e9a8416082aa70e953f82651f69e0eb695f17e 100644 (file)
@@ -21,6 +21,9 @@ addons:
       - libnghttp2-dev
       - libjansson-dev
       - libpcre2-dev
+env:
+  global:
+    - MFLAGS=-j2
 
 matrix:
   include:
@@ -68,10 +71,12 @@ matrix:
             - libjansson-dev
             - libpcre2-dev
     # -------------------------------------------------------------------------
+    # MFLAGS= works around https://bz.apache.org/bugzilla/show_bug.cgi?id=63942
     - name: Linux Ubuntu, Regenerate ap_expr
       os: linux
       env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode NOTEST_CFLAGS=-Werror"
            BUILDCONFIG="--with-regen-expr"
+           MFLAGS=
     # -------------------------------------------------------------------------
     - if: branch != 2.4.x
       name: Linux Ubuntu, APR trunk
index 8bc912206846616e54a04e8ea4df8fd856ed11e2..d73f40686750420818de6295d034e016cfd27930 100644 (file)
@@ -19,7 +19,9 @@ The Travis scripts use the following environment variables:
 * CONFIG - arguments to pass to httpd's configure script.
 
 * BUILDCONFIG - arguments to pass when running httpd's ./buildconf script
-  
+
+* MFLAGS - arguments to pass when running "make" for httpd.
+
 * SKIP_TESTING - if set, the Perl test framework is not run for the
   build.
 
index 52442b7f46d431363c11a1cb0b1c525560403942..5f1268fe692f296c3a74c54882d60ab0d7e8334b 100755 (executable)
@@ -24,7 +24,7 @@ else
     CONFIG="$CONFIG --with-apr-util=/usr"
 fi
 ./configure $CONFIG
-make $MAKEFLAGS -j2
+make $MFLAGS
 if ! test -v SKIP_TESTING; then
     if test -v WITH_TEST_SUITE; then
         make check