From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 875D7A04F6; Mon, 6 Jan 2020 21:15:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E8EDE1D6EA; Mon, 6 Jan 2020 21:15:14 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 1201B1D6E9 for ; Mon, 6 Jan 2020 21:15:12 +0100 (CET) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 006KCoea164201; Mon, 6 Jan 2020 15:15:09 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xaq7x9w18-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Jan 2020 15:15:09 -0500 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 006KCpB7164243; Mon, 6 Jan 2020 15:15:08 -0500 Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xaq7x9w0k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Jan 2020 15:15:08 -0500 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 006KBC7T025263; Mon, 6 Jan 2020 20:15:07 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma04wdc.us.ibm.com with ESMTP id 2xajb6n05f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Jan 2020 20:15:07 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 006KF6fq57999870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Jan 2020 20:15:06 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7B1DDC6062; Mon, 6 Jan 2020 20:15:06 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 248C2C605A; Mon, 6 Jan 2020 20:15:06 +0000 (GMT) Received: from ltc.linux.ibm.com (unknown [9.16.170.189]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 6 Jan 2020 20:15:05 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 06 Jan 2020 12:17:12 -0800 From: dwilder To: Ruifeng Wang Cc: aconole@redhat.com, maicolgabriel@hotmail.com, thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com, dev@dpdk.org, gavin.hu@arm.com, honnappa.nagarahalli@arm.com, nd@arm.com In-Reply-To: <20191220093709.83992-2-ruifeng.wang@arm.com> References: <20191218053902.193417-1-ruifeng.wang@arm.com> <20191220093709.83992-1-ruifeng.wang@arm.com> <20191220093709.83992-2-ruifeng.wang@arm.com> Message-ID: <6d0d70453a2738da502629e3d63f5423@linux.vnet.ibm.com> X-Sender: dwilder@us.ibm.com User-Agent: Roundcube Webmail/1.0.1 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-06_06:2020-01-06,2020-01-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 phishscore=0 malwarescore=0 clxscore=1011 bulkscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 impostorscore=0 mlxlogscore=960 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001060168 Subject: Re: [dpdk-dev] [PATCH v2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 2019-12-20 01:37, Ruifeng Wang wrote: > Add Travis compilation jobs for aarch64. gcc/clang compilations for > static/shared libraries are added. > > Some limitations for current aarch64 Travis support: > 1. Container is used. Huge page is not available due to security > reason. > 2. Missing kernel header package in Xenial distribution. > > Solutions to address the limitations: > 1. Not to add unit test for now. And run tests with no-huge in future. > 2. Use Bionic distribution for all aarch64 jobs. > > Signed-off-by: Ruifeng Wang > Reviewed-by: Gavin Hu > --- > .ci/linux-setup.sh | 11 +++++++---- > .travis.yml | 37 ++++++++++++++++++++++++++++++++++++- > 2 files changed, 43 insertions(+), 5 deletions(-) > > diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh > index dfb9d4a20..a92978037 100755 > --- a/.ci/linux-setup.sh > +++ b/.ci/linux-setup.sh > @@ -3,7 +3,10 @@ > # need to install as 'root' since some of the unit tests won't run > without it > sudo python3 -m pip install --upgrade meson > > -# setup hugepages > -cat /proc/meminfo > -sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' > -cat /proc/meminfo dont test for TRAVIS_ARCH here as multiple archs may need to avoid the hugepage setup as well. How about: if [ "$RUN_TESTS" = "1" ]; then # setup hugepages If your planning to add a tests using --no-huge option could we add a NOHUGEPAGES option to the matrix? > +# hugepage settings are skipped on aarch64 due to environment > limitation > +if [ "$TRAVIS_ARCH" != "aarch64" ]; then > + # setup hugepages > + cat /proc/meminfo > + sudo sh -c 'echo 1024 > /proc/sys/vm/nr_hugepages' > + cat /proc/meminfo > +fi > diff --git a/.travis.yml b/.travis.yml > index 8f90d06f2..048cb6ba5 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -115,6 +115,41 @@ matrix: > apt: > packages: > - *extra_packages > - > + - env: DEF_LIB="static" > + arch: arm64 > + compiler: gcc > + addons: > + apt: > + packages: > + - *required_packages > + - env: DEF_LIB="shared" > + arch: arm64 > + compiler: gcc > + addons: > + apt: > + packages: > + - *required_packages > + - env: DEF_LIB="static" > + arch: arm64 > + compiler: clang > + addons: > + apt: > + packages: > + - *required_packages > + - env: DEF_LIB="shared" > + arch: arm64 > + compiler: clang > + addons: > + apt: > + packages: > + - *required_packages > + - env: DEF_LIB="shared" OPTS="-Denable_kmods=false" BUILD_DOCS=1 > + arch: arm64 > + compiler: gcc > + addons: > + apt: > + packages: > + - *required_packages > + - *doc_packages > > script: ./.ci/${TRAVIS_OS_NAME}-build.sh