diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-23 10:00:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-23 10:00:49 +0000 |
commit | 9851567a106ef1907cca715fc5e3e4e498b2df81 (patch) | |
tree | eb1cac3fbd3ffc570c1d2671a1028c81d881bcea /Makefile.config.in | |
parent | 9e7d90bcfc1eb291118627dcc87ad79f6bc3fb20 (diff) |
Initial configure support for using Clang as the LLVM capable compiler.
Comes in two parts:
1. Use --with-clang=path/to/clang/compiler to select an installed clang, or
--with-built-clang to have the makefiles use the clang which will be built
as the LLVM capable compiler. If neither is given, --with-built-clang will
be used if the Clang sources are checked out into the standard location
(tools/clang).
2. Use --with-llvmcc={llvm-gcc,clang,none} to specify which LLVM capable
compiler to use. If not given, then llvm-gcc will be used if available,
otherwise Clang.
Makefile support still to come.
Eric, Doug, Chris, seem reasonable?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r-- | Makefile.config.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index 3d65bdcbc3..5d8645fef9 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -190,6 +190,14 @@ LLVMCC1 := @LLVMCC1@ LLVMCC1PLUS := @LLVMCC1PLUS@ LLVMGCC_LANGS := @LLVMGCC_LANGS@ +# Information on Clang, if configured. +CLANGPATH := @CLANGPATH@ +CLANGXXPATH := @CLANGXXPATH@ +ENABLE_BUILT_CLANG := @ENABLE_BUILT_CLANG@ + +# The LLVM capable compiler to use. +LLVMCC_OPTION := @LLVMCC_OPTION@ + # Path to directory where object files should be stored during a build. # Set OBJ_ROOT to "." if you do not want to use a separate place for # object files. |