Makefile.config and ./configure

I’ve made a separate build directory as follows

build

  • release

and in release the file Makefile.config is missing. I believe this is because I need to run ./configure from the source tree directory which is another directory called LLVM.

the problem is when I run ./configure I get the message:

configure: error: In-source builds are not allowed. Please configure from a separate build directory

Any help would be appreciated

I've made a separate build directory as follows

build
    - release

and in release the file Makefile.config is missing. I believe this is
because I need to run ./configure from the source tree directory which
is another directory called LLVM.

the problem is when I run ./configure I get the message:

configure: error: In-source builds are not allowed. Please configure
from a separate build directory

Any help would be appreciated

lay out your directories like this:

llvm
     src
        ...
     lib
        ...
     configure
build

Then do:

$ cd build
$ ../llvm/configure

(It's also *highly* recommended that you use the CMake build rather than the Autotools build, as the former was just deprecated)

Jon