diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-05 18:55:06 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-05 18:55:06 +0000 |
commit | 7cefa640de1d3ab8cdfe6062811190a6fd33e684 (patch) | |
tree | d3a82ef518d9e8b47eb135aa4943f4369c8c595a /utils/llvm-lit | |
parent | e516379d2a2fd1ad7583b2fa289051da517d8a42 (diff) | |
download | external_llvm-7cefa640de1d3ab8cdfe6062811190a6fd33e684.zip external_llvm-7cefa640de1d3ab8cdfe6062811190a6fd33e684.tar.gz external_llvm-7cefa640de1d3ab8cdfe6062811190a6fd33e684.tar.bz2 |
Revert r127073: "Introduce $(ECHOPATH) to print DOSish path string on MSYS bash for alternative of $(ECHO)."
It broke the llvm-gcc-native-mingw32 buildbot, and we need all of them to be green for the 2.9 branch.
Takumi, please reapply after we branch, preferably with a fix ;-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvm-lit')
-rw-r--r-- | utils/llvm-lit/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/utils/llvm-lit/Makefile b/utils/llvm-lit/Makefile index 77021bb..702591f 100644 --- a/utils/llvm-lit/Makefile +++ b/utils/llvm-lit/Makefile @@ -13,10 +13,9 @@ include $(LEVEL)/Makefile.common all:: $(ToolDir)/llvm-lit -$(ToolDir)/llvm-lit: llvm-lit.in Makefile $(ToolDir)/.dir +$(ToolDir)/llvm-lit: llvm-lit.in $(ToolDir)/.dir $(Echo) "Creating 'llvm-lit' script..." - $(Verb)$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp - $(Verb)$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp - $(Verb)sed -f lit.tmp $< > $@ + $(Verb)sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \ + -e "s#@LLVM_BINARY_DIR@#$(LLVM_OBJ_ROOT)#g" \ + $< > $@ $(Verb)chmod +x $@ - $(Verb)rm -f lit.tmp |