diff options
| author | David Marchand <[email protected]> | 2023-09-27 21:31:18 +0200 |
|---|---|---|
| committer | David Marchand <[email protected]> | 2023-10-17 10:54:38 +0200 |
| commit | 0d02d202369e7ce08d8108cc5626a841652bdf59 (patch) | |
| tree | 08517d759402189ad0f37c54f4e375f62e051422 /devtools | |
| parent | ac1edcb6621af6ff3c2b01d40e4dd6ed0527a748 (diff) | |
ci: test stdatomic API
Add some compilation tests with C11 atomics enabled.
The headers check can't be enabled (as gcc and clang don't provide
stdatomic before C++23).
Signed-off-by: David Marchand <[email protected]>
Reviewed-by: Aaron Conole <[email protected]>
Diffstat (limited to 'devtools')
| -rwxr-xr-x | devtools/test-meson-builds.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 605a855999..5c07063cbd 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -227,11 +227,13 @@ for c in gcc clang ; do for s in static shared ; do if [ $s = shared ] ; then abicheck=ABI + stdatomic=-Denable_stdatomic=true else abicheck=skipABI # save time and disk space + stdatomic=-Denable_stdatomic=false fi export CC="$CCACHE $c" - build build-$c-$s $c $abicheck --default-library=$s + build build-$c-$s $c $abicheck $stdatomic --default-library=$s unset CC done done |
