-
Notifications
You must be signed in to change notification settings - Fork 158
Wrong compiler flag check result on Windows LLVM toolchain #831
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
Labels
area: LLVM
Issues related to LLVM
bug
platform: Windows
Issues related to Zephyr SDK on Windows hosts
Comments
stephanosio
added a commit
that referenced
this issue
Oct 28, 2024
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue #831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
stephanosio
added a commit
that referenced
this issue
Oct 28, 2024
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue #831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
stephanosio
added a commit
that referenced
this issue
Oct 29, 2024
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue #831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
nashif
pushed a commit
that referenced
this issue
May 14, 2025
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue #831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
nashif
pushed a commit
that referenced
this issue
May 17, 2025
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue #831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
nashif
pushed a commit
to nashif/sdk-ng
that referenced
this issue
May 20, 2025
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue zephyrproject-rtos#831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
nashif
pushed a commit
that referenced
this issue
May 20, 2025
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue #831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
nashif
pushed a commit
that referenced
this issue
May 22, 2025
Do not run distribution bundle tests for Zephyr SDK LLVM toolchain on Windows because there are known issues causing strange CMake behaviours and subsequent build failures (see GitHub issue #831). Revert this commit when the above issue is fixed. Signed-off-by: Stephanos Ioannidis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: LLVM
Issues related to LLVM
bug
platform: Windows
Issues related to Zephyr SDK on Windows hosts
Uh oh!
There was an error while loading. Please reload this page.
Summary
When building Zephyr with Zephyr SDK LLVM toolchain on Windows, CMake compiler flag check function (
check_compiler_flag
) "randomly" returns wrong results.Running CMake twice with the toolchain compatibility database cache cleared before each run, the compiler flag check results differ:
For full log, see https://gist.github.com/stephanosio/515697800f63484dc94568edff48c407.
To reproduce
On Windows:
ZEPHYR_TOOLCHAIN_VARIANT=zephyr-llvm
.collab-sdk-0.18-dev
branch.samples/hello_world
:build
directory, run the following commands twice, observing the CMake run results:Notes
zephyr_check_compiler_flag(C "" result)
differ -- this seems to be completely random:The text was updated successfully, but these errors were encountered: