-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
37 lines (31 loc) · 1.78 KB
/
init.rb
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
# Define the github handler
require 'autoproj/git_server_configuration'
# Comment this line if you want Autoproj to import the overall shell
# environment. The default is to reset all build-related environment variables,
# forcing the build configuration to set them explicitly, to improve
# repeatability
Autoproj.isolate_environment
# Display CMake/GCC build messages
Autobuild::CMake.show_make_messages = true
# Install each package in a separate directory of install/
#
# This makes the dependencies stricter, so builds that were fine without this
# option might fail with it. However, it is also cleaner (allows to remove
# obsolete package byproducts easily) and allows to turn the
# delete_obsolete_files_in_prefix CMake option, in which autoproj's cmake
# handler will remove installed files that are not part of the package anymore.
Autoproj.config.separate_prefixes = true
Autobuild::CMake.delete_obsolete_files_in_prefix = Autoproj.config.separate_prefixes?
Autoproj.gitorious_server_configuration('SPACEGIT', 'git.hb.dfki.de', :fallback_to_http => false, :default => 'ssh,ssh', :http_url => 'https://git.hb.dfki.de')
Autoproj.gitorious_server_configuration('DFKIGIT', 'git.hb.dfki.de', :fallback_to_http => false, :default => 'ssh,ssh', :http_url => 'https://git.hb.dfki.de')
# mars uses QXmlStream to parse xml, which in turn seems (?) to have problems
# with the decimal separator. so mars has to be consistently executed inside a
# "LC_NUMERIC=C" environment because all our xml-files use a "." as decimal
# separator.
#
# so we do the least invasive thing and modify the generall rock-env.sh to
# change the LC_NUMERIC to something which mars needs. this allows starting
# mars as usual from anywhere inside a rock-shell
#
Autobuild.env_set 'LC_NUMERIC','C'
Autobuild.programs['pip'] = '/usr/bin/pip3'