Skip to content

[SKIP CI]github action: remove duplicate build for TGL/TGL-H#8261

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
aiChaoSONG:gh_fix
Sep 28, 2023
Merged

[SKIP CI]github action: remove duplicate build for TGL/TGL-H#8261
lgirdwood merged 1 commit into
thesofproject:mainfrom
aiChaoSONG:gh_fix

Conversation

@aiChaoSONG
Copy link
Copy Markdown
Collaborator

At the beginning, we have two build jobs in github action to build IPC3 and IPC4 firmware for TGL/TGL-H.

The PR #8048 switches cAVS2.5 configs to use IPC4 by default and empties the cAVS2.5 overlay files. After the change, the xtensa-build-zephyr.py script is building the
same IPC4 firmware with or without '-i IPC4' option. So we have two jobs running different build command but build the same IPC4 firmware.

Recently, commit 5004d0f ("zephyr.yml: remove ipc option for zephyr build") removes '-i IPC4' option in github action for TGL/TGL-H IPC4 build. So we have duplicated jobs to build firmware for TGL and TGL-H now.

This patch removes the duplicated build job which previously is used to build IPC3 firmware for TGL/TGL-H.

Copy link
Copy Markdown
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

@keqiaozhang @marc-hb can we proceed and remove the duplication now ?

Copy link
Copy Markdown
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

Thanks @aiChaoSONG for the cleanup and very detailed commit message.

There are still some obsolete comments like "# Very few IPC3 platforms support IPC4 too.". That's not true any more, I think the count is now zero.

Almost there!

Copy link
Copy Markdown
Collaborator

@keqiaozhang keqiaozhang left a comment

Choose a reason for hiding this comment

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

LGTM

At the beginning, we have two build jobs in github
action to build IPC3 and IPC4 firmware for TGL/TGL-H.

The PR thesofproject#8048
switches cAVS2.5 configs to use IPC4 by default and
empties the cAVS2.5 overlay files. After the change,
the xtensa-build-zephyr.py script is building the
same IPC4 firmware with or without '-i IPC4' option.
So we have two jobs running different build command
but build the same IPC4 firmware.

Recently, commit 5004d0f ("zephyr.yml: remove ipc
option for zephyr build") removes '-i IPC4' option
in github action for TGL/TGL-H IPC4 build. So we have
duplicated jobs to build firmware for TGL and TGL-H
in the end.

This patch removes the duplicated build job which previously
is used to build IPC3 firmware for TGL/TGL-H and obsolete
comments.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
@lgirdwood lgirdwood merged commit deb7a09 into thesofproject:main Sep 28, 2023
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.

5 participants