Re: advanced bash-ing for long compiles

2016-10-14 Thread Craig Treleaven
> On Oct 14, 2016, at 7:37 PM, Clemens Lang wrote: > - On 15 Oct, 2016, at 01:05, Fred Wright f...@fwright.net wrote: > ... >> One can also accomplish this via: >> >> sudo touch /opt/local/var/macports/build/.metadata_never_index >> >> Though I don't know if this

Re: advanced bash-ing for long compiles

2016-10-14 Thread Fred Wright
On Fri, 14 Oct 2016, Ryan Schmidt wrote: > On Oct 14, 2016, at 09:50, Ken Cunningham > wrote: > > Oh, one more similar question while I'm at it. > > > > I notice mdworker seems to go nuts during these long builds, often > > appearing to soak up lots of cycles.

Re: advanced bash-ing for long compiles

2016-10-14 Thread Joshua Root
On 2016-10-15 01:50 , Ken Cunningham wrote: I notice mdworker seems to go nuts during these long builds, often appearing to soak up lots of cycles. I assume it’s trying to index all the build files, etc is it easy to sleep that function and then re-enable it after the compile is done? Not

Re: advanced bash-ing for long compiles

2016-10-14 Thread Lawrence Velázquez
> On Oct 14, 2016, at 10:50 AM, Ken Cunningham > wrote: > > I notice mdworker seems to go nuts during these long builds, often appearing > to soak up lots of cycles. I assume it’s trying to index all the build files, > etc > > is it easy to sleep that

Re: advanced bash-ing for long compiles

2016-10-14 Thread Lawrence Velázquez
> On Oct 14, 2016, at 10:30 AM, Ken Cunningham > wrote: > > long compiles can take hours > > i can ssh into the machine and get it started > > sudo port -v install gcc48 gcc5 gcc6 gcc7 > > that, for example, might take several days to finish (if it does >

Re: advanced bash-ing for long compiles

2016-10-14 Thread Brandon Allbery
On Fri, Oct 14, 2016 at 10:30 AM, Ken Cunningham < ken.cunningham.web...@gmail.com> wrote: > how exactly do I best find that process to "fg" it again? If I just log > back in and "fg" it, it is not found. but top shows the process is humming > away in the background, as expected > You can't;

Re: advanced bash-ing for long compiles

2016-10-14 Thread David Bariod
Hi Ken, I would really use screen instead and disconnect it and reconnect it later. David On Fri, Oct 14, 2016 at 4:30 PM, Ken Cunningham < ken.cunningham.web...@gmail.com> wrote: > Some advice appreciated ... > > > long compiles can take hours > > i can ssh into the machine and get it started

Re: advanced bash-ing for long compiles

2016-10-14 Thread Ken Cunningham
> On Oct 14, 2016, at 7:30 AM, Ken Cunningham > wrote: > > Some advice appreciated … > Oh, one more similar question while I’m at it. I notice mdworker seems to go nuts during these long builds, often appearing to soak up lots of cycles. I assume it’s