From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6B1BA0A03; Tue, 19 Jan 2021 09:33:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DC73140D90; Tue, 19 Jan 2021 09:33:17 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id DC5C2140D45 for ; Tue, 19 Jan 2021 09:33:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 1BAA0BD2BA; Tue, 19 Jan 2021 09:33:11 +0100 (CET) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKD9QJHdqemf; Tue, 19 Jan 2021 09:33:11 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 23AC8BF45A; Tue, 19 Jan 2021 09:33:09 +0100 (CET) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, aconole@redhat.com, maicolgabriel@hotmail.com, jerinjacobk@gmail.com, ferruh.yigit@intel.com, Ruifeng.Wang@arm.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Date: Tue, 19 Jan 2021 09:33:06 +0100 Message-Id: <1611045187-8097-3-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech> References: <1601631508-5307-1-git-send-email-juraj.linkes@pantheon.tech> <1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 2/3] ci: add aarch64 clang cross-compilation builds X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Mirror the existing gcc jobs - build static and shared libs. Use arm64_armv8_linux_clang_ubuntu1804 meson cross file. Signed-off-by: Juraj Linkeš --- .ci/linux-build.sh | 6 +++++- .travis.yml | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index d2c821adf..afa3689a0 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -32,7 +32,11 @@ install_libabigail() { if [ "$AARCH64" = "true" ]; then # convert the arch specifier - OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_gcc" + if [ "$CC_FOR_BUILD" = "gcc" ]; then + OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_gcc" + elif [ "$CC_FOR_BUILD" = "clang" ]; then + OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_clang_ubuntu1804" + fi fi if [ "$BUILD_DOCS" = "true" ]; then diff --git a/.travis.yml b/.travis.yml index 5aa7ad49f..ad6e956be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,10 @@ _aarch64_packages: &aarch64_packages - *required_packages - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu] +_aarch64_clang_packages: &aarch64_clang_packages + - *required_packages + - [libgcc-7-dev-arm64-cross, libatomic1-arm64-cross, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu] + _libabigail_build_packages: &libabigail_build_packages - [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev] @@ -102,6 +106,20 @@ jobs: apt: packages: - *aarch64_packages + - env: DEF_LIB="static" AARCH64=true + arch: amd64 + compiler: clang + addons: + apt: + packages: + - *aarch64_clang_packages + - env: DEF_LIB="shared" AARCH64=true + arch: amd64 + compiler: clang + addons: + apt: + packages: + - *aarch64_clang_packages # aarch64 gcc jobs - env: DEF_LIB="static" arch: arm64 -- 2.20.1