Lines Matching +full:build +full:- +full:in
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.
13 Build dependencies
24 command: ``llc --version``
27 -----------------------
32 make -C tools clean
33 make -C samples/bpf clean
42 --------------
50 This will create a local "usr/include" directory in the git/build top
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…
97 -----------------------
98 In order to cross-compile, say for arm64 targets, export CROSS_COMPILE and ARCH
101 build samples for the cross target::
104 export CROSS_COMPILE="aarch64-linux-gnu-"
106 Headers can be also installed on RFS of target board if need to keep them in
112 in its targets appropriate arm64 arch (usually it has several arches).
113 Build samples::
117 Or build samples with SYSROOT if some header or library is absent in toolchain,