# superbuild for 5.7.0 fails on ARM system - Could not configure LLVM for the target system processor aarch64

**URL:** https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616
**Category:** ParaView Support
**Created:** [March 4, 2021, 2:29pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616 "2021-03-04T14:29:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![aerogt3](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@aerogt3](https://discourse.paraview.org/u/aerogt3)
#### Post date: [March 4, 2021, 2:29pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616/1 "2021-03-04T14:29:11Z")

</div>

I’m trying to build 5.7.0 using the superbuild on an ARM-based aws graviton system, but get the following errors:

> cmake -D CMAKE\_INSTALL\_PREFIX=/data/paraview/$pvVer -D mesa\_USE\_SWR=OFF -D ENABLE\_llvm=ON -D ENABLE\_pythondateutil=ON -D ENABLE\_pythonsix=OFF -D ENABLE\_numpy=OFF -D ENABLE\_paraview=ON -D ENABLE\_qt5=OFF -D ENABLE\_python3=ON -D ENABLE\_python=OFF -D ENABLE\_osmesa=ON -D ENABLE\_mpi=ON -D USE\_SYSTEM\_python3=ON -D USE\_SYSTEM\_mpi=ON ./paraview-superbuild/

> – 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!

Really not expert enough to find the issue, but I am able for example to build fully with 5.9.0. Anyone have suggestions?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 4, 2021, 2:30pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616/2 "2021-03-04T14:30:02Z")

</div>

A̶f̶a̶i̶k̶ ̶A̶R̶M̶ ̶i̶s̶ ̶n̶o̶t̶ ̶o̶f̶f̶i̶c̶i̶a̶l̶l̶y̶ ̶s̶u̶p̶p̶o̶r̶t̶e̶d̶.̶

In any case, disable mesa and llvm in your superbuild to work around this issue.

FYI @ben.boeckel

---

<div class="post-metadata">

### Author: ![aerogt3](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@aerogt3](https://discourse.paraview.org/u/aerogt3)
#### Post date: [March 4, 2021, 2:34pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616/3 "2021-03-04T14:34:49Z")

</div>

That’s interesting, because a spack install of 5.7.0 works well on arm, including with mesa/llvm! I’m trying to reproduce the install via the superbuild which fails.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 4, 2021, 2:56pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616/4 "2021-03-04T14:56:09Z")

</div>

@danlipsa

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [March 4, 2021, 3:13pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616/5 "2021-03-04T15:13:19Z")

</div>

The 5.7.0 version of ParaView’s superbuild probably has an LLVM that is too old to support aarch64. Spack is likely using a newer LLVM.

For the record, 5.7.0 contains LLVM 7. I don’t know if we pass the right arguments to it for aarch64.

---

<div class="post-metadata">

### Author: ![aerogt3](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@aerogt3](https://discourse.paraview.org/u/aerogt3)
#### Post date: [March 4, 2021, 3:53pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616/6 "2021-03-04T15:53:45Z")

</div>

Turned out to be a simple issue, which I reported. Linking here in case someone else with this issue comes across this post.

[https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/180#note\_914587](https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/180#note_914587)

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [March 4, 2021, 7:17pm UTC](https://discourse.paraview.org/t/superbuild-for-5-7-0-fails-on-arm-system-could-not-configure-llvm-for-the-target-system-processor-aarch64/6616/7 "2021-03-04T19:17:38Z")

</div>

There has been a lot of work on Superbuild and ParaView from 5.7.0 to 5.9.0 for ARM processors/OS’s. Maybe try 5.9.0?
