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
[BUG]/scripts/build-tools.sh -T doesn't build development topologies #4141
Comments
They're built only when building everything. Demo:
This single line is enough to change that: --- a/tools/topology/development/CMakeLists.txt
+++ b/tools/topology/development/CMakeLists.txt
@@ -34,6 +34,7 @@ set(TPLGS_UP
)
add_custom_target(dev_topologies ALL)
+add_dependencies(topologies dev_topologies)
foreach(tplg ${TPLGS})
list(GET tplg 0 input) However I have no idea whether that's desirable or not. I think @plbossart, @ranj063 have some informed opinions on what topologies should be built and when? A new
No idea but there hasn't been any recent change AFAICT |
From SOF-CI, we use "scripts/build-tools.sh" without any option. We should build all. |
Sorry for a bit off the topic. This issue started with -T option... For the storage server, there was my misunderstanding. There is no development directory, but all files are under |
@fredoh9 thanks for your explanations.
|
I got tired of this confusion too and I submitted #4210 |
We used to do this in Travis, see commit 7072eb4 ("travis: run build-tools.sh with CMAKE_BUILD_TYPE=Release") and older. Related to issue thesofproject#4141 build-tools.sh -T does not build development topologies. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Fixes thesofproject#4141. I got tired of repeatedly having to read CMakeLists.txt files. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Fixes #4141. I got tired of repeatedly having to read CMakeLists.txt files. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Except for this "install" race condition I just discovered: #5067
Maybe that's why. |
Describe the bug
Running
/scripts/build-tools.sh -T
doesn't build tplg files intools/topology/development
Is this expected behavior? How one would build topologies in
tools/topology/development
usingbuild-tools.sh
scriptThe text was updated successfully, but these errors were encountered: