flang
flang copied to clipboard
base) ian@ian-Aspire-One-753:~/flang$ cmake flang CMake Error at CMakeLists.txt:92 (message): llvm-config not found -- LLVM_CONFIG-NOTFOUND -- Configuring incomplete, errors occurred! See also "/home/ian/flang/CMakeFiles/CMakeOutput.log".
base) ian@ian-Aspire-One-753:~/flang$ cmake flang CMake Error at CMakeLists.txt:92 (message): llvm-config not found -- LLVM_CONFIG-NOTFOUND
-- Configuring incomplete, errors occurred! See also "/home/ian/flang/CMakeFiles/CMakeOutput.log".
Hi @iajzenszmi, have you read the instructions on the following wiki page?
https://github.com/flang-compiler/flang/wiki/Building-Flang
You can also use the build scripts provided in the repositories:
- https://github.com/flang-compiler/classic-flang-llvm-project/blob/release_12x/build-llvm-project.sh
- https://github.com/flang-compiler/flang/blob/master/build-flang.sh
But you would still have to build Clang/LLVM first, before building Flang.
Closing for inactivity.