[llvm-commits] [llvm] r165599 - in /llvm/trunk: Makefile.rules runtime/libprofile/Makefile tools/lto/Makefile
Bill Wendling
isanbard at gmail.com
Tue Oct 9 22:29:15 PDT 2012
Author: void
Date: Wed Oct 10 00:29:15 2012
New Revision: 165599
URL: http://llvm.org/viewvc/llvm-project?rev=165599&view=rev
Log:
Place temporary LTO files into their own subdirectory.
Modified:
llvm/trunk/Makefile.rules
llvm/trunk/runtime/libprofile/Makefile
llvm/trunk/tools/lto/Makefile
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=165599&r1=165598&r2=165599&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Wed Oct 10 00:29:15 2012
@@ -645,7 +645,7 @@
LD.Flags += $(RPATH) -Wl, at executable_path/../lib
endif
ifeq ($(RC_BUILDIT),YES)
- TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
+ TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif
Modified: llvm/trunk/runtime/libprofile/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/Makefile?rev=165599&r1=165598&r2=165599&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/Makefile (original)
+++ llvm/trunk/runtime/libprofile/Makefile Wed Oct 10 00:29:15 2012
@@ -51,7 +51,7 @@
# If we're doing an Apple-style build, add the LTO object path.
ifeq ($(RC_BUILDIT),YES)
- TempFile = $(shell mktemp ${OBJROOT}/profile_rt-lto.XXXXXX)
+ TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/profile_rt-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
endif
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=165599&r1=165598&r2=165599&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Wed Oct 10 00:29:15 2012
@@ -52,8 +52,8 @@
# If we're doing an Apple-style build, add the LTO object path.
ifeq ($(RC_BUILDIT),YES)
- TempFile = $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
- LLVMLibsOptions := $(LLVMLibsOptions) \
- -Wl,-object_path_lto -Wl,$(TempFile)
+ TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
+ LLVMLibsOptions := $(LLVMLibsOptions) \
+ -Wl,-object_path_lto -Wl,$(TempFile)
endif
endif
More information about the llvm-commits
mailing list