Skip to content

Conversation

nashif
Copy link
Member

@nashif nashif commented May 23, 2025

  • tests/c_lib: Skip double sqrt test when double is not 64 bits
  • libc/minimal: Add stub 'sys/lock.h'
  • tests/kernel: Disable -Werror when testing deprecated pipe APIs
  • riscv: Increase TEST_EXTRA_STACK_SIZE to 4096 if c++ exceptions
  • toolchain: clang: compiler opt: -Ofast -> -O3 -ffast-math
  • ci: use new docker image v0.28.0.20250523

test results here https://github.com/zephyrproject-rtos/zephyr-testing/actions/runs/15212241536 and here https://github.com/zephyrproject-rtos/zephyr-testing/actions/runs/15212241536

This test only works for 64-bit values. On targets which use 32 bits for
double, skip this version. The float test will check the 32-bit math for
that.

Signed-off-by: Keith Packard <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
keith-packard and others added 4 commits May 23, 2025 10:27
This file is explicitly included by the espressif hal module. It's an
internal file provided by picolibc and newlib. Provide a stub to let
code designed for those to work with the minimal C library.

Signed-off-by: Keith Packard <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
These two tests are validating that deprecated APIs still work
correctly. Which means they will definitely generate compile warnings.

To disable -Werror while letting it be enabled for other tests, create a
new Kconfig variable, DEPRECATION_TEST and make
COMPILER_WARNINGS_AS_ERRORS depend on that option being unselected. Add
this option to the two tests so that the resulting configuration
disables -Werror.

Signed-off-by: Keith Packard <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
Initializing the C++ stack unwinding data structures takes quite a bit
of stack space. Increase the TEST_EXTRA_STACK_SIZE when using these.

Signed-off-by: Keith Packard <[email protected]>
clang 20 does not like -Ofast.

Signed-off-by: Anas Nashif <[email protected]>
@nashif nashif force-pushed the topic/sdk/0.17.1_docker branch from ebf1817 to f9f09a9 Compare May 23, 2025 14:29
@nashif nashif assigned nashif and unassigned stephanosio May 23, 2025
New docker image with SDK 0.17.1 and update docker base is (ubuntu
24.04).

Signed-off-by: Anas Nashif <[email protected]>
kartben
kartben previously approved these changes May 23, 2025
Copy link
Contributor

@kartben kartben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Copy link

Copy link
Member

@carlescufi carlescufi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nashif and @keith-packard for all the work on this!

@nashif nashif merged commit 732c80f into zephyrproject-rtos:main May 23, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants