diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-20 19:04:35 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-20 19:04:35 +0000 |
commit | 1b720a90f20801c67bdd9036e1e6f3d222816665 (patch) | |
tree | 9825cb2c258a7a1dccce068988f453ee0423247a /test/Makefile | |
parent | 59b2172751e78ef7c0895d9a5d1359b61ab63a33 (diff) |
Include LLVM {src,obj} root in lit.site.cfg, to support non-standard layouts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile index 223fd8380b..88cc955f38 100644 --- a/test/Makefile +++ b/test/Makefile @@ -43,10 +43,12 @@ endif FORCE: lit.site.cfg: FORCE - @echo "Making 'lit.site.cfg' file..." - @sed -e "s#@CLANG_SOURCE_DIR@#$(PROJ_SRC_DIR)/..#g" \ - -e "s#@CLANG_BINARY_DIR@#$(PROJ_OBJ_DIR)/..#g" \ + @echo "Making Clang 'lit.site.cfg' file..." + @sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \ + -e "s#@LLVM_BINARY_DIR@#$(LLVM_OBJ_ROOT)#g" \ -e "s#@LLVM_TOOLS_DIR@#$(ToolDir)#g" \ + -e "s#@CLANG_SOURCE_DIR@#$(PROJ_SRC_DIR)/..#g" \ + -e "s#@CLANG_BINARY_DIR@#$(PROJ_OBJ_DIR)/..#g" \ $(PROJ_SRC_DIR)/lit.site.cfg.in > $@ clean:: |