From 8b169a24627ab012717fb05aeab17a04c046b7ab Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Thu, 23 Mar 2023 14:43:15 +0200 Subject: ci: add dpdk install directory to pkg-config path Add CentOS and Rocky Linux default DPDK install directory to PKG_CONFIG_PATH. Signed-off-by: Matias Elo Reviewed-by: Petri Savolainen --- scripts/ci/build_x86_64.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/ci/build_x86_64.sh b/scripts/ci/build_x86_64.sh index cf94b88e5..309e58b50 100755 --- a/scripts/ci/build_x86_64.sh +++ b/scripts/ci/build_x86_64.sh @@ -6,4 +6,7 @@ if [ "${CC#clang}" != "${CC}" ] ; then sed -i 's/ODP_CHECK_CFLAG(\[\-Wcast-align\])/#ODP_CHECK_CFLAG(\[\-Wcast-align\])/g' /odp/configure.ac fi +# Required by CentOS and Rocky Linux to find DPDK install +export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig + exec "$(dirname "$0")"/build.sh -- cgit v1.2.3