xserver: Branch 'master' - 2 commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Feb 25 15:35:58 UTC 2019


 .gitlab-ci.yml                      |   10 ++++++----
 hw/xquartz/mach-startup/Makefile.am |    4 ++++
 hw/xwin/glx/Makefile.am             |    3 ++-
 3 files changed, 12 insertions(+), 5 deletions(-)

New commits:
commit 432fad04e7aaad1f10d732a51665ecbe934246c6
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Feb 22 10:22:49 2019 +0100

    gitlab-ci: Run make distcheck in autotools build & test job
    
    We don't set the PIGLIT_DIR and XTS_DIR environment variables for make
    distcheck for now, otherwise it complains about files left behind by
    piglit.

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e9df00d3..4cb5e7d33 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -64,8 +64,6 @@ debian-testing:
             - ccache/
     variables:
         LC_ALL: C.UTF-8
-        PIGLIT_DIR: /root/piglit
-        XTEST_DIR: /root/xts
     before_script:
         - export CCACHE_BASEDIR="$PWD"
         - export CCACHE_DIR="$PWD/ccache"
@@ -81,9 +79,10 @@ autotools-build-and-test:
     script:
         - mkdir build/
         - cd build/
+        - ../autogen.sh --prefix=/usr
+        - make -j$(nproc) distcheck
         - |
-          ../autogen.sh --prefix=/usr
-          make -j$(nproc) install
+          export PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts
           set +e
           set -x
           make -j$(nproc) check
@@ -93,6 +92,9 @@ autotools-build-and-test:
 
 meson-build-and-test:
     extends: .common-build-and-test
+    variables:
+        PIGLIT_DIR: /root/piglit
+        XTEST_DIR: /root/xts
     script:
         - meson -Dprefix=/usr build/
         - |
commit f9bbc9d5ead5cf298f0e3e0b7ac5229af830f6e7
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Feb 22 10:21:27 2019 +0100

    glx,xquartz: Fix make distcheck
    
    Guard BUILT_SOURCES and CLEANFILES by XWIN_GLX_WINDOWS/XQUARTZ.

diff --git a/hw/xquartz/mach-startup/Makefile.am b/hw/xquartz/mach-startup/Makefile.am
index a0f9e9fe4..b2c446af8 100644
--- a/hw/xquartz/mach-startup/Makefile.am
+++ b/hw/xquartz/mach-startup/Makefile.am
@@ -76,6 +76,8 @@ nodist_Xquartz_SOURCES = \
 Xquartz_LDFLAGS =  \
 	-Wl,-framework,CoreServices
 
+if XQUARTZ
+
 BUILT_SOURCES = \
 	mach_startupServer.c \
 	mach_startupUser.c \
@@ -88,6 +90,8 @@ CLEANFILES = \
 $(BUILT_SOURCES): $(srcdir)/mach_startup.defs
 	mig -sheader mach_startupServer.h $(srcdir)/mach_startup.defs
 
+endif
+
 EXTRA_DIST = \
 	launchd_fd.h \
 	mach_startup.defs \
diff --git a/hw/xwin/glx/Makefile.am b/hw/xwin/glx/Makefile.am
index 1fc57f239..119fee404 100644
--- a/hw/xwin/glx/Makefile.am
+++ b/hw/xwin/glx/Makefile.am
@@ -62,9 +62,10 @@ generated_gl_thunks.ic: $(srcdir)/gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/gl.xml
 
 generated_gl_thunks.def: $(srcdir)/gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/gl.xml $(KHRONOS_SPEC_DIR)/reg.py
 	$(AM_V_GEN)PYTHONPATH=$(KHRONOS_SPEC_DIR) $(PYTHON3) $(srcdir)/gen_gl_wrappers.py -registry $(KHRONOS_SPEC_DIR)/gl.xml -thunkdefs $(GENGLWRAPPERSOPTS) -outfile $@
-endif
 
 BUILT_SOURCES = generated_gl_shim.ic generated_gl_thunks.ic generated_gl_thunks.def generated_wgl_wrappers.ic
 CLEANFILES = $(BUILT_SOURCES)
 
+endif
+
 EXTRA_DIST = gen_gl_wrappers.py


More information about the xorg-commit mailing list