aboutsummaryrefslogtreecommitdiff
path: root/extra/libclc/build
blob: 90e518cd4632f337b61d7340b452c51fe0bbd555 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

export DESTDIR="$1"

cmake -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLLVM_DIR=/usr/lib/cmake/llvm

cmake --build   build
cmake --install build