flang icon indicating copy to clipboard operation
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".

Open iajzenszmi opened this issue 3 years ago • 1 comments

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".

iajzenszmi avatar Dec 15 '21 17:12 iajzenszmi

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.

bryanpkc avatar Dec 15 '21 21:12 bryanpkc

Closing for inactivity.

bryanpkc avatar Oct 05 '22 09:10 bryanpkc