On Fri, Sep 20, 2024 at 12:36 PM Mattias Rönnblom <mattias.ronnb...@ericsson.com> wrote: > > Add compilation tests for the use_cc_memcpy build option. > > Signed-off-by: Mattias Rönnblom <mattias.ronnb...@ericsson.com> > --- > .ci/linux-build.sh | 5 +++++ > .github/workflows/build.yml | 7 +++++++ > devtools/test-meson-builds.sh | 4 +++- > 3 files changed, 15 insertions(+), 1 deletion(-) > > diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh > index 15ed51e4c1..a873f83d09 100755 > --- a/.ci/linux-build.sh > +++ b/.ci/linux-build.sh > @@ -98,6 +98,11 @@ if [ "$STDATOMIC" = "true" ]; then > else > OPTS="$OPTS -Dcheck_includes=true" > fi > +if [ "$CCMEMCPY" = "true" ]; then > + OPTS="$OPTS -Duse_cc_memcpy=true" > +else > + OPTS="$OPTS -Duse_cc_memcpy=true" > +fi
^^ We only test the true value here. + OPTS="$OPTS -Duse_cc_memcpy=$CCMEMCPY" > if [ "$MINI" = "true" ]; then > OPTS="$OPTS -Denable_drivers=net/null" > OPTS="$OPTS -Ddisable_libs=*" -- David Marchand