summaryrefslogtreecommitdiffstats
path: root/build/setup/build/ccpi.sh
blob: 65dc0ef919d4702b9dcde2809294d4261e56d2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/env bash

real_script=$(readlink "$0")
[ -z "$real_script" ] && real_script="$0"
script_path=$(dirname "$real_script")

set -o errexit

# Do both (as framework's cmake install python files in invalid location)
[ -f CMakeLists.txt ] && bash "$script_path/cmake.sh"
[ -d Wrappers/Python ] && bash "$script_path/python.sh"

# Hack for CCPi-regularization-toolkit
[ -d src/Core ] && make -C src/Core install

exit 0