Hello
I m just creating a new project based on sw 9.1 and lib_xua 5.1
by default lib_xua has dependencies on lib_adat, lib_spdif, lib_sw_pll, lib_mic_array which has dependencies to the big lib_xcore_dsp
this brings a lot of overhead at compilation time for project simply using USB and DAC/ADC, especially lib_mic_array.
also sw_pll kills the -report capability which is quite annoying
removing them manually from lib_xua/lib_build_info is easy but kill the compatibility with the original master repo
can you propose a user friendly way to make these dependencies flexible and configurable from the main project cmake files ?
(I wish I would be a cmake expert to propose it but nop)
thank you
lib_xua dependent modules
-
- Respected Member
- Posts: 273
- Joined: Mon Jan 08, 2018 4:14 pm
-
Verified
- XCore Legend
- Posts: 1296
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Hey Fabrice,
The issue is some what by design, the idea is that systems are build up for blocks of pre-verified items (and those blocks are built up from blocks.. ) and so these blocks should be responsible for "pinning" the dependencies that they use. I think the "real" solution is for these blocks to only pull in dependencies when they actually use them, somehow..
The lib_sw_pll reporting issue is due to its use of lib_xcore from C.
The issue is some what by design, the idea is that systems are build up for blocks of pre-verified items (and those blocks are built up from blocks.. ) and so these blocks should be responsible for "pinning" the dependencies that they use. I think the "real" solution is for these blocks to only pull in dependencies when they actually use them, somehow..
The lib_sw_pll reporting issue is due to its use of lib_xcore from C.
Technical Director @ XMOS. Opinions expressed are my own