-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
twister: Fix toolchain assignment for posix #83762
base: main
Are you sure you want to change the base?
twister: Fix toolchain assignment for posix #83762
Conversation
what environment? you mean you set |
That's correct. Here's a snippet of a testplan.json file generated:
|
Ah, this explains why I was not seeing ZEPHYR_TOOLCHAIN_VARIANT=llvm VERBOSE=1 ./scripts/twister -c -p native_sim -s cpp.libcxx.host With this patch, I now see it using It also looks like this was affecting the |
Looking at the CI failures, I see that |
twister was unconditionally setting the toolchain to "host" for the "posix" and "unit" architectures, clobbering the toolchain setup in the environment. Signed-off-by: Keith Short <[email protected]>
8d5d9c7
to
17fc84a
Compare
twister was unconditionally setting the toolchain to "host" for the "posix" and "unit" architectures, clobbering the toolchain setup in the environment.