Opened 16 years ago
Last modified 15 years ago
#714 new Feature Requests (None)
[jam] HardLink rule on NT platform — at Initial Version
| Reported by: | nobody | Owned by: | nobody |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | build |
| Version: | Boost Development Trunk | Severity: | Optimization |
| Keywords: | Cc: |
Description
I've installed boost and noticed that HardLink rule on
NT copies file although NT has support for hardlinks
(on NTFS, of course).
To use this feature while installing boost i've created
file hardlink.bat with following contents:
fsutil hardlink create %2 %1
and put it into %WINDIR%\system32
also i've changed line 194 of
tools\build\v1\allyourbase.jam file from
LN ?= $(CP) ;
to
LN ?= hardlink ;
these changes allowed me to save about 600 M of my
harddisk space. Not a big deal, yes, but otherwise
these 600M would exceed my disk space :-)
I think my solution is not ideal, but it could be
helpful for people. So maybe it will be included in
boost distibution, when adapted.
Thanks.
mailto: forums (dog here) green dot nsk dot ru
Note:
See TracTickets
for help on using tickets.
