Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63977/?format=api
http://patches.dpdk.org/api/patches/63977/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191218053902.193417-2-ruifeng.wang@arm.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20191218053902.193417-2-ruifeng.wang@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191218053902.193417-2-ruifeng.wang@arm.com", "date": "2019-12-18T05:39:01", "name": "[1/2] ci: add travis ci support for aarch64", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9e72f9b8da98482ffbec68bf90949044475b2902", "submitter": { "id": 1198, "url": "http://patches.dpdk.org/api/people/1198/?format=api", "name": "Ruifeng Wang", "email": "ruifeng.wang@arm.com" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191218053902.193417-2-ruifeng.wang@arm.com/mbox/", "series": [ { "id": 7880, "url": "http://patches.dpdk.org/api/series/7880/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7880", "date": "2019-12-18T05:39:00", "name": "add travis ci support for aarch64", "version": 1, "mbox": "http://patches.dpdk.org/series/7880/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/63977/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/63977/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B1437A04F9;\n\tWed, 18 Dec 2019 06:39:36 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 70FB134EF;\n\tWed, 18 Dec 2019 06:39:36 +0100 (CET)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 271A32C60\n for <dev@dpdk.org>; Wed, 18 Dec 2019 06:39:35 +0100 (CET)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A8DBF1FB;\n Tue, 17 Dec 2019 21:39:34 -0800 (PST)", "from net-arm-thunderx2-02.shanghai.arm.com\n (net-arm-thunderx2-02.shanghai.arm.com [10.169.41.157])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 08A943F6CF;\n Tue, 17 Dec 2019 21:39:31 -0800 (PST)" ], "From": "Ruifeng Wang <ruifeng.wang@arm.com>", "To": "aconole@redhat.com, maicolgabriel@hotmail.com, thomas@monjalon.net,\n ferruh.yigit@intel.com, arybchenko@solarflare.com", "Cc": "dev@dpdk.org, gavin.hu@arm.com, honnappa.nagarahalli@arm.com, nd@arm.com,\n Ruifeng Wang <ruifeng.wang@arm.com>", "Date": "Wed, 18 Dec 2019 13:39:01 +0800", "Message-Id": "<20191218053902.193417-2-ruifeng.wang@arm.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20191218053902.193417-1-ruifeng.wang@arm.com>", "References": "<20191218053902.193417-1-ruifeng.wang@arm.com>", "Subject": "[dpdk-dev] [PATCH 1/2] ci: add travis ci support for aarch64", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add Travis compilation jobs for aarch64. gcc/clang compilations for\nstatic/shared libraries are added.\n\nSome limitations for current aarch64 Travis support:\n1. Container is used. Huge page is not available due to security reason.\n2. Missing kernel header package in Xenial distribution.\n\nSolutions to address the limitations:\n1. Not to add unit test for now. And run tests with no-huge in future.\n2. Use Bionic distribution for all aarch64 jobs.\n\nSigned-off-by: Ruifeng Wang <ruifeng.wang@arm.com>\nReviewed-by: Gavin Hu <gavin.hu@arm.com>\n---\n .ci/linux-setup.sh | 11 +++++++----\n .travis.yml | 42 +++++++++++++++++++++++++++++++++++++++++-\n 2 files changed, 48 insertions(+), 5 deletions(-)", "diff": "diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh\nindex dfb9d4a20..a92978037 100755\n--- a/.ci/linux-setup.sh\n+++ b/.ci/linux-setup.sh\n@@ -3,7 +3,10 @@\n # need to install as 'root' since some of the unit tests won't run without it\n sudo python3 -m pip install --upgrade meson\n \n-# setup hugepages\n-cat /proc/meminfo\n-sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages'\n-cat /proc/meminfo\n+# hugepage settings are skipped on aarch64 due to environment limitation\n+if [ \"$TRAVIS_ARCH\" != \"aarch64\" ]; then\n+ # setup hugepages\n+ cat /proc/meminfo\n+ sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages'\n+ cat /proc/meminfo\n+fi\ndiff --git a/.travis.yml b/.travis.yml\nindex 8f90d06f2..980c7605d 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -115,6 +115,46 @@ matrix:\n apt:\n packages:\n - *extra_packages\n-\n+ - env: DEF_LIB=\"static\"\n+ arch: arm64\n+ compiler: gcc\n+ dist: bionic\n+ addons:\n+ apt:\n+ packages:\n+ - *required_packages\n+ - env: DEF_LIB=\"shared\"\n+ arch: arm64\n+ compiler: gcc\n+ dist: bionic\n+ addons:\n+ apt:\n+ packages:\n+ - *required_packages\n+ - env: DEF_LIB=\"static\"\n+ arch: arm64\n+ dist: bionic\n+ compiler: clang\n+ addons:\n+ apt:\n+ packages:\n+ - *required_packages\n+ - env: DEF_LIB=\"shared\"\n+ arch: arm64\n+ dist: bionic\n+ compiler: clang\n+ addons:\n+ apt:\n+ packages:\n+ - *required_packages\n+ - env: DEF_LIB=\"shared\" OPTS=\"-Denable_kmods=false\" BUILD_DOCS=1\n+ arch: arm64\n+ compiler: gcc\n+ dist: bionic\n+ addons:\n+ apt:\n+ packages:\n+ - *required_packages\n+ - *doc_packages\n \n script: ./.ci/${TRAVIS_OS_NAME}-build.sh\n", "prefixes": [ "1/2" ] }{ "id": 63977, "url": "