Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Chore: Automation adds aiml-fw/aihp/tps/kserve-adapter config files"
[ci-management.git]
/
jjb
/
shell
/
install-git-pistache.sh
diff --git
a/jjb/shell/install-git-pistache.sh
b/jjb/shell/install-git-pistache.sh
old mode 100644
(file)
new mode 100755
(executable)
index
c8db9a8
..
07c7746
--- 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..."
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
-
-sudo apt-get update && sudo apt-get -y install rapidjson-dev libssl-dev
-python3 -m pip install meson
+export PATH=$PATH:~/.local/bin
+export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
-echo "---> install Pistache library.."
+sudo apt-get update && sudo apt-get -y install rapidjson-dev libssl-dev ninja-build
+python3 -m pip install meson
-LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
git clone https://github.com/pistacheio/pistache.git && cd pistache && meson setup build \
--buildtype=release \
git clone https://github.com/pistacheio/pistache.git && cd pistache && meson setup build \
--buildtype=release \
@@
-44,7
+37,7
@@
git clone https://github.com/pistacheio/pistache.git && cd pistache && meson set
-DPISTACHE_BUILD_EXAMPLES=false \
-DPISTACHE_BUILD_TESTS=false \
-DPISTACHE_BUILD_DOCS=false \
-DPISTACHE_BUILD_EXAMPLES=false \
-DPISTACHE_BUILD_TESTS=false \
-DPISTACHE_BUILD_DOCS=false \
- --prefix="$PWD/prefix" \
+ --prefix="$PWD/prefix"
&&
\
meson install -C build && \
sudo cp -rf prefix/include/pistache /usr/include/pistache && \
sudo cp prefix/lib/x86_64-linux-gnu/libpistache.so.0.0.3 $LIBRARY_PATH && \
meson install -C build && \
sudo cp -rf prefix/include/pistache /usr/include/pistache && \
sudo cp prefix/lib/x86_64-linux-gnu/libpistache.so.0.0.3 $LIBRARY_PATH && \