Date: Wed, 25 Jul 2012 09:02:55 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Brandon Falk <bfalk_bsd@brandonfa.lk> Cc: freebsd-hackers@freebsd.org Subject: Re: Pre-make and Post-make scripts Message-ID: <CAGH67wS4_k7LSAhTiGngfdQ5U-1c4zXOThePFKsAmRJ4UiKi2A@mail.gmail.com> In-Reply-To: <CAGSJxJ4nBQeUvFfc9jNFpQEXY9OeHPvExLLEqUHkuqv2iPtkvQ@mail.gmail.com> References: <CAGSJxJ4nBQeUvFfc9jNFpQEXY9OeHPvExLLEqUHkuqv2iPtkvQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 25, 2012 at 5:49 AM, Brandon Falk <bfalk_bsd@brandonfa.lk> wrote: > I'm curious as to how the best way of having a script run before and after > make would be done. Would this require modification of the FreeBSD make > template, or is this functionality already built in? > > The goal of this is to set up a script that prior to a build sends up a > filesystem in ram (tmpfs) for the build to occur in, and afterwards saves > the filesystem from ram onto the actual disk for backup/archiving. We all > know that our poor disks could use a little break from the strain of build > processes. Or just mount MAKEOBJDIRPREFIX (defaults to /usr/obj) in a swap backed disk / tmpfs? Cheers, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wS4_k7LSAhTiGngfdQ5U-1c4zXOThePFKsAmRJ4UiKi2A>