# Can you build ROOT with a prebuilt Interpreter?

**URL:** <https://root-forum.cern.ch/t/can-you-build-root-with-a-prebuilt-interpreter/47927>\
**Category:** Newbie\
**Tags:** root\
**Created:** [December 2, 2021, 6:12pm UTC](https://root-forum.cern.ch/t/can-you-build-root-with-a-prebuilt-interpreter/47927 "2021-12-02T18:12:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstack](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@mstack](https://root-forum.cern.ch/u/mstack)\
**Post date:** [December 2, 2021, 6:12pm UTC](https://root-forum.cern.ch/t/can-you-build-root-with-a-prebuilt-interpreter/47927/1 "2021-12-02T18:12:52Z")

</div>

_ROOT Version:_ “Latest Stable”  
_Platform:_ Linux x86  
_Compiler:_ GCC

* * *

Is there a flag I can pass to build ROOT from source that says ignore building the llvm interpreter, I already have it built? I tried commenting out the  
#add\_subdirectory (interpreter)  
in CMakeList.txt but then I get error in main/CMakeLists.txt at line 77 that the number of args is incorrect (?)  
Any help would be very appreciated!

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [December 6, 2021, 9:53am UTC](https://root-forum.cern.ch/t/can-you-build-root-with-a-prebuilt-interpreter/47927/2 "2021-12-06T09:53:56Z")

</div>

Hi,  
I don’t think this is possible. ROOT requires an internal LLVM build and cannot work with an external one  
Cheers  
Lorenzo
