diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-03-29 08:56:26 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-03-29 14:37:11 +0300 |
commit | 76160c1811e7372b4547ffe6441c6da2d21b0bfd (patch) | |
tree | deafcbda9113c77e0dcb33ce10d1bbd4919a2d47 /scripts | |
parent | a15785aa847d0d8c6f89ec93151bfe74b261a28f (diff) |
ci: add dpdk install directory to pkg-config path for arm64
Add CentOS and Rocky Linux default DPDK install directory to
PKG_CONFIG_PATH for native arm64 builds.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/build_arm64.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/ci/build_arm64.sh b/scripts/ci/build_arm64.sh index f340a0ca0..4cac830ae 100755 --- a/scripts/ci/build_arm64.sh +++ b/scripts/ci/build_arm64.sh @@ -11,6 +11,10 @@ if [ "$TARGET_ARCH" == "$BUILD_ARCH" ]; then if [ "${CC#clang}" != "${CC}" ] ; then export CXX="clang++" fi + + # Required by CentOS and Rocky Linux to find DPDK install + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig + else # Cross compilation if [ "${CC#clang}" != "${CC}" ] ; then |