-
Notifications
You must be signed in to change notification settings - Fork 325
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] #5027 provides changes for logger blocking compilation with MSYS2 #6115
Comments
@pjdobrowolski can you ifdef atm for MSYS2 ? Sof logger is not the long term tool as Zephyr tooling will be used for log and trace. If you dont need to run it on MSYS2 then faster to remove from compilation if building on MSYS2 |
Compiling sof-logger on Windows was always a long shot. Most of what the sof-logger code does is reading and parsing I recommend disabling sof-logger compilation in |
Intel has engineers who will want to do this, we need to work this out. |
@marc-hb can you please fix the issue with logger by ifdefing this missing on MSYS2 header and feature? |
OK, I'm quite surprised by this considering the earlier comments below. Change of mind?
I'd like to but I'm on sort-of-vacation right now and even when at work I don't have any Windows environment to test this on. Sorry to insist but I think disabling sof-logger compilation in the script is really the fastest, smallest and easy to revert short-term workaround until someone can provide the right |
We are using it from the very beginning on windows with python tests just to parse input file |
I didn't know sorry. This should really be in some CI then. Not sure what you mean by "very beginning" but I remember @aborisovich struggling to compile it with MSYS2 6 months ago, see What "input file" are you referring to? |
|
sof-logger is much older than 5 months, in the past it was working fine with cygwin build, my first tries are from 2018 :) and it was used under windows to parse tgl, cnl and older platforms logs. On MTL we are using sof-logger too (but only as temporary debug solution).
No, input file contains logs, substitute of debugfs trace file in linux. Python tests with diag driver can save dma output as .bin file and then we can parse it using sof-logger and .ldc dictionary.
|
OK, that must be why #5299 was called "resurrect" then :) Thanks for the additional details, I will try to EDIT: I've been sick, sorry for the delay. |
Actually: what This won't be blocking me but I'll need to know eventually. |
Best if can be solved inside but if not: maybe ifdef for this feature which depends on additional build parameter (in xtensa-build-zephyr.py there is check linux vs windows)? Thats why I have no idea why it is building every time with each fw build, we should disable this anyway. |
@marc-hb MSYS porting guide might be helpful, fe. there is a list of platform checks https://www.msys2.org/wiki/Porting/ |
@marc-hb @aborisovich @kfrydryx @abonislawski Is there a simple path to run basic WSL2 GH actions to prevent Windows failures ? I found https://github.com/features/actions which seems to indicate we can have a Windows container. However, I'm not a Windows user and no idea if this Windows container configuration would be suitable. |
Yes this can be done but somebody should start from Proof of Concept task and build locally project on Windows using new Zephyr SDK for Windows. I think nobody tried to do this. If this works we can easily add new processes for |
I'll test it in a moment |
Checked and tested. Fix works. |
Yep, it works, sorry for late reply... Thanks @pjdobrowolski . |
Changes made in #5027 require inotify which is available Linux Only. What blocks compilation.
Possible solution:
The text was updated successfully, but these errors were encountered: