Opened 16 years ago

Last modified 15 years ago

#714 new Feature Requests (None)

[jam] HardLink rule on NT platform — at Version 1

Reported by: nobody Owned by: René Rivera
Milestone: To Be Determined Component: build
Version: Boost Development Trunk Severity: Optimization
Keywords: Cc:

Description (last modified by Dave Abrahams)

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

Change History (1)

comment:1 by Dave Abrahams, 15 years ago

Component: Nonebjam
Description: modified (diff)
Owner: changed from nobody to René Rivera
Severity: Showstopper
Status: assignednew
Note: See TracTickets for help on using tickets.