From: Juraj Linkeš Date: Wed, 17 May 2023 10:09:59 +0000 (+0200) Subject: fix(dpdk): update meson setup command X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=8acd67e97d2c6553e699c4e161e408ec3f53c32e fix(dpdk): update meson setup command The current invocation is deprecated: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Change-Id: Ieffa7f295e4ea7634ee5e8f77e373c5e9314b3cf Signed-off-by: Juraj Linkeš --- diff --git a/resources/libraries/bash/function/dpdk.sh b/resources/libraries/bash/function/dpdk.sh index d579cfc444..86abb84a02 100644 --- a/resources/libraries/bash/function/dpdk.sh +++ b/resources/libraries/bash/function/dpdk.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2022 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -97,7 +97,7 @@ function dpdk_compile () { meson_options="${meson_options} -Dplatform=generic" # Compile using Meson and Ninja. - meson ${meson_options} build || { + meson setup ${meson_options} build || { die "Failed to compile DPDK!" } ninja -C build || die "Failed to compile DPDK!"