]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: do not build with --optimization=1 with Clang 18195/head
authorLuca Boccassi <bluca@debian.org>
Sun, 10 Jan 2021 15:39:24 +0000 (15:39 +0000)
committerLuca Boccassi <bluca@debian.org>
Sun, 10 Jan 2021 21:16:38 +0000 (21:16 +0000)
.github/workflows/ubuntu-unit-tests.sh
travis-ci/managers/debian.sh

index 831eab97f8a44a27aae2c2516e4cbcc25b601f86..705b147b962467f06c083fe1996aff4834b50dc2 100755 (executable)
@@ -41,9 +41,8 @@ for phase in "${PHASES[@]}"; do
             if [[ "$phase" = "RUN_CLANG" ]]; then
                 export CC=clang
                 export CXX=clang++
-                MESON_ARGS=(--optimization=1)
             fi
-            meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dman=true "${MESON_ARGS[@]}" build
+            meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dman=true build
             ninja -C build -v
             meson test -C build --print-errorlogs
             ;;
index ad6306744cf069658a8fe96024bf860212926adf..39fbb3d65c6df3312009ea4e7099d9c2c073e1ec 100755 (executable)
@@ -62,9 +62,8 @@ for phase in "${PHASES[@]}"; do
         RUN|RUN_GCC|RUN_CLANG)
             if [[ "$phase" = "RUN_CLANG" ]]; then
                 ENV_VARS="-e CC=clang -e CXX=clang++"
-                MESON_ARGS="--optimization=1"
             fi
-            docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dsplit-usr=true -Dman=true $MESON_ARGS build
+            docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dsplit-usr=true -Dman=true build
             $DOCKER_EXEC ninja -v -C build
             docker exec -e "TRAVIS=$TRAVIS" -it $CONT_NAME ninja -C build test
             ;;