[Mesa-dev] [PATCH 1/2] travis: Do our automake build tests with srcdir != builddir.

Eric Anholt eric at anholt.net
Tue Jun 5 19:46:35 UTC 2018


This will catch many automake bugs that end-users get to experience first,
otherwise.
---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 1f83f5b8d74d..3a88b24bdbec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -591,7 +591,9 @@ script:
 
       export CFLAGS="$CFLAGS -isystem`pwd`";
 
-      ./autogen.sh --enable-debug
+      mkdir build &&
+      cd build &&
+      ../autogen.sh --enable-debug
         $LIBUNWIND_FLAGS
         $DRI_LOADERS
         --with-dri-drivers=$DRI_DRIVERS
-- 
2.17.0



More information about the mesa-dev mailing list