1
0
Fork 0
mirror of https://github.com/dragonfireclient/dragonfireclient.git synced 2024-12-04 07:54:00 -05:00
dragonfireclient/util/ci/build_prometheus_cpp.sh
2022-04-08 14:55:21 +01:00

13 lines
273 B
Bash
Executable file

#! /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 -j$(nproc)
sudo make install