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

mkdir build
cd build

#configure
BUILD_CONFIG=Release
echo `pwd`
cmake .. -G "Ninja" \
      -Wno-dev \
      -DCMAKE_BUILD_TYPE=$BUILD_CONFIG \
      -DCMAKE_PREFIX_PATH:PATH="${PREFIX}" \
      -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \
      -DCMAKE_INSTALL_RPATH:PATH="${PREFIX}/lib"

# compile & install
ninja install