From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30058.outbound.protection.outlook.com [40.107.3.58]) by dpdk.org (Postfix) with ESMTP id 374391B5C8 for ; Thu, 7 Feb 2019 18:16:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9a2LkWFJmVIFRFvnelXPSSMWl3petw/SlJlZFPWXPEA=; b=YJPvwZF19PMCzTHrky+W3RL4MYMCccLTq5tO/l4ld0cvrHH+YoeIImx4uV0Ef1lOLCvDT4uTNKsQJQzb8iWS1LeY/2YldRq/yMp08jiagrnbSkXv7QZm7Y3Ycp7j2hyVpkzJ5w6Jdl+uqN0w/ZdJTwPS4vF5LzPZ2mY5aHV0cCI= Received: from AM6PR08MB3672.eurprd08.prod.outlook.com (20.177.115.76) by AM6PR08MB3031.eurprd08.prod.outlook.com (52.135.163.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.19; Thu, 7 Feb 2019 17:16:38 +0000 Received: from AM6PR08MB3672.eurprd08.prod.outlook.com ([fe80::9120:87d6:b17c:fadd]) by AM6PR08MB3672.eurprd08.prod.outlook.com ([fe80::9120:87d6:b17c:fadd%3]) with mapi id 15.20.1601.016; Thu, 7 Feb 2019 17:16:38 +0000 From: Honnappa Nagarahalli To: Michael Santana , "dev@dpdk.org" CC: Aaron Conole , Bruce Richardson , "thomas@monjalon.net" , nd , Honnappa Nagarahalli , nd Thread-Topic: [PATCH v4 2/2] ci: Introduce travis builds for github repositories Thread-Index: AQHUvmknP8m6topiOU+y0sRsKg3u1qXUklDQ Date: Thu, 7 Feb 2019 17:16:38 +0000 Message-ID: References: <20190201164814.11185-1-msantana@redhat.com> <20190206221308.22349-1-msantana@redhat.com> <20190206221308.22349-3-msantana@redhat.com> In-Reply-To: <20190206221308.22349-3-msantana@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR08MB3031; 20:K3KPbZxrbFbczRAC849yaGBNdQlpLK2+WyAFBkzR/6TGq3vbyuLR+aVMkLScy8wq7qxMX3uuBwnh0tCd+q41Q0LcEZJCIe2hUIweAGAEbn2VvrKjKYPFGGiOzAD60nFYvfUSJh0bxR9xk3e+Hr3IHoNk+XhSu4g20a4TQeLBzzw= x-ms-office365-filtering-correlation-id: 7da8c50c-2de1-484c-ac3e-08d68d20054f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR08MB3031; x-ms-traffictypediagnostic: AM6PR08MB3031: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0941B96580 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(136003)(346002)(366004)(396003)(189003)(199004)(26005)(186003)(71200400001)(14444005)(71190400001)(33656002)(68736007)(53936002)(97736004)(54906003)(6506007)(256004)(106356001)(316002)(105586002)(4326008)(110136005)(102836004)(14454004)(2906002)(72206003)(478600001)(8936002)(486006)(66066001)(7696005)(81156014)(76176011)(8676002)(476003)(446003)(6116002)(2501003)(229853002)(81166006)(6306002)(86362001)(6246003)(305945005)(74316002)(25786009)(9686003)(11346002)(99286004)(7736002)(6436002)(55016002)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3031; H:AM6PR08MB3672.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: +ZumzepDkmK+Mos/N+IEypVsKtYqmxHHMGoc1NO36L6TWHm3WmFpM3ujQGxr+cGQCr1IFhtu7eGOUzwWK9Z3/BrxEi08LccabwYL0plDXpRof1UeqnAz4GPyo9Hwv4Dymx9yyOA+Rtx07affs+2a5t9Khbe29URd9g4U1wEbVB9SxKMfCSSmyluNGM0BIn4XF/7DGY2s499JRRZzyYIPK9U3f1DAmxvFkXethJKAmtUjqC+GrrbKHdmYuPhzIvKTDjorHWDqIffZagIEd4ZkzJXBQBYu2y21xiGfFa917kfeNYenstQGF5XHzboLZAMWjKpQsSlP6TRL838ANnGr0Xw88AVDcNN3duawR9eDXqv6WfpCAlGqRMEp1i2l93IQfWwtx2GP2EJze7Qa80/Tzr/HIjTxD48JzlPkdiH+/lc= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7da8c50c-2de1-484c-ac3e-08d68d20054f X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2019 17:16:38.5900 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3031 Subject: Re: [dpdk-dev] [PATCH v4 2/2] ci: Introduce travis builds for github repositories 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: , X-List-Received-Date: Thu, 07 Feb 2019 17:16:40 -0000 > diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh new file mode 100755= index > 000000000..9c6af2ead > --- /dev/null > +++ b/.ci/linux-build.sh > @@ -0,0 +1,88 @@ > +#!/bin/bash > + > +# check for whether we're clang or gcc > +# setup the right options depending on the environment variables # run > +the build > + > +# Just used for the 'classic' configuration system (ie: make) > +set_conf() { > + echo "[BUILT WITH $2 SET TO $3]" > + c=3D"$1/.config" > + shift > + > + if grep -q "$1" "$c"; then > + sed -i "s:^$1=3D.*$:$1=3D$2:g" $c > + else > + echo $1=3D$2 >> "$c" > + fi > +} > + > +BUILD_ARCH=3D"x86_64-native-linuxapp-" > + > +if [ "${AARCH64}" =3D=3D "1" ]; then > + # convert the arch specifier > + BUILD_ARCH=3D"arm64-armv8a-linuxapp-" > + ARM64_TOOL=3D"linaro-arm-tool" My apologies, I think I was not clear on my comments earlier. ARM64_TOOL sh= ould be changed to AARCH64_TOOL > + export PATH=3D$PATH:$(pwd)/${ARM64_TOOL}/bin Change to AARCH64_TOOL > +fi > + > + > +if [ "${NINJABUILD}" =3D=3D "1" ]; then > + OPTS=3D"" > + > + DEF_LIB=3D"static" > + if [ "${SHARED}" =3D=3D "1" ]; then > + DEF_LIB=3D"shared" > + fi > diff --git a/.ci/linux-setup.sh b/.ci/linux-setup.sh new file mode 100755= index > 000000000..15183165b > --- /dev/null > +++ b/.ci/linux-setup.sh > @@ -0,0 +1,31 @@ > +#!/bin/bash > + > +python3.5 -m pip install --upgrade meson --user > + > +echo "AARCH64 is [ ${AARCH64} ]" > + > +if [ "${AARCH64}" =3D=3D "1" ]; then > + # need to build & install libnuma > + # This will only be minimal support for now. > + > ARM64_TOOL_URL=3D'https://releases.linaro.org/components/toolchain/binary Change to AARCH64_TOOL_URL > es/latest-7/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64- > linux-gnu.tar.xz' > + ARM64_TOOL=3D"linaro-arm-tool" Change to AARCH64_TOOL > + NUMA_GIT_URL=3D"https://github.com/numactl/numactl.git" > + > + wget -O "${ARM64_TOOL}.tar.xz" "${ARM64_TOOL_URL}" > + tar -xf "${ARM64_TOOL}.tar.xz" > + mv gcc-linaro* "${ARM64_TOOL}" > + export PATH=3D$PATH:$(pwd)/${ARM64_TOOL}/bin Change to AARCH64_TOOL and AARCH64_TOOL_URL > + git clone "${NUMA_GIT_URL}" > + cd numactl > + git checkout v2.0.11 > + ./autogen.sh > + autoconf -i > + mkdir numa_bin > + ./configure --host=3Daarch64-linux-gnu CC=3Daarch64-linux-gnu-gcc \ > + --prefix=3D$(pwd)/numa_bin > + make install # install numa > + cd .. > + cp numactl/numa_bin/include/numa*.h "${ARM64_TOOL}/aarch64-linux- > gnu/libc/usr/include/" > + cp numactl/numa_bin/lib/libnuma.* "${ARM64_TOOL}/aarch64-linux- > gnu/lib64/" > + cp numactl/numa_bin/lib/libnuma.* "${ARM64_TOOL}/lib/" Change to AARCH64_TOOL Otherwise, Reviewed-by: Honnappa Nagarahalli