From patchwork Thu Apr 4 11:23:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 10885461 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A610513B5 for ; Thu, 4 Apr 2019 11:25:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E1B828904 for ; Thu, 4 Apr 2019 11:25:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80D2528A47; Thu, 4 Apr 2019 11:25:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3C0A528904 for ; Thu, 4 Apr 2019 11:25:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC0Se-00021K-HH; Thu, 04 Apr 2019 11:23:12 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC0Sd-000212-AB for xen-devel@lists.xenproject.org; Thu, 04 Apr 2019 11:23:11 +0000 X-Inumbo-ID: 04419f76-56cc-11e9-8c68-53dd4d54bda7 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 04419f76-56cc-11e9-8c68-53dd4d54bda7; Thu, 04 Apr 2019 11:23:06 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,308,1549929600"; d="scan'208";a="82730536" From: Wei Liu To: Date: Thu, 4 Apr 2019 12:23:00 +0100 Message-ID: <20190404112302.4796-2-wei.liu2@citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190404112302.4796-1-wei.liu2@citrix.com> References: <20190404112302.4796-1-wei.liu2@citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 1/3] automation: add a Fedora image X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Doug Goldstein , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Use the latest and greatest. Signed-off-by: Wei Liu --- automation/build/fedora/latest.dockerfile | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 automation/build/fedora/latest.dockerfile diff --git a/automation/build/fedora/latest.dockerfile b/automation/build/fedora/latest.dockerfile new file mode 100644 index 0000000000..e0db7afad8 --- /dev/null +++ b/automation/build/fedora/latest.dockerfile @@ -0,0 +1,43 @@ +FROM fedora:latest +LABEL maintainer.name="The Xen Project" \ + maintainer.email="xen-devel@lists.xenproject.org" + +RUN mkdir /build +WORKDIR /build + +# install Xen depends +RUN dnf -y install \ + clang \ + gcc \ + gcc-c++ \ + ncurses-devel \ + zlib-devel \ + openssl-devel \ + python-devel \ + libuuid-devel \ + pkgconfig \ + gettext \ + flex \ + bison \ + libaio-devel \ + glib2-devel \ + yajl-devel \ + pixman-devel \ + glibc-devel \ + glibc-devel.i686 \ + make \ + binutils \ + git \ + wget \ + acpica-tools \ + python-markdown \ + patch \ + checkpolicy \ + dev86 \ + xz-devel \ + bzip2 \ + nasm \ + ocaml \ + ocaml-findlib \ + && dnf clean all && \ + rm -rf /var/cache/dnf From patchwork Thu Apr 4 11:23:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 10885463 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2FDDB17E9 for ; Thu, 4 Apr 2019 11:25:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B0B428856 for ; Thu, 4 Apr 2019 11:25:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D40328A46; Thu, 4 Apr 2019 11:25:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6E28D28856 for ; Thu, 4 Apr 2019 11:25:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC0Sg-00021e-6Y; Thu, 04 Apr 2019 11:23:14 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC0Se-00021H-Hj for xen-devel@lists.xenproject.org; Thu, 04 Apr 2019 11:23:12 +0000 X-Inumbo-ID: 06fbe532-56cc-11e9-a30e-5be0ec635eed Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 06fbe532-56cc-11e9-a30e-5be0ec635eed; Thu, 04 Apr 2019 11:23:10 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,308,1549929600"; d="scan'208";a="82730538" From: Wei Liu To: Date: Thu, 4 Apr 2019 12:23:01 +0100 Message-ID: <20190404112302.4796-3-wei.liu2@citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190404112302.4796-1-wei.liu2@citrix.com> References: <20190404112302.4796-1-wei.liu2@citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 2/3] automation: add Fedora image to containerize script X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Doug Goldstein , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP At the same time sort the list alphabetically. Signed-off-by: Wei Liu --- automation/scripts/containerize | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automation/scripts/containerize b/automation/scripts/containerize index 01c44da93c..a7809b3010 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -19,10 +19,11 @@ case "_${CONTAINER}" in _centos6) CONTAINER="${BASE}/centos:6" ;; _centos7) CONTAINER="${BASE}/centos:7" ;; _centos72) CONTAINER="${BASE}/centos:7.2" ;; - _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;; - _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;; + _fedora) CONTAINER="${BASE}/fedora:latest";; _jessie) CONTAINER="${BASE}/debian:jessie" ;; _stretch|_) CONTAINER="${BASE}/debian:stretch" ;; + _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;; + _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;; esac # Use this variable to control whehter root should be used From patchwork Thu Apr 4 11:23:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 10885457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E353C17E0 for ; Thu, 4 Apr 2019 11:25:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE86228904 for ; Thu, 4 Apr 2019 11:25:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C301328A6D; Thu, 4 Apr 2019 11:25:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6E2E228A46 for ; Thu, 4 Apr 2019 11:25:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC0Sf-00021Y-TF; Thu, 04 Apr 2019 11:23:13 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC0Se-00021I-Hm for xen-devel@lists.xenproject.org; Thu, 04 Apr 2019 11:23:12 +0000 X-Inumbo-ID: 0726881e-56cc-11e9-96b6-93983912205b Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 0726881e-56cc-11e9-96b6-93983912205b; Thu, 04 Apr 2019 11:23:10 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,308,1549929600"; d="scan'208";a="82730540" From: Wei Liu To: Date: Thu, 4 Apr 2019 12:23:02 +0100 Message-ID: <20190404112302.4796-4-wei.liu2@citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190404112302.4796-1-wei.liu2@citrix.com> References: <20190404112302.4796-1-wei.liu2@citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 3/3] gitlab-ci: add fedora gcc build jobs X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Doug Goldstein , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Although the image comes with clang, clang builds don't work yet. Signed-off-by: Wei Liu Acked-by: Doug Goldstein --- automation/gitlab-ci/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index c29a76e9ff..dd5722a5bb 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -301,6 +301,16 @@ debian-unstable-32-gcc-debug: variables: CONTAINER: debian:unstable-i386 +fedora-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: fedora:latest + +fedora-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: fedora:latest + # Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5 ubuntu-trusty-gcc: