diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a08fee73d50..737f4e81dbf5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -205,7 +205,8 @@ if(TRITON_BUILD_PYTHON_MODULE) LLVMAMDGPUAsmParser ) - if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") + if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" OR # Linux arm64 + CMAKE_SYSTEM_PROCESSOR MATCHES "arm64") # macOS arm64 list(APPEND TRITON_LIBRARIES LLVMAArch64CodeGen LLVMAArch64AsmParser