mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
14 lines
266 B
Bash
14 lines
266 B
Bash
|
#! /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
|
||
|
|