Skip to content

Conversation

@marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented May 3, 2023

Building a Docker image takes several hours. To reduce costs and save time we don't want to maintain a different Docker image for the stable-v2.2 branch. Restore toolchains that were accidentally removed from the Dockerfile because this will unnecessarily paint red every PR submitted to the stable-v2.2 branch, example:

https://github.com/thesofproject/sof/actions/runs/4867162042/jobs/8679468096

If we want to stop supporting something then let's keep things simple and remove it only where it actually gets in the way and where it actually becomes a problem. No need to search and scrub every reference to it from the face of the planet and accidentally make our life harder on release branches, create pointless git conflicts and increase maintenance costs when trying to reduce them!

Building a Docker image takes several hours. To reduce costs and save
time we don't want to maintain a different Docker image for the
stable-v2.2 branch. Restore toolchains that were accidentally removed
from the Dockerfile because this will unnecessarily paint red every PR
submitted to the stable-v2.2 branch, example:

https://github.com/thesofproject/sof/actions/runs/4867162042/jobs/8679468096

If we want to stop supporting something then let's keep things simple
and remove it only where it actually gets in the way and where it
actually becomes a problem. No need to search and scrub every reference
to it from the face of the planet and accidentally make our life harder
on release branches, create pointless git conflicts and _increase_
maintenance costs when trying to reduce them!

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@paulstelian97
Copy link
Collaborator

Deleting them is still needed at some point, but you make a point on how that deletion should probably be batched and not happen all the time.

Is stable-v2.2 still an actively-supported branch? If so then yeah you probably should keep the toolchains all the way until those platforms go out of support even in stable branches.

@marc-hb
Copy link
Collaborator Author

marc-hb commented May 3, 2023

Is stable-v2.2 still an actively-supported branch?

It has been mainly for topologies so far if you check the git log. For the rest not much has changed.

The main idea here is not to branch the docker image unless/until necessary. Imagine having to compile and install some very old ALSA version to make a minor topology fix or addition.

Copy link
Collaborator

@paulstelian97 paulstelian97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect a removal will still be useful in the future, but not now.

@kv2019i kv2019i merged commit ce0dd67 into thesofproject:main May 15, 2023
@marc-hb marc-hb deleted the restore-docker-toolchains branch May 17, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants