mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-09 02:21:36 +00:00
16 lines
262 B
Bash
Executable file
16 lines
262 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# exit on error
|
|
# echo commands
|
|
set -ev
|
|
|
|
REPO_DIR=$1
|
|
|
|
"$(dirname -- "$0")/_clone_or_pull.sh" "https://gitlab.com/znixian/OpenOVR.git" "$REPO_DIR"
|
|
|
|
cd "$REPO_DIR"
|
|
mkdir -p build
|
|
cd build
|
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
make clean
|
|
make -j$(nproc)
|