summaryrefslogtreecommitdiff
path: root/util/ci/build_prometheus_cpp.sh
blob: edfd574cd6d5473b37350ab04e8826437fbd1b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash -eu

cd /tmp
git clone --recursive https://github.com/jupp0r/prometheus-cpp
mkdir prometheus-cpp/build
cd prometheus-cpp/build
cmake .. \
	-DCMAKE_INSTALL_PREFIX=/usr/local \
	-DCMAKE_BUILD_TYPE=Release \
	-DENABLE_TESTING=0
make -j2
sudo make install