make install-what flavor of clang is installed?

The docs here:


  copies all libraries, headers, executables and documentation to
  the directory given with the --prefix option to configure.

However, under clang, there can be several executables. For example,
the clang executable can be in any one of these directories:


which one does:

  make install

place in the prefix directory?



The same one that "make" builds.


Used `make printvars` so show:

make printvars ENABLE_OPTIMIZED=1
llvm[0]: BuildMode : Release+Asserts
llvm[0]: PROJ_SRC_ROOT: /home/evansl/download/llvm/svn/llvm

make printvars ENABLE_OPTIMIZED=0
llvm[0]: BuildMode : Debug+Asserts
llvm[0]: PROJ_SRC_ROOT: /home/evansl/download/llvm/svn/llvm

So I guess the executable moved to the prefix directory depends
on the value of BuildMode and the value of BuildMode depends
on the values of various ENABLE_* macros.

Is that about right?


Roughly, yes.