Skip to contentSkip to conversation

automation: build with Ubuntu 18.04

PATCH In review Wei Liu 3 participants 12 messages Oct 22, 2018 – Nov 8, 2018

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

cover automation: build with Ubuntu 18.04

Wei Liu (2):
automation: add dockerfile for Ubuntu 18.04
automation: build with Ubuntu 18.04

 .gitlab-ci.yml                            | 32 +++++++++++++++++++++
 automation/build/ubuntu/bionic.dockerfile | 48 +++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 100644 automation/build/ubuntu/bionic.dockerfile
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
author
#1 lore raw

PATCH 1/2 automation: add dockerfile for Ubuntu 18.04

---
 automation/build/ubuntu/bionic.dockerfile | 48 +++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 automation/build/ubuntu/bionic.dockerfile
automation/build/ubuntu/bionic.dockerfile new file +48 -0
new file mode 100644
index 0000000000..8de67ef14e
@@ -0,0 +1,48 @@
+FROM ubuntu:18.04
+LABEL maintainer.name="The Xen Project " \
+      maintainer.email="[email protected]"
+
+ENV DEBIAN_FRONTEND=noninteractive
+ENV USER root
+
+RUN mkdir /build
+WORKDIR /build
+
+# build depends
+RUN apt-get update && \
+    apt-get --quiet --yes install \
+        build-essential \
+        zlib1g-dev \
+        libncurses5-dev \
+        libssl-dev \
+        python2.7-dev \
+        xorg-dev \
+        uuid-dev \
+        libyajl-dev \
+        libaio-dev \
+        libglib2.0-dev \
+        clang \
+        libpixman-1-dev \
+        pkg-config \
+        flex \
+        bison \
+        gettext \
+        acpica-tools \
+        bin86 \
+        bcc \
+        liblzma-dev \
+        libc6-dev-i386 \
+        libnl-3-dev \
+        ocaml-nox \
+        libfindlib-ocaml-dev \
+        markdown \
+        transfig \
+        pandoc \
+        checkpolicy \
+        wget \
+        git \
+        nasm \
+        && \
+        apt-get autoremove -y && \
+        apt-get clean && \
+        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
author
#2 lore raw

cover automation: build with Ubuntu 18.04

In reply to Wei Liu

Wei Liu (2):
automation: add dockerfile for Ubuntu 18.04
automation: build with Ubuntu 18.04

 .gitlab-ci.yml                            | 32 +++++++++++++++++++++
 automation/build/ubuntu/bionic.dockerfile | 48 +++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 100644 automation/build/ubuntu/bionic.dockerfile
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
author
#5 lore raw

PATCH 2/2 automation: build with Ubuntu 18.04

In reply to Wei Liu
---
 .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
.gitlab-ci.yml +32 -0
index bf6bf7d895..96d7e7f759 100644
@@ -269,3 +269,35 @@ ubuntu-xenial-gcc-debug:
     CONTAINER: ubuntu:xenial
     debug: y
     XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-clang:
+  <<: *build
+  variables:
+    <<: *clang
+    CONTAINER: ubuntu:bionic
+    debug: n
+    XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-clang-debug:
+  <<: *build
+  variables:
+    <<: *clang
+    CONTAINER: ubuntu:bionic
+    debug: y
+    XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-gcc:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: ubuntu:bionic
+    debug: n
+    XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-gcc-debug:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: ubuntu:bionic
+    debug: y
+    XEN_TARGET_ARCH: x86_64
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
author
#6 lore raw

PATCH 2/2 automation: build with Ubuntu 18.04

In reply to Wei Liu
---
 .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
.gitlab-ci.yml +32 -0
index bf6bf7d895..96d7e7f759 100644
@@ -269,3 +269,35 @@ ubuntu-xenial-gcc-debug:
     CONTAINER: ubuntu:xenial
     debug: y
     XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-clang:
+  <<: *build
+  variables:
+    <<: *clang
+    CONTAINER: ubuntu:bionic
+    debug: n
+    XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-clang-debug:
+  <<: *build
+  variables:
+    <<: *clang
+    CONTAINER: ubuntu:bionic
+    debug: y
+    XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-gcc:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: ubuntu:bionic
+    debug: n
+    XEN_TARGET_ARCH: x86_64
+
+ubuntu-bionic-gcc-debug:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: ubuntu:bionic
+    debug: y
+    XEN_TARGET_ARCH: x86_64
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
author
#4 lore raw

PATCH 1/2 automation: add dockerfile for Ubuntu 18.04

In reply to Wei Liu
---
 automation/build/ubuntu/bionic.dockerfile | 48 +++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 automation/build/ubuntu/bionic.dockerfile
automation/build/ubuntu/bionic.dockerfile new file +48 -0
new file mode 100644
index 0000000000..8de67ef14e
@@ -0,0 +1,48 @@
+FROM ubuntu:18.04
+LABEL maintainer.name="The Xen Project " \
+      maintainer.email="[email protected]"
+
+ENV DEBIAN_FRONTEND=noninteractive
+ENV USER root
+
+RUN mkdir /build
+WORKDIR /build
+
+# build depends
+RUN apt-get update && \
+    apt-get --quiet --yes install \
+        build-essential \
+        zlib1g-dev \
+        libncurses5-dev \
+        libssl-dev \
+        python2.7-dev \
+        xorg-dev \
+        uuid-dev \
+        libyajl-dev \
+        libaio-dev \
+        libglib2.0-dev \
+        clang \
+        libpixman-1-dev \
+        pkg-config \
+        flex \
+        bison \
+        gettext \
+        acpica-tools \
+        bin86 \
+        bcc \
+        liblzma-dev \
+        libc6-dev-i386 \
+        libnl-3-dev \
+        ocaml-nox \
+        libfindlib-ocaml-dev \
+        markdown \
+        transfig \
+        pandoc \
+        checkpolicy \
+        wget \
+        git \
+        nasm \
+        && \
+        apt-get autoremove -y && \
+        apt-get clean && \
+        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
author
#9 lore raw
In reply to Andrew Cooper
Quoted 7 lines · Andrew Cooper
Quoted 4 lines · Wei Liu
Quoted 1 line · Wei Liu

I will commit these two patches without acks. They are a net benefit to Xen -- I don't think that will be controversial.

LGTM.  Acked-by: Andrew Cooper <[email protected]>

Thanks!

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#10 lore raw
In reply to Wei Liu
Quoted 10 lines · Wei Liu
Quoted 3 lines · Wei Liu

I will commit these two patches without acks. They are a net benefit to Xen -- I don't think that will be controversial.

Wei.

Sounds good to me. Sorry I missed them while I was gone. If you haven’t committed them yet you have my Ack.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

author
#11 lore raw
Quoted 6 lines · Doug Goldstein
Quoted 6 lines · Wei Liu
Quoted 3 lines · Wei Liu
Quoted 6 lines
Quoted 4 lines

I will commit these two patches without acks. They are a net benefit to Xen -- I don't think that will be controversial.

Wei.

Sounds good to me. Sorry I missed them while I was gone. If you haven’t committed them yet you have my Ack.

Thank you!

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel