forked from TheTorProject/tor-messenger-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrbm.conf
84 lines (76 loc) · 2.5 KB
/
rbm.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# vim: filetype=yaml sw=2
debug: 1
compress_tar: gz
output_dir: "out/[% project %]"
pkg_type: build
var:
tormessenger_version: '0.1.0b6'
build_id: '[% sha256(c("var/build_id_txt")).substr(0, 6) %]'
build_id_txt: |
[% c("version") %]
[% IF c("git_hash"); GET c("abbrev"); END; %]
[% IF c("remote_docker") -%]
[% c("distribution") %]
[% END -%]
input_files: [% c("input_files_id") %]
build:
[% c("build", { filename => 'f', output_dir => '/out' }) %]
input_files_list: |
[% FOREACH file IN c("input_files_by_name").keys.sort -%]
[% c("input_files_by_name/" _ file) %]
[% END -%]
targets:
notarget: linux-x86_64
noint:
debug: 0
linux-x86_64:
distribution: Ubuntu-10.04
arch: x86_64
var:
linux: 1
osname: linux-x86_64
compiler: gcc
linux-i686:
distribution: Ubuntu-10.04
arch: i686
var:
linux: 1
osname: linux-i686
configure_opt: '--host=i686-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32'
compiler: gcc
windows-i686:
distribution: Ubuntu-14.10
arch: i686
var:
windows: 1
osname: windows-i686
configure_opt: '--host=i686-w64-mingw32 CFLAGS="[% c("var/CFLAGS") %]" LDFLAGS="[% c("var/LDFLAGS") %]"'
CFLAGS: '-specs=/var/tmp/dist/mingw-w64/msvcr100.spec -mwindows -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -fno-strict-overflow -Wno-missing-field-initializers -Wformat -Wformat-security'
LDFLAGS: '-specs=/var/tmp/dist/mingw-w64/msvcr100.spec -mwindows -Wl,--dynamicbase -Wl,--nxcompat -Wl,--enable-reloc-section -lssp -L$gcclibs'
compiler: mingw-w64
osx-x86_64:
distribution: Ubuntu-12.04
arch: x86_64
var:
osx: 1
osname: osx-x86_64
compiler: 'macosx-toolchain'
configure_opt: '--host=x86_64-apple-darwin10 CC="x86_64-apple-darwin10-clang $CFLAGS" CXX="x86_64-apple-darwin10-clang++ $CXXFLAGS"'
tor-messenger:
var:
tor-messenger: 1
tor_socks_port: 9152
tor_control_port: 9153
tor-mail:
var:
tor-mail: 1
tor_socks_port: 9154
tor_control_port: 9155
# The no_build_id target can be useful if you want to quickly display
# a build template or other option but don't want to spend time to
# compute the various build ids
no_build_id:
var:
build_id: 1
docker_image: '[% pc("docker-image", "docker_save_image") %]'
hg_opt: '--config extensions.bundleclone=[% shell_quote(c("basedir") _ "/tools/version-control-tools/hgext/bundleclone/__init__.py") %]'