[PATCH] ci: remove redundant drivers enabling
Bruce Richardson
bruce.richardson at intel.com
Mon Feb 28 10:46:25 CET 2022
On Sat, Feb 26, 2022 at 07:36:51PM +0100, Thomas Monjalon wrote:
> No need to explicitly enable drivers bus/vdev and mempool/ring.
>
> bus/vdev is always enabled since
> commit 2e33309ebe03 ("config: enable/disable drivers in Arm builds")
>
> mempool/ring is always enabled since
> commit 81c2337e044d ("build: make ring mempool driver mandatory")
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
One comment inline below.
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> .ci/linux-build.sh | 2 +-
> devtools/test-meson-builds.sh | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
> index 67d68535e0..77c0d1976b 100755
> --- a/.ci/linux-build.sh
> +++ b/.ci/linux-build.sh
> @@ -89,7 +89,7 @@ OPTS="$OPTS --default-library=$DEF_LIB"
> OPTS="$OPTS --buildtype=debugoptimized"
> OPTS="$OPTS -Dcheck_includes=true"
> if [ "$MINI" = "true" ]; then
> - OPTS="$OPTS -Denable_drivers=bus/vdev,mempool/ring,net/null"
> + OPTS="$OPTS -Denable_drivers=net/null"
> OPTS="$OPTS -Ddisable_libs=*"
> fi
> meson build --werror $OPTS
> diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh
> index c07fd16fdc..a653b253cb 100755
> --- a/devtools/test-meson-builds.sh
> +++ b/devtools/test-meson-builds.sh
> @@ -221,7 +221,7 @@ for c in gcc clang ; do
> done
>
> build build-mini cc skipABI $use_shared -Ddisable_libs=* \
> - -Denable_drivers=bus/vdev,mempool/ring,net/null
> + -Denable_drivers=net/null
Do we even need this enabled for a mini-build. Would disable_drivers=*/*
not work better to truly have a minimal build?
>
> # test compilation with minimal x86 instruction set
> # Set the install path for libraries to "lib" explicitly to prevent problems
> --
> 2.34.1
>
More information about the dev
mailing list