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 17706A04BA; Fri, 2 Oct 2020 11:39:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C5421D54A; Fri, 2 Oct 2020 11:38:37 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by dpdk.org (Postfix) with ESMTP id DA1DB1BFC9 for ; Fri, 2 Oct 2020 11:38:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 4B42FAA8F8; Fri, 2 Oct 2020 11:38:31 +0200 (CEST) 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 36mZhJei-vsn; Fri, 2 Oct 2020 11:38:30 +0200 (CEST) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 2613AAA910; Fri, 2 Oct 2020 11:38:29 +0200 (CEST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, aconole@redhat.com, maicolgabriel@hotmail.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Date: Fri, 2 Oct 2020 11:38:27 +0200 Message-Id: <1601631508-5307-3-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1601631508-5307-1-git-send-email-juraj.linkes@pantheon.tech> References: <1601548239-2990-1-git-send-email-juraj.linkes@pantheon.tech> <1601631508-5307-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 v3 2/3] ci: add aarch64 clang cross-compilation builds 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" 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 d079801d7..d9bdd1503 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -30,7 +30,11 @@ install_libabigail() { if [ "$AARCH64" = "1" ]; 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" = "1" ]; then diff --git a/.travis.yml b/.travis.yml index d6eeab371..cc3d49218 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,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-8-dev-arm64-cross, libatomic1-arm64-cross, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu] + _build_32b_packages: &build_32b_packages - *required_packages - [gcc-multilib] @@ -83,6 +87,20 @@ jobs: apt: packages: - *aarch64_packages + - env: DEF_LIB="static" AARCH64=1 + arch: amd64 + compiler: clang + addons: + apt: + packages: + - *aarch64_clang_packages + - env: DEF_LIB="shared" AARCH64=1 + arch: amd64 + compiler: clang + addons: + apt: + packages: + - *aarch64_clang_packages # aarch64 gcc jobs - env: DEF_LIB="static" arch: arm64 -- 2.20.1