Search code examples
clangllvmsudo

Is there a way to get llvm/clang on centOS without sudo?


I am trying to get LLVM/clang on a shared cluster that does not allow me to sudo at all. Is there any workaround to this so I can get llvm up and running?


Solution

  • LLVM does not require any sudo in order to be compiled / used. Just grab the release sources and compile according to the instructions (https://llvm.org/docs/GettingStarted.html#compiling-the-llvm-suite-source-code). You may want to check the prerequisites as well, as compilers might be quite old on these clusters.