* [PATCH 0/2] automation: build test with debian unstable
@ 2018-07-23 16:57 Wei Liu
2018-07-23 16:57 ` [PATCH 1/2] automation: add debian unstable images Wei Liu
2018-07-23 16:57 ` [PATCH 2/2] automation: build with debian unstable Wei Liu
0 siblings, 2 replies; 6+ messages in thread
From: Wei Liu @ 2018-07-23 16:57 UTC (permalink / raw)
To: Xen-devel; +Cc: Wei Liu, Doug Goldstein
Using unstable gets us the latest toolchain available in Debian.
See: https://gitlab.com/liuw/xen/pipelines/26330873
Wei Liu (2):
automation: add debian unstable images
automation: build with debian unstable
.gitlab-ci.yml | 64 ++++++++++++++++++++++++
automation/build/debian/unstable-i386.dockerfile | 50 ++++++++++++++++++
automation/build/debian/unstable.dockerfile | 48 ++++++++++++++++++
3 files changed, 162 insertions(+)
create mode 100644 automation/build/debian/unstable-i386.dockerfile
create mode 100644 automation/build/debian/unstable.dockerfile
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] automation: add debian unstable images
2018-07-23 16:57 [PATCH 0/2] automation: build test with debian unstable Wei Liu
@ 2018-07-23 16:57 ` Wei Liu
2018-07-25 15:54 ` Doug Goldstein
2018-07-23 16:57 ` [PATCH 2/2] automation: build with debian unstable Wei Liu
1 sibling, 1 reply; 6+ messages in thread
From: Wei Liu @ 2018-07-23 16:57 UTC (permalink / raw)
To: Xen-devel; +Cc: Wei Liu, Doug Goldstein
This will get us the latest toolchain available in Debian.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
automation/build/debian/unstable-i386.dockerfile | 50 ++++++++++++++++++++++++
automation/build/debian/unstable.dockerfile | 48 +++++++++++++++++++++++
2 files changed, 98 insertions(+)
create mode 100644 automation/build/debian/unstable-i386.dockerfile
create mode 100644 automation/build/debian/unstable.dockerfile
diff --git a/automation/build/debian/unstable-i386.dockerfile b/automation/build/debian/unstable-i386.dockerfile
new file mode 100644
index 0000000000..ffb9f11daa
--- /dev/null
+++ b/automation/build/debian/unstable-i386.dockerfile
@@ -0,0 +1,50 @@
+FROM i386/debian:unstable
+LABEL maintainer.name="The Xen Project" \
+ maintainer.email="xen-devel@lists.xenproject.org"
+
+ENV DEBIAN_FRONTEND=noninteractive
+ENV USER root
+
+RUN mkdir /build
+WORKDIR /build
+
+ENTRYPOINT ["linux32"]
+
+# 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 \
+ 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/*
diff --git a/automation/build/debian/unstable.dockerfile b/automation/build/debian/unstable.dockerfile
new file mode 100644
index 0000000000..0ba0c056d8
--- /dev/null
+++ b/automation/build/debian/unstable.dockerfile
@@ -0,0 +1,48 @@
+FROM debian:unstable
+LABEL maintainer.name="The Xen Project" \
+ maintainer.email="xen-devel@lists.xenproject.org"
+
+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/*
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] automation: build with debian unstable
2018-07-23 16:57 [PATCH 0/2] automation: build test with debian unstable Wei Liu
2018-07-23 16:57 ` [PATCH 1/2] automation: add debian unstable images Wei Liu
@ 2018-07-23 16:57 ` Wei Liu
2018-07-25 15:55 ` Doug Goldstein
1 sibling, 1 reply; 6+ messages in thread
From: Wei Liu @ 2018-07-23 16:57 UTC (permalink / raw)
To: Xen-devel; +Cc: Wei Liu, Doug Goldstein
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
.gitlab-ci.yml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 682e48ef51..8aae194136 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -103,6 +103,70 @@ debian-stretch-gcc-debug:
debug: y
XEN_TARGET_ARCH: x86_64
+debian-unstable-clang:
+ <<: *build
+ variables:
+ <<: *clang
+ CONTAINER: debian:unstable
+ debug: n
+ XEN_TARGET_ARCH: x86_64
+
+debian-unstable-clang-debug:
+ <<: *build
+ variables:
+ <<: *clang
+ CONTAINER: debian:unstable
+ debug: y
+ XEN_TARGET_ARCH: x86_64
+
+debian-unstable-gcc:
+ <<: *build
+ variables:
+ <<: *gcc
+ CONTAINER: debian:unstable
+ debug: n
+ XEN_TARGET_ARCH: x86_64
+
+debian-unstable-gcc-debug:
+ <<: *build
+ variables:
+ <<: *gcc
+ CONTAINER: debian:unstable
+ debug: y
+ XEN_TARGET_ARCH: x86_64
+
+debian-unstable-32-clang:
+ <<: *build
+ variables:
+ <<: *clang
+ CONTAINER: debian:unstable-i386
+ debug: n
+ XEN_TARGET_ARCH: x86_32
+
+debian-unstable-32-clang-debug:
+ <<: *build
+ variables:
+ <<: *clang
+ CONTAINER: debian:unstable-i386
+ debug: y
+ XEN_TARGET_ARCH: x86_32
+
+debian-unstable-32-gcc:
+ <<: *build
+ variables:
+ <<: *gcc
+ CONTAINER: debian:unstable-i386
+ debug: n
+ XEN_TARGET_ARCH: x86_32
+
+debian-unstable-32-gcc-debug:
+ <<: *build
+ variables:
+ <<: *gcc
+ CONTAINER: debian:unstable-i386
+ debug: y
+ XEN_TARGET_ARCH: x86_32
+
# Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5
ubuntu-trusty-gcc:
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 2/2] automation: build with debian unstable
2018-07-23 16:57 ` [PATCH 2/2] automation: build with debian unstable Wei Liu
@ 2018-07-25 15:55 ` Doug Goldstein
2018-07-25 16:44 ` Wei Liu
0 siblings, 1 reply; 6+ messages in thread
From: Doug Goldstein @ 2018-07-25 15:55 UTC (permalink / raw)
To: Wei Liu; +Cc: Xen-devel
On Mon, Jul 23, 2018 at 05:57:35PM +0100, Wei Liu wrote:
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
While this is good and provisionally I would say:
Acked-by: Doug Goldstein <cardoe@cardoe.com>
I'd like us to hold off on committing this until other changes land to
fix the build issues that are currently happening on Debian unstable.
e.g. iPXE doesn't work as well as OVMF. I've seen a patch on the list
for the latter.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] automation: build with debian unstable
2018-07-25 15:55 ` Doug Goldstein
@ 2018-07-25 16:44 ` Wei Liu
0 siblings, 0 replies; 6+ messages in thread
From: Wei Liu @ 2018-07-25 16:44 UTC (permalink / raw)
To: Doug Goldstein; +Cc: Xen-devel, Wei Liu
On Wed, Jul 25, 2018 at 10:55:31AM -0500, Doug Goldstein wrote:
> On Mon, Jul 23, 2018 at 05:57:35PM +0100, Wei Liu wrote:
> > Signed-off-by: Wei Liu <wei.liu2@citrix.com>
>
> While this is good and provisionally I would say:
>
> Acked-by: Doug Goldstein <cardoe@cardoe.com>
>
> I'd like us to hold off on committing this until other changes land to
> fix the build issues that are currently happening on Debian unstable.
> e.g. iPXE doesn't work as well as OVMF. I've seen a patch on the list
> for the latter.
Yes, I plan to fix all the issues before committing the patch.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-07-25 16:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-23 16:57 [PATCH 0/2] automation: build test with debian unstable Wei Liu
2018-07-23 16:57 ` [PATCH 1/2] automation: add debian unstable images Wei Liu
2018-07-25 15:54 ` Doug Goldstein
2018-07-23 16:57 ` [PATCH 2/2] automation: build with debian unstable Wei Liu
2018-07-25 15:55 ` Doug Goldstein
2018-07-25 16:44 ` Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).