X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fshell%2Finstall-git-pistache.sh;h=0e37ec3da955b7949f4a42ad97f9ea2843d7b2f1;hb=115802933517a06512948190b614fbce18d5ed74;hp=6e95fbb94653fd18aae6f6b2f89807a04c76a864;hpb=73850eff5cca676b7d1763dfb39ed4740111f6b1;p=ci-management.git diff --git a/jjb/shell/install-git-pistache.sh b/jjb/shell/install-git-pistache.sh index 6e95fbb9..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 install rapidjson-dev libssl-dev -python3.8 -m pip install meson +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 \