From patchwork Fri Oct 2 09:38:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Juraj_Linke=C5=A1?= X-Patchwork-Id: 79531 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77BA6A04BA; Fri, 2 Oct 2020 11:38:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A45F1C0C9; Fri, 2 Oct 2020 11:38:34 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by dpdk.org (Postfix) with ESMTP id 143D61BFC7 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 2506DAB04C; Fri, 2 Oct 2020 11:38:30 +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 UOXLXYyXqlEN; Fri, 2 Oct 2020 11:38:29 +0200 (CEST) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id C91EAAA903; Fri, 2 Oct 2020 11:38:28 +0200 (CEST) From: =?utf-8?q?Juraj_Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, aconole@redhat.com, maicolgabriel@hotmail.com Cc: dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= Date: Fri, 2 Oct 2020 11:38:26 +0200 Message-Id: <1601631508-5307-2-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 Subject: [dpdk-dev] [PATCH v3 1/3] build: add aarch64 clang to meson cross-compile 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" Create meson cross file arm64_armv8_linux_clang_ubuntu1804. Use clang/LLVM toolchain with sysroot pointing to gcc cross stdlib. Signed-off-by: Juraj Linkeš Reviewed-by: Ruifeng Wang --- config/arm/arm64_armv8_linux_clang_ubuntu1804 | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config/arm/arm64_armv8_linux_clang_ubuntu1804 diff --git a/config/arm/arm64_armv8_linux_clang_ubuntu1804 b/config/arm/arm64_armv8_linux_clang_ubuntu1804 new file mode 100644 index 000000000..67f475eb0 --- /dev/null +++ b/config/arm/arm64_armv8_linux_clang_ubuntu1804 @@ -0,0 +1,20 @@ +[binaries] +c = 'clang' +cpp = 'clang++' +ar = 'llvm-ar' +strip = 'llvm-strip' +llvm-config = 'llvm-config' +pcap-config = 'llvm-config' +pkgconfig = 'aarch64-linux-gnu-pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8-a' +endian = 'little' + +[properties] +implementor_id = 'generic' +implementor_pn = 'default' +c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-linux-gnu', '--gcc-toolchain=/usr'] +c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld']