andrewchambers / hpkgs

A package repository for hermes
45 stars 3 forks source link

Rebuilding when seemingly unnecessary #84

Open sogaiu opened 4 years ago

sogaiu commented 4 years ago

From time to time I get the sense that there is unnecessary rebuilding taking place.

For example, I have been working on a number of packages for the last few days without once running gc, yet when I went to build a new package just now, it appears gcc and friends are now rebuilding.

It's possible there is some recurring pilot error here, but thought I'd put this out there in case other folks had noticed but also to keep an eye out for this sort of thing.

sogaiu commented 4 years ago

Hmm...may be I should have made this an issue at the hermes repository?

sogaiu commented 4 years ago

Ah, I just realized I can explain some of these occurences.

I had just submitted a PR that touches core.hpkg and hadn't switched branches back.

That seems like it could explain what just happened.

andrewchambers commented 4 years ago

I too have seen a build unexpectedly, But again, may be human error. It is also possible a bug in hermes causes something like this.

sogaiu commented 4 years ago

Perhaps it would be useful to be able to obtain info about why some particular build function is being executed? No idea if that is feasible.

sogaiu commented 4 years ago

Can the -j <n> setting affect things?

andrewchambers commented 4 years ago

It shouldn't.

andrewchambers commented 4 years ago

I think I have an idea of what might be going on, but not totally certain, will do some tests later.

sogaiu commented 4 years ago

Thanks.