Go to file
Marc Herbert ebaa1429f9 xtensa-build-zephyr.py: log ALL "evil" environment differences
This is a typical example of why environment variables are (a sometimes
necessary) evil: imagine you're trying to reproduce exactly the `west
build` command run by xtensa-build-zephyr.py when building with the
`xt-xcc` toolchain. So you would typically look at the logs, feel lucky
that it shows the extra environment variables used and copy them:

```
XTENSA_TOOLCHAIN_PATH=/srv/home/jenkins/xcc/install/tools
TOOLCHAIN_VER=RG-2017.8-linux
XTENSA_SYSTEM=/home/jenkins/xcc/install/builds/RG-2017.8-linux/cavs...
In dir: workspace/sof; running: west build ...
```

Except this won't work because there's one variable currently missing:
`ZEPHYR_TOOLCHAIN_VARIANT`!

Of course there could be more in the future.

Fix this by leveraging the recent os.environ.copy() added by
commit 8aab18351f ("xtensa-build-zephyr: fix DEFAULT_TOOLCHAIN_VARIANT
spill on next platf") compare it to the current os.environ and show the
difference in a totally generic, non-hardcoded way.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-04-12 20:10:33 +03:00
.github .github/ipc_fuzzer.yml: add new scripts/fuzz.sh 2023-03-24 16:20:23 +00:00
app app: remove old cavs platforms 2023-04-10 16:23:59 +03:00
doc header: rtos: decouple headers into rtos specific directories. 2022-08-31 12:01:07 +01:00
installer platform: remove support for cAVS 1.8 platforms 2023-03-02 23:02:37 +00:00
keys
rimage@9643a986dd kpb: update uuid in rimage 2023-04-04 15:20:30 +02:00
scripts xtensa-build-zephyr.py: log ALL "evil" environment differences 2023-04-12 20:10:33 +03:00
smex header: rtos: decouple headers into rtos specific directories. 2022-08-31 12:01:07 +01:00
src audio: mixer: Fix inactive streams handling 2023-04-12 13:55:04 +03:00
submanifests Add west.yml configuring zephyr dependencies from sof 2022-08-03 11:43:22 +01:00
test Test: Cmocka: Convert mux to module adapter 2023-03-09 13:33:26 +02:00
third_party/include Updating of GoogleRtcAudioProcessing component to provide a more general behavior 2022-12-09 16:00:16 -08:00
tools topology2: Move common_definitions.conf 2023-04-11 15:54:31 +03:00
xtos/include clock: replace per-clock locks with a global one 2023-03-07 13:37:56 +02:00
zephyr zephyr: Make CONFIG_DMA_DOMAIN no longer experimental 2023-04-05 12:31:46 +01:00
.gitignore gitignore: ignore testbench test results files 2023-03-30 11:42:42 +01:00
.gitmodules .gitmodules: remove .git suffix from rimage.git 2021-09-30 15:56:44 +01:00
.travis.yml
CMakeLists.txt platform: Add Zephyr native_posix-based emulation environment 2022-12-07 17:25:39 +00:00
CODEOWNERS CODEOWNERS: more intel code owners added 2023-02-24 16:08:39 +00:00
Kconfig
Kconfig.sof Performance: remove perf avg macro and reduce print profiling logs 2022-11-01 10:45:00 +00:00
Kconfig.xtos-build
Kconfig.xtos-dbg Kconfig: use uncached buffer only for debugging 2021-09-29 16:36:27 +01:00
Kconfig.zephyr-log sof: replace log calls with zephyr logging api 2022-04-27 15:05:24 +01:00
LICENCE LICENCE: Add Khronos Group Inc license header 2022-04-12 19:41:27 +03:00
README.md README.md: add link to discord.com/zephyr#sof channel 2022-12-23 11:13:31 +00:00
west.yml kpb: update uuid in rimage 2023-04-04 15:20:30 +02:00

README.md

Sound Open Firmware

Status

Daily Actions

Gitter chat

#sof channel on discord.com

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details