mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			273 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 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
 | 
						|
 |