-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·43 lines (35 loc) · 1 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env bash
if [ "$(uname)" == "Darwin" ]; then
NPROC=$(sysctl -n hw.physicalcpu)
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
NPROC=$(nproc)
fi
python3 -m venv venv
. venv/bin/activate
python -m pip install -r requirements.txt
# git clone git@github.com:farfromrefug/rio-rgbify.git
cd rio-rgbify
python -m pip install -r requirements.txt
python -m pip install -e .
cd ..
# git clone git@github.com:farfromrefug/tippecanoe.git
cd tippecanoe
make -j
# make install
cd ..
# git clone --recurse-submodules -j8 git@github.com:farfromrefug/planetiler.git
cd planetiler
./scripts/build.sh
cd ..
# git clone --recurse-submodules git@github.com:kevinkreiser/prime_server.git
cd prime_server
./autogen.sh
./configure
make test -j$NPROC
cd ..
# git clone --recurse-submodules https://github.com/valhalla/valhalla.git
cd valhalla
# will build to ./build
cmake -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_BENCHMARKS=Off -DENABLE_PYTHON_BINDINGS=Off -DENABLE_TESTS=Off
make -C build -j$NPROC
cd ..