diff options
| author | Bruce Richardson <[email protected]> | 2023-10-27 12:01:11 +0100 |
|---|---|---|
| committer | David Marchand <[email protected]> | 2023-11-10 15:17:05 +0100 |
| commit | 8136fd1faa22fc39935161ce760cdf800ec8895e (patch) | |
| tree | 4d9f523c3e27fde9805a235a0e1169c317eda51e /devtools | |
| parent | 37666691e9ed927e98e89c2866a5e8a5872f1062 (diff) | |
ci: allow use of DPDK tools when building examples
To allow use of the DPDK python scripts (installed in $(prefix)/bin)
from within the makefiles of our examples, we need to export the PATH
variable with the location of our installed scripts from within our CI
scripts. This matches what is already done for other paths e.g. the
PKG_CONFIG_PATH variable.
Signed-off-by: Bruce Richardson <[email protected]>
Reviewed-by: Aaron Conole <[email protected]>
Signed-off-by: David Marchand <[email protected]>
Diffstat (limited to 'devtools')
| -rwxr-xr-x | devtools/test-meson-builds.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 5c07063cbd..d71bb1ded0 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -303,6 +303,7 @@ pc_file=$(find $DESTDIR -name libdpdk.pc) export PKG_CONFIG_PATH=$(dirname $pc_file):$PKG_CONFIG_PATH libdir=$(dirname $(find $DESTDIR -name librte_eal.so)) export LD_LIBRARY_PATH=$libdir:$LD_LIBRARY_PATH +export PATH=$(dirname $(find $DESTDIR -name dpdk-devbind.py)):$PATH examples=${DPDK_BUILD_TEST_EXAMPLES:-"cmdline helloworld l2fwd l3fwd skeleton timer"} if [ "$examples" = 'all' ]; then examples=$(find $build_path/examples -maxdepth 1 -type f -name "dpdk-*" | |
