5.7.0 build fails on ARM system due to simple llvm.cmake issue
I was trying to build on an ARM system and kept getting the following error:
– Determined source version for paraview: 5.7.0 CMake Error at projects/unix/llvm.cmake:20 (message): Could not configure LLVM for the target system processor ‘aarch64’. Call Stack (most recent call first): superbuild/cmake/SuperbuildMacros.cmake:735 (include) superbuild/CMakeLists.txt:145 (_superbuild_discover_projects)
– Configuring incomplete, errors occurred!
Turns out this is a very simple fix, inside "paraview-superbuild/projects/unix/llvm.cmake" - just need to add the case below! It then builds without issue :-)
elseif (cmake_system_processor MATCHES "aarch64")
set(target_architecture "AArch64")