Skip to content

Commit b67a719

Browse files
ekoopspoiana
authored andcommitted
fix(driver/modern_bpf): account for both ppc64le and powerpc64le
`CMAKE_SYSTEM_PROCESSOR` could be set to either `ppc64le` or `powerpc64le` on the `ppc64le` architecture, depending on the the fact that cmake uses the result of `uname -m` (i.e.: `ppc64le`) or the value set by the zig toolchain `powerpc64le`. Account for both. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
1 parent 20709bc commit b67a719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver/modern_bpf/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ if(MODERN_BPF_TARGET_ARCH STREQUAL "x86_64")
210210
set(ARCH x86)
211211
elseif(MODERN_BPF_TARGET_ARCH STREQUAL "aarch64")
212212
set(ARCH arm64)
213-
elseif(MODERN_BPF_TARGET_ARCH STREQUAL "ppc64le")
213+
elseif(MODERN_BPF_TARGET_ARCH STREQUAL "ppc64le" OR MODERN_BPF_TARGET_ARCH STREQUAL "powerpc64le")
214214
set(ARCH powerpc)
215215
elseif(MODERN_BPF_TARGET_ARCH MATCHES "^mips")
216216
set(ARCH mips)

0 commit comments

Comments
 (0)