Skip to content

Commit 3e62cdd

Browse files
errordeveloperaanm
authored andcommitted
llvm: Fix configuration of the AArch64 build
BPF bytecode is the target, it is independent of CPU architecture. The configuration was originally overlooked in #3. Fixes: #31 Signed-off-by: Ilya Dmitrichenko <[email protected]>
1 parent 2bbab5f commit 3e62cdd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

images/llvm/build-llvm-cross-aarch64.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ CC="${triplet}-gcc" CXX="${triplet}-g++" \
2121
-DBUILD_SHARED_LIBS="OFF" \
2222
-DCMAKE_BUILD_TYPE="Release" \
2323
-DLLVM_BUILD_RUNTIME="OFF" \
24-
-DCMAKE_CROSSCOMPILING="True" \
2524
-DLLVM_TABLEGEN="/src/llvm/llvm/build-native/bin/llvm-tblgen" \
2625
-DCLANG_TABLEGEN="/src/llvm/llvm/build-native/bin/clang-tblgen" \
27-
-DLLVM_TARGET_ARCH="AArch64" \
28-
-DLLVM_TARGETS_TO_BUILD="AArch64" \
29-
-DLLVM_DEFAULT_TARGET_TRIPLE="${triplet}"
26+
-DCMAKE_CROSSCOMPILING="True"
3027

3128
ninja clang llc
3229

0 commit comments

Comments
 (0)