Displaying 4 results from an estimated 4 matches for "2231ms".
2009 Jan 19
3
[LLVMdev] avoid creating .dir files
...s called .dir in the
>> installation directory. This patch fixes that.
>
> If we don't have this line, every build with do the makedir.
And?
$ time mkdir -p /bin
real 0m0.002s
user 0m0.000s
sys 0m0.002s
an extra mkdir takes around 2ms per build. An up-to-date inc build
takes 2231ms for me. If you want some of the extra 2231ms back, I'd
recommend avoiding recursion in the makefiles. This will yield a
larger benefit than worrying about the extra mkdir.
If we have it, then .dir files are created in the installation
directories.
Trivially one can do:
/dir:
mkdir /...
2009 Jan 19
2
[LLVMdev] avoid creating .dir files
There isn't a good reason to create files called .dir in the
installation directory. This patch fixes that.
Ok?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-1.patch
Type: application/octet-stream
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090119/2086e82a/attachment.obj>
--------------
2009 Jan 19
0
[LLVMdev] avoid creating .dir files
On Jan 19, 2009, at 10:02 AM, Mike Stump wrote:
> There isn't a good reason to create files called .dir in the
> installation directory. This patch fixes that.
If we don't have this line, every build with do the makedir.
-Chris
2009 Jan 20
0
[LLVMdev] avoid creating .dir files
...is patch fixes that.
>>
>> If we don't have this line, every build with do the makedir.
>
> And?
>
> $ time mkdir -p /bin
>
> real 0m0.002s
> user 0m0.000s
> sys 0m0.002s
>
> an extra mkdir takes around 2ms per build. An up-to-date inc build
> takes 2231ms for me. If you want some of the extra 2231ms back, I'd
> recommend avoiding recursion in the makefiles. This will yield a
> larger benefit than worrying about the extra mkdir.
Not that it really matters, but do note that the LLVM build system
uses ‘$(LLVM_SRC_ROOT)/autoconf/mkinstall...