Lines Matching +full:cross +full:- +full:arm64 +full:- +full:system

4 This directory contains a test stubs, verifier test-suite and examples
7 Note that the XDP-specific samples have been removed from this directory and
8 moved to the xdp-tools repository: https://github.com/xdp-project/xdp-tools
11 in xdp-tools.
24 command: ``llc --version``
27 -----------------------
32 make -C tools clean
33 make -C samples/bpf clean
42 --------------
45 To avoid installing devel kernel headers system wide, as a normal
51 level directory, that the make system will automatically pick up first.
65 ------------------------------------------
70 By default llvm will build all non-experimental backends including bpf.
73 -DLLVM_TARGETS_TO_BUILD="BPF"
76 use the Ninja build system, you can find it in your system's package
77 manager, usually the package is ninja or ninja-build.
80 (build dependencies are ninja, cmake and gcc-c++)::
82 $ git clone https://github.com/llvm/llvm-project.git
83 $ mkdir -p llvm-project/llvm/build
84 $ cd llvm-project/llvm/build
85 $ cmake .. -G "Ninja" -DLLVM_TARGETS_TO_BUILD="BPF;X86" \
86 -DLLVM_ENABLE_PROJECTS="clang" \
87 -DCMAKE_BUILD_TYPE=Release \
88 -DLLVM_BUILD_RUNTIME=OFF
94 …make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/b…
96 Cross compiling samples
97 -----------------------
98 In order to cross-compile, say for arm64 targets, export CROSS_COMPILE and ARCH
101 build samples for the cross target::
103 export ARCH=arm64
104 export CROSS_COMPILE="aarch64-linux-gnu-"
112 in its targets appropriate arm64 arch (usually it has several arches).
118 say libelf, providing address to file system containing headers and libs,