-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
bootstrap-cardinal.sh
executable file
·41 lines (29 loc) · 1.12 KB
/
bootstrap-cardinal.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
set -e
cd $(dirname ${0})
PAWPAW_ROOT="${PWD}"
# ---------------------------------------------------------------------------------------------------------------------
# check target
target="${1}"
if [ -z "${target}" ]; then
echo "usage: ${0} <target>"
exit 1
fi
# ---------------------------------------------------------------------------------------------------------------------
# LTO is unwanted for Cardinal builds, make sure it is off
export PAWPAW_SKIP_LTO=1
# ---------------------------------------------------------------------------------------------------------------------
# run bootstrap dependencies
export PAWPAW_FAST_MATH=1
export PAWPAW_SKIP_GLIB=1
export PAWPAW_SKIP_LV2=1
export PAWPAW_SKIP_OPENSSL=1
export PAWPAW_SKIP_SAMPLERATE=1
# we just build the whole thing on Windows
if [ "${target}" != "win32" ] && [ "${target}" != "win64" ]; then
export PAWPAW_SKIP_QT=1
fi
./bootstrap-common.sh "${target}"
./bootstrap-plugins.sh "${target}"
./bootstrap-carla.sh "${target}"
# ---------------------------------------------------------------------------------------------------------------------