File: macos.sh

package info (click to toggle)
roc-toolkit 0.4.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,684 kB
  • sloc: cpp: 102,987; ansic: 8,959; python: 6,125; sh: 942; makefile: 16; javascript: 9
file content (17 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

set -euxo pipefail

export PATH="$ANDROID_HOME/ndk/${NDK_VERSION}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH"

brew install scons ragel gengetopt

scons -Q \
      --enable-werror \
      --enable-tests \
      --disable-soversion \
      --disable-tools \
      --disable-openssl \
      --build-3rdparty=libuv,openfec,speexdsp,cpputest \
      --compiler=clang \
      --host="$TOOLCHAIN"