emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2cef8c2 1/2: Optimize emba builds


From: Michael Albinus
Subject: master 2cef8c2 1/2: Optimize emba builds
Date: Mon, 27 Sep 2021 03:22:23 -0400 (EDT)

branch: master
commit 2cef8c216ab58ae00cc3a97c3cb254fa50d29748
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Optimize emba builds
    
    * test/infra/Dockerfile.emba (emacs-base): Install also
    libdbus-1-dev and libacl1-dev.
    
    * test/infra/gitlab-ci.yml (prep-image-base): Comment out.  This
    stage is activated by default in Dockerfile.emba.
---
 test/infra/Dockerfile.emba | 15 ++++++++++-----
 test/infra/gitlab-ci.yml   | 20 ++++++++++----------
 2 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/test/infra/Dockerfile.emba b/test/infra/Dockerfile.emba
index e79f370..0b69a71 100644
--- a/test/infra/Dockerfile.emba
+++ b/test/infra/Dockerfile.emba
@@ -28,13 +28,15 @@ FROM debian:stretch as emacs-base
 
 RUN apt-get update && \
     apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \
-      libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev git 
texinfo \
+      libc-dev gcc g++ make autoconf automake libncurses-dev gnutls-dev \
+      libdbus-1-dev libacl1-dev git texinfo \
     && rm -rf /var/lib/apt/lists/*
 
 FROM emacs-base as emacs-inotify
 
 RUN apt-get update && \
-    apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 
inotify-tools \
+    apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \
+      inotify-tools \
     && rm -rf /var/lib/apt/lists/*
 
 COPY . /checkout
@@ -62,7 +64,8 @@ RUN make -j4
 FROM emacs-base as emacs-gnustep
 
 RUN apt-get update && \
-    apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 
gnustep-devel \
+    apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \
+      gnustep-devel \
     && rm -rf /var/lib/apt/lists/*
 
 COPY . /checkout
@@ -75,7 +78,8 @@ RUN make -j4
 FROM emacs-base as emacs-native-comp-speed0
 
 RUN apt-get update && \
-    apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 
libgccjit-6-dev \
+    apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0 \
+      libgccjit-6-dev \
     && rm -rf /var/lib/apt/lists/*
 
 ARG make_bootstrap_params=""
@@ -84,5 +88,6 @@ COPY . /checkout
 WORKDIR /checkout
 RUN ./autogen.sh autoconf
 RUN ./configure --with-native-compilation
-RUN make bootstrap -j2 NATIVE_FULL_AOT=1 BYTE_COMPILE_EXTRA_FLAGS='--eval 
"(setq comp-speed 0)"'
+RUN make bootstrap -j2 \
+      NATIVE_FULL_AOT=1 BYTE_COMPILE_EXTRA_FLAGS='--eval "(setq comp-speed 0)"'
 RUN make -j4
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index 898fb34..b6243e1 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -199,7 +199,7 @@ default:
   timeout: 8 hours
 
 stages:
-  - prep-images
+#  - prep-images
   - build-images
 #  - fast
   - normal
@@ -209,16 +209,16 @@ stages:
   - native-comp
   - slow
 
-prep-image-base:
-  stage: prep-images
-  extends: [.job-template, .build-template]
-  variables:
-    target: emacs-base
+# prep-image-base:
+#   stage: prep-images
+#   extends: [.job-template, .build-template]
+#   variables:
+#     target: emacs-base
 
 build-image-inotify:
   stage: build-images
   extends: [.job-template, .build-template]
-  needs: [prep-image-base]
+#  needs: [prep-image-base]
   variables:
     target: emacs-inotify
 
@@ -246,14 +246,14 @@ test-lisp-net-inotify:
 build-image-filenotify-gio:
   stage: platform-images
   extends: [.job-template, .build-template, .filenotify-gio-template]
-  needs: [prep-image-base]
+#  needs: [prep-image-base]
   variables:
     target: emacs-filenotify-gio
 
 build-image-gnustep:
   stage: platform-images
   extends: [.job-template, .build-template, .gnustep-template]
-  needs: [prep-image-base]
+#  needs: [prep-image-base]
   variables:
     target: emacs-gnustep
 
@@ -278,7 +278,7 @@ test-gnustep:
 build-native-bootstrap-speed0:
   stage: native-comp-images
   extends: [.job-template, .build-template, .native-comp-template]
-  needs: [prep-image-base]
+#  needs: [prep-image-base]
   variables:
     target: emacs-native-comp-speed0
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]