Opened 5 months ago

Last modified 7 weeks ago

#32908 assigned enhancement

Only re-build missing incremental .mar files

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications Version:
Severity: Normal Keywords: tbb-rbm
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Sometimes we only want to re-build a subset of incremental .mar files but that does not seem to be possible right now.

The way this could handled is like proceed with regular artifact builds: only the missing parts are (re-)built. Thus, for incremental .mar files this would mean we'd delete the ones we want to rebuilt and make incrementals-release (assuming we are in a release build process) would be smart enough to just re-build the deleted ones.

Child Tickets

Change History (3)

comment:1 Changed 5 months ago by boklm

It is possible to skip the creation of already existing mar files by setting the MAR_SKIP_EXISTING environment variable.

So it can be done by running:

MAR_SKIP_EXISTING=1 make incrementals-release

Maybe we can document that somewhere, for example in the README.MAKEFILE file.

However, I am not sure if we should change that to be the default.

comment:2 in reply to:  1 Changed 5 months ago by gk

Replying to boklm:

It is possible to skip the creation of already existing mar files by setting the MAR_SKIP_EXISTING environment variable.

So it can be done by running:

MAR_SKIP_EXISTING=1 make incrementals-release

Aha, good!

Maybe we can document that somewhere, for example in the README.MAKEFILE file.

That's a good idea, yes

However, I am not sure if we should change that to be the default.

What speaks against it? We don't rebuild the projects and their dependencies that are already built either.

comment:3 Changed 7 weeks ago by gk

Owner: set to tbb-team
Status: newassigned
Note: See TracTickets for help on using tickets.