-
Notifications
You must be signed in to change notification settings - Fork 349
Fix topology2 builds #6592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix topology2 builds #6592
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Unsurprisingly, no IPC4 test was run in https://sof-ci.01.org/sofpr/PR6592/build2346/devicetest/index.html |
82392c5 to
7fdf412
Compare
@marc-hb yes thats correct. I should have squahsed the first 2 patches and remove the output_dir. Fixed now. |
7fdf412 to
9cd34aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move these new targets to their corresponding subdirectories to keep them self-contained.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer each child to add itself to the parent but no big deal.
The CAVS topologies need to be in the avs-tplg folder and the MTL topologies need to be in sof-ace-tplg folder. Also, change the output file names to the names expected by the kernel and the NHLT binary files to match the topology file names. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This folder contains definitions for both CAVS and ACE. So remove the incorrect folder naming and move everything one level up. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
9cd34aa to
925da17
Compare
marc-hb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CMake changes look simple and good to me, thanks for doing this!
Someone else (@plbossart ?) must approve the new names and we also need someone to cleanup some of the CI moves.
I guess it's unlikely but if someone in the future ever wants to make or convert some IPC3 to topology2 they'll have to make some abi.h-related tweaks correct? As long as that code is in a single place we can wait if/when we cross that bridge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer each child to add itself to the parent but no big deal.
This will be needed for MTL. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Rename it to sof-hda-generic.conf. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
|
SOFCI TEST |
|
Rerun the CI as 3 DUTs were in use for development. |
@lgirdwood this PR will need changes in CI to deploy the topology binaries as is for testing. @fredoh9 can you please let me know when the change is ready? |
One PR is pending in review, I think, we can get reviewed in 1-2 days. |
aborisovich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've started to request changes on fixing those variables with
set(TPLGS ...) and then noticed they are multiline strings...
So ugly but yeah... Did not find any alternative to it.
A good piece of CMake code.
All my CMake dreams shattered in just one pen stroke.... Couldn't these lists be read from some (JSON?) configuration file? EDIT: I mean IN THE FUTURE, NOT IN THIS PR. |
|
SOFCI TEST |
|
@fredoh9 any update on ETA ? |
|
@lgirdwood @ranj063 Now ready to merge! |
json would be fine but it will just be another file to maintain though |
This comment was marked as resolved.
This comment was marked as resolved.
What does "correspond" mean? Are we still renaming .tplg files in CI and not testing sof-bin releases? The purpose of this PR is to stop that.
The idea would be to separate data and code. Should not add any line. This would make filenames in |
corresponding to the
It reduced a lot of renaming for IPC4 topology files, but we still need: and I'm not sure if they are a bug. But if these can be handled in CMake, I think it would be better. |
Thanks for pointing these out @miRoox. Let me submit a fix for these. |
|
No description provided.