-
Notifications
You must be signed in to change notification settings - Fork 1
/
birb.conf
56 lines (45 loc) · 1.87 KB
/
birb.conf
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/sh
# Developer mode
# If this variable is set to true, birb will use the dev branch
# instead of the more stable main branch when fetching updates
export BIRB_DEV_MODE=false
# NOTE: These custom compiler flags only apply to the 64bit libraries
# Custom CFLAGS to use in addition to package specific CFLAGS
export CUSTOM_CFLAGS="-O2 -pipe"
# Custom CXXFLAGS to use in addition to package specific CXXFLAGS
export CUSTOM_CXXFLAGS="$CUSTOM_CFLAGS"
# Compile packages with LTO enabled if possible
# This can increase the compiling times significantly,
# but can have some performance benefits
#
# Possible values: yes/no
export ENABLE_LTO=yes
# Control arguments passed to make, for example
# how many CPU threads should be used for compiling
# More CPU threads means faster compiling times.
# However, the system might become unresponsive during compiling.
#
# You also need to be mindful about memory usage with
# large packages
#
# Possible values:
# $(nproc): utilize as many threads as possible
# <num>: use a customized about of CPU threads (ex. -j4)
export BUILD_JOBS="$(nproc)"
# This variable is similar to the Gentoo use flags in its functionality
# Certain "use flags" enable functionality when compiling packages
#
# You can use birb -q to figure out what use packages there are available
# for some package
#
# Packages store their useflags in a file simply called "use"
export USE_FLAGS="abi_x86_32"
# Compile packages with 32bit libraries whenever available
# Having this option immediately doubles the compiling time for
# packages that have an option for building 32bit libraries.
# This can be especially noticeable with packages like llvm etc.
#
# You can toggle this option on and off if you dare, but know that
# some libraries can't build their 32bit libraries unless all of
# the dependencies are also built with 32bit support.
export ENABLE_32BIT_PACKAGES=no