blob: 8337afd473eafaacb1e33724287dee2d86f2fb3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/bash
#
# bolt.sh - Compile with the fast bolt compiler
#
[[ -n "$LIBMAKEPKG_BUILDENV_BOLT_SH" ]] && return
LIBMAKEPKG_BUILDENV_BOLT_SH=1
LIBRARY=${LIBRARY:-'/usr/share/makepkg'}
source "$LIBRARY/util/option.sh"
build_options+=('bolt')
buildenv_functions+=('buildenv_bolt')
buildenv_bolt() {
if
check_buildoption "bolt" "y"; then
export PATH="/home/ptr1337/Documents/llvm/bin:$PATH"
fi
}
|