Package building reduces the lifetime of the SSD drives
Robert Antoni Buj i Gelonch
robert.buj at gmail.com
Mon Feb 23 15:05:10 PST 2015
First, I'm going to do manually;
PHASE 1: Inital Ram Disk
1.- Create Ram Disk & symlink to workdir
$ diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount
ram://12000000`
$ ln -s /Volumes/RAM\ Disk /path_to_git_folder/workdir
2.- Build
3.- Backup Ramdisk => dmg file
$ mount
. . .
/dev/{device number} on /Volumes/RAM Disk (hfs, local, nodev, nosuid,
noowners, mounted by tb)
$ sudo hdiutil create /path_to_dmg_file/RAM\ Disk.dmg -srcdevice
/dev/{device number}
4.- Delete Ram Disk:
$ umount -f /Volumes/RAM\ Disk
$ hdiutl detach /Volumes/RAM\ Disk
PHASE 2
5.- Do [1]
6.- Restore dmg file => RAM\ Disk Volume
$ sudo asr restore -source /path_to_dmg_file/RAM\ Disk.dmg --target
/Volumes/RAM\ Disk -noprompt -noverify -erase
7.- Repeat [2]
8.- Do [3]
2015-02-23 22:55 GMT+01:00 Norbert Thiebaud <nthiebaud at gmail.com>:
> On Mon, Feb 23, 2015 at 3:44 PM, Robert Antoni Buj i Gelonch
> <robert.buj at gmail.com> wrote:
> > Does we still use [1] for OS X tinderboxes?
>
> nope.. not for 3 years or so...
>
> but its replacement 'tb' is quite flexible and I have used the
> possibilities to customize the different 'phases' to indeed use a
> ramdisk (or do pretty much anything you fancy really)
>
> I also use a massive ramdisk (23GB) to build release version for the
> 32 bits release... not for fear of harming my ssd, but because
> localization build where horrendously slow without it (14 hours build
> => 2 hours build), due to HFS sucking very hard.
>
> Norbert
>
--
http://about.me/rbuj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150224/f7274386/attachment.html>
More information about the LibreOffice
mailing list