From: anhnghcl Date: Thu, 23 Jun 2022 11:20:48 +0000 (+0000) Subject: Fix Meson error X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=898fdd291e64a93d34a890de8e156b5fb3f6db29;p=ci-management.git Fix Meson error after install Meson, builder still cant find it Signed-off-by: anhnghcl Change-Id: I020e371cc44b7d34b72b999fba534039f9e4c3de --- diff --git a/jjb/shell/install-git-pistache.sh b/jjb/shell/install-git-pistache.sh index c8db9a85..0e37ec3d 100644 --- a/jjb/shell/install-git-pistache.sh +++ b/jjb/shell/install-git-pistache.sh @@ -24,19 +24,12 @@ echo "---> install-git-pistache.sh" set -eux echo "---> install Pistache dependencies..." -if type -P python3 > /dev/null 2>&1 -then - echo "Python3 is installed" -else - sudo apt-get install python3 -fi +export PATH=$PATH:~/.local/bin +export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu sudo apt-get update && sudo apt-get -y install rapidjson-dev libssl-dev python3 -m pip install meson -echo "---> install Pistache library.." - -LIBRARY_PATH=/usr/lib/x86_64-linux-gnu git clone https://github.com/pistacheio/pistache.git && cd pistache && meson setup build \ --buildtype=release \