Re: bsd.port.mk bits for sccache

2023-11-10 Thread Caspar Schutijser
On Fri, Nov 10, 2023 at 12:09:27PM +, Klemens Nanni wrote: > On Fri, Nov 10, 2023 at 12:58:14PM +0100, Caspar Schutijser wrote: > > Alright, thanks. Diff for that below (should be obvious). I also tweaked > > the manual page a little bit; at the bottom of the diff, I mention that > >

Re: bsd.port.mk bits for sccache

2023-11-10 Thread Klemens Nanni
On Fri, Nov 10, 2023 at 12:58:14PM +0100, Caspar Schutijser wrote: > Alright, thanks. Diff for that below (should be obvious). I also tweaked > the manual page a little bit; at the bottom of the diff, I mention that > USE_SCCACHE=Yes sets it up specifically for Rust (otherwise, people > may expect

Re: bsd.port.mk bits for sccache

2023-11-10 Thread Caspar Schutijser
On Thu, Nov 09, 2023 at 06:37:49PM +, Klemens Nanni wrote: > On Thu, Nov 09, 2023 at 07:26:41PM +0100, Caspar Schutijser wrote: > > On Thu, Nov 09, 2023 at 05:54:33PM +0100, Caspar Schutijser wrote: > > > Hi all, > > > > > > Below is a diff for bsd.port.mk that allows us to set

Re: bsd.port.mk bits for sccache

2023-11-09 Thread Landry Breuil
Le Thu, Nov 09, 2023 at 06:20:44PM +0100, Landry Breuil a écrit : > Le Thu, Nov 09, 2023 at 05:54:33PM +0100, Caspar Schutijser a écrit : > > Hi all, > > > > Below is a diff for bsd.port.mk that allows us to set USE_SCCACHE=Yes > > in /etc/mk.conf to use sccache. Manual page updates are included,

Re: bsd.port.mk bits for sccache

2023-11-09 Thread Klemens Nanni
On Thu, Nov 09, 2023 at 07:26:41PM +0100, Caspar Schutijser wrote: > On Thu, Nov 09, 2023 at 05:54:33PM +0100, Caspar Schutijser wrote: > > Hi all, > > > > Below is a diff for bsd.port.mk that allows us to set USE_SCCACHE=Yes > > in /etc/mk.conf to use sccache. Manual page updates are included, >

Re: bsd.port.mk bits for sccache

2023-11-09 Thread Caspar Schutijser
On Thu, Nov 09, 2023 at 05:54:33PM +0100, Caspar Schutijser wrote: > Hi all, > > Below is a diff for bsd.port.mk that allows us to set USE_SCCACHE=Yes > in /etc/mk.conf to use sccache. Manual page updates are included, > which I copied and adapted from the ccache bits. > > Note that with the

Re: bsd.port.mk bits for sccache

2023-11-09 Thread Landry Breuil
Le Thu, Nov 09, 2023 at 05:54:33PM +0100, Caspar Schutijser a écrit : > Hi all, > > Below is a diff for bsd.port.mk that allows us to set USE_SCCACHE=Yes > in /etc/mk.conf to use sccache. Manual page updates are included, > which I copied and adapted from the ccache bits. > > Note that with the

bsd.port.mk bits for sccache

2023-11-09 Thread Caspar Schutijser
Hi all, Below is a diff for bsd.port.mk that allows us to set USE_SCCACHE=Yes in /etc/mk.conf to use sccache. Manual page updates are included, which I copied and adapted from the ccache bits. Note that with the diff below, sccache is only used for Rust code, not for C/C++ (which sccache also