build.sh 465 Bytes
Newer Older
Milos CERNAK's avatar
Milos CERNAK committed
1
2
3
4
#! /usr/bin/env bash

pushd src

Saeed SARFJOO's avatar
Saeed SARFJOO committed
5
6
# ./configure --shared --mathlib=OPENBLAS --openblas-root=${PREFIX} --fst-root=${PREFIX} --fst-version=1.6.7 --speex-root=${PREFIX} --use-cuda=no
./configure --shared --mathlib=MKL --mkl-root=${PREFIX} --mkl-libdir=${PREFIX}/lib --fst-root=${PREFIX} --fst-version=1.6.7 --speex-root=${PREFIX} --use-cuda=no
Milos CERNAK's avatar
Milos CERNAK committed
7
8
9
10
11
12
make -j ${CPU_COUNT}

# Move binaries
find . -type f -perm /u=x,g=x,o=x -regex '.*bin/.*' -exec cp {} ${PREFIX}/bin \;

popd