diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2020-04-27 08:31:37 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2020-04-29 07:48:08 +0200 |
commit | 56bababcdfce097a4e08cc3d1de8d798e7999ce7 (patch) | |
tree | aef707d6abdcd86bc1520c668f7e2ee4533a638e /util/ci/build_prometheus_cpp.sh | |
parent | a36c9c3e930608386b983ea76158793fe9d622f6 (diff) | |
download | minetest-56bababcdfce097a4e08cc3d1de8d798e7999ce7.tar.gz minetest-56bababcdfce097a4e08cc3d1de8d798e7999ce7.tar.bz2 minetest-56bababcdfce097a4e08cc3d1de8d798e7999ce7.zip |
Add MetricsBackend with prometheus counter support
Diffstat (limited to 'util/ci/build_prometheus_cpp.sh')
-rwxr-xr-x | util/ci/build_prometheus_cpp.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util/ci/build_prometheus_cpp.sh b/util/ci/build_prometheus_cpp.sh new file mode 100755 index 000000000..edfd574cd --- /dev/null +++ b/util/ci/build_prometheus_cpp.sh @@ -0,0 +1,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 + |