From patchwork Thu Jan 21 15:51:42 2021 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: 87032 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98FEAA09E4; Thu, 21 Jan 2021 16:51:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E3936140D21; Thu, 21 Jan 2021 16:51:52 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 58BBD140CE9 for ; Thu, 21 Jan 2021 16:51:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 02DF5BFD90; Thu, 21 Jan 2021 16:51:47 +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 SQB3ThSz4vsZ; Thu, 21 Jan 2021 16:51:46 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id DC520BF47B; Thu, 21 Jan 2021 16:51:45 +0100 (CET) From: =?utf-8?q?Juraj_Linke=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_Linke=C5=A1?= Date: Thu, 21 Jan 2021 16:51:42 +0100 Message-Id: <1611244304-13773-2-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611244304-13773-1-git-send-email-juraj.linkes@pantheon.tech> References: <1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech> <1611244304-13773-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v5 1/3] build: add aarch64 clang to meson cross-compile 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" Create distribution specific meson cross-file arm64_armv8_linux_clang_ubuntu1804. The file is distribution specific because it contains paths to headers and libs specific to the distribution. The clang/LLVM toolchain does not provide its own c stdlib so the paths must be supplied in some manner. In the current version of meson, v0.47.1, the only place where the paths can be specified is the cross-file. Other possibilities do not work: * setting CFLAGS, LDFLAGS only sets these for non-cross builds. * setting -Dc_args, -Dc_link_args on the command line also only sets these for non-cross builds. Support for specifying these for cross builds was added in v0.51.0 [0]. * the cross-file can't be split into generic clang cross config and distribution specific config. Support added in v0.52.0 [1]. [0] https://mesonbuild.com/Builtin-options.html#specifying-options-per-machine [1] https://mesonbuild.com/Machine-files.html#loading-multiple-machine-files 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..aa5ee0132 --- /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'] +c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--gcc-toolchain=/usr'] From patchwork Thu Jan 21 15:51:43 2021 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: 87033 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 25EF0A09E4; Thu, 21 Jan 2021 16:52:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B850140D41; Thu, 21 Jan 2021 16:51:54 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 13F92140D0B for ; Thu, 21 Jan 2021 16:51:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 38324BE914; Thu, 21 Jan 2021 16:51:49 +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 UzWQsxdXldFu; Thu, 21 Jan 2021 16:51:48 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 97279BF47F; Thu, 21 Jan 2021 16:51:46 +0100 (CET) From: =?utf-8?q?Juraj_Linke=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_Linke=C5=A1?= Date: Thu, 21 Jan 2021 16:51:43 +0100 Message-Id: <1611244304-13773-3-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611244304-13773-1-git-send-email-juraj.linkes@pantheon.tech> References: <1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech> <1611244304-13773-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v5 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 From patchwork Thu Jan 21 15:51:44 2021 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: 87034 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E1B44A09E4; Thu, 21 Jan 2021 16:52:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74769140D95; Thu, 21 Jan 2021 16:51:55 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 5D77A140D20 for ; Thu, 21 Jan 2021 16:51:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 9B632BD2BE; Thu, 21 Jan 2021 16:51:50 +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 Q06vogmTggzw; Thu, 21 Jan 2021 16:51:49 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 6B775BFD8E; Thu, 21 Jan 2021 16:51:47 +0100 (CET) From: =?utf-8?q?Juraj_Linke=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_Linke=C5=A1?= Date: Thu, 21 Jan 2021 16:51:44 +0100 Message-Id: <1611244304-13773-4-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611244304-13773-1-git-send-email-juraj.linkes@pantheon.tech> References: <1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech> <1611244304-13773-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v5 3/3] doc: add clang to aarch64 cross build guide 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" Reorganize and update the aarch64 cross guide with clang cross compilation. Update the GNU toolchain version which clang also uses. Reorganize into common part, GNU part and clang part. Signed-off-by: Juraj Linkeš Acked-by: Ruifeng Wang --- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 183 +++++++++++++----- 1 file changed, 132 insertions(+), 51 deletions(-) diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst index d0d346c83..ed34cdb0f 100644 --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst @@ -1,104 +1,185 @@ .. SPDX-License-Identifier: BSD-3-Clause - Copyright(c) 2018 ARM Corporation. + Copyright(c) 2020 ARM Corporation. -Cross compile DPDK for ARM64 -============================ +Cross compiling DPDK for ARM64 +============================== This chapter describes how to cross compile DPDK for ARM64 from x86 build hosts. .. note:: Whilst it is recommended to natively build DPDK on ARM64 (just - like with x86), it is also possible to cross-build DPDK for ARM64. An - ARM64 cross compile GNU toolchain is used for this. + like with x86), it is also possible to cross compile DPDK for ARM64. + An ARM64 cross compiler GNU toolchain or an LLVM/clang toolchain + may be used for cross-compilation. -Obtain the cross tool chain ---------------------------- -The latest cross compile tool chain can be downloaded from: + +Prerequisites +------------- + +NUMA library +~~~~~~~~~~~~ + +NUMA is required by most modern machines, not needed for non-NUMA architectures. + +.. note:: + + For compiling the NUMA lib, run libtool --version to ensure the libtool version >= 2.2, + otherwise the compilation will fail with errors. + +.. code-block:: console + + git clone https://github.com/numactl/numactl.git + cd numactl + git checkout v2.0.13 -b v2.0.13 + ./autogen.sh + autoconf -i + ./configure --host=aarch64-linux-gnu CC= --prefix= + make install + +.. note:: + + The compiler above can be either aarch64-linux-gnu-gcc or clang. + See below for information on how to get the compiler of your choice. + +The numa header files and lib file is generated in the include and lib folder respectively under . + +Meson prerequisites +~~~~~~~~~~~~~~~~~~~ + +Meson depends on pkgconfig to find the dependencies. +The package ``pkg-config-aarch64-linux-gnu`` is required for aarch64. +To install it in Ubuntu:: + + sudo apt install pkg-config-aarch64-linux-gnu + + +GNU toolchain +------------- + +.. _obtain_GNU_toolchain: + +Obtain the cross toolchain +~~~~~~~~~~~~~~~~~~~~~~~~~~ +The latest GNU cross compiler toolchain can be downloaded from: https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads. It is always recommended to check and get the latest compiler tool from the page and use -it to generate better code. As of this writing 8.3-2019.03 is the newest, the following +it to generate better code. As of this writing 9.2-2019.12 is the newest, the following description is an example of this version. .. code-block:: console - wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz + wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz Unzip and add into the PATH ---------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: console - tar -xvf gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz - export PATH=$PATH:/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin + tar -xvf gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz + export PATH=$PATH:/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin .. note:: For the host requirements and other info, refer to the release note section: https://releases.linaro.org/components/toolchain/binaries/ -.. _arm_cross_build_getting_the_prerequisite_library: +.. _augment_the_gnu_toolchain_with_numa_support: -Getting the prerequisite library --------------------------------- - -NUMA is required by most modern machines, not needed for non-NUMA architectures. +Augment the GNU toolchain with NUMA support +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. note:: - For compiling the NUMA lib, run libtool --version to ensure the libtool version >= 2.2, - otherwise the compilation will fail with errors. + This way is optional, an alternative is to use extra CFLAGS and LDFLAGS. + +Copy the NUMA header files and lib to the cross compiler's directories: .. code-block:: console - git clone https://github.com/numactl/numactl.git - cd numactl - git checkout v2.0.13 -b v2.0.13 - ./autogen.sh - autoconf -i - ./configure --host=aarch64-linux-gnu CC=aarch64-linux-gnu-gcc --prefix= - make install + cp /include/numa*.h /gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/ + cp /lib/libnuma.a /gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/9.2.1/ + cp /lib/libnuma.so /gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/9.2.1/ -The numa header files and lib file is generated in the include and lib folder respectively under . +Cross Compiling DPDK with GNU toolchain using Meson +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +To cross-compile DPDK on a desired target machine we can use the following +command:: + + meson cross-build --cross-file + ninja -C cross-build + +For example if the target machine is aarch64 we can use the following +command:: -.. _augment_the_cross_toolchain_with_numa_support: + meson aarch64-build-gcc --cross-file config/arm/arm64_armv8_linux_gcc + ninja -C aarch64-build-gcc -Augment the cross toolchain with NUMA support ---------------------------------------------- + +LLVM/Clang toolchain +-------------------- + +Obtain the cross tool chain +~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The latest LLVM/Clang cross compiler toolchain can be downloaded from: +https://developer.arm.com/tools-and-software/open-source-software/developer-tools/llvm-toolchain. + +.. code-block:: console + + # Ubuntu binaries + wget https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + +The LLVM/Clang toolchain does not implement the standard c library. The GNU toolchain +ships an implementation we can use. Refer to obtain_GNU_toolchain_ to get the +GNU toolchain. + +Unzip and add into the PATH +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. code-block:: console + + tar -xvf clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz + export PATH=$PATH:/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04/bin + +Cross Compiling DPDK with LLVM/Clang toolchain using Meson +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. note:: - This way is optional, an alternative is to use extra CFLAGS and LDFLAGS. + To use the NUMA library follow the same steps as for + augment_the_gnu_toolchain_with_numa_support_. -Copy the NUMA header files and lib to the cross compiler's directories: +The paths to GNU stdlib must be specified in a cross file. Augmenting the default +cross-file's c_args and c_link_args config/arm/arm64_armv8_linux_clang_ubuntu1804 would look like this: .. code-block:: console - cp /include/numa*.h /gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/aarch64-linux-gnu/libc/usr/include/ - cp /lib/libnuma.a /gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.3.0/ - cp /lib/libnuma.so /gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.3.0/ + ... + c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc'] + c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--sysroot', '/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc', '--gcc-toolchain=/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu'] -.. _configure_and_cross_compile_dpdk_build: +Assuming the file with augmented c_args and c_link_args is named arm64_armv8_linux_clang, +use the following command to cross-compile DPDK for your target machine:: -Cross Compiling DPDK --------------------- + meson aarch64-build-clang --cross-file config/arm/arm64_armv8_linux_clang + ninja -C aarch64-build-clang -Meson depends on pkgconfig to find the dependencies. -The package ``pkg-config-aarch64-linux-gnu`` is required for aarch64. -To install it in Ubuntu:: +Cross Compiling DPDK with LLVM/Clang toolchain using Meson on Ubuntu 18.04 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - sudo apt-get install pkg-config-aarch64-linux-gnu +On most popular Linux distribution it's not necessary to download +the toolchains, but rather use the packages provided by said distributions. +On Ubuntu 18.04, you'll need these packages: -To cross-compile DPDK on a desired target machine we can use the following -command:: +.. code-block:: console - meson cross-build --cross-file - ninja -C cross-build + sudo apt-get install pkg-config-aarch64-linux-gnu clang llvm llvm-dev lld + libc6-dev-arm64-cross libatomic1-arm64-cross libgcc-8-dev-arm64-cross -For example if the target machine is arm64 we can use the following -command:: +Use the following command to cross-compile DPDK for your target machine:: - meson arm64-build --cross-file config/arm/arm64_armv8_linux_gcc - ninja -C arm64-build + meson aarch64-build-clang --cross-file config/arm/arm64_armv8_linux_clang_ubuntu1804 + ninja -C aarch64-build-clang Supported cross-compilation targets -----------------------------------