Re-enable spec/library for full CI runs.
[rbx.git] / rakelib / configuration.rb
blob5a3de6e7fa7945a67c69ce28fe86b785f4ae68fc
1 # configuration for Rubinius
3 DTRACE              = ENV['DTRACE']
4 ENGINE              = "rbx"
5 PREFIX              = ENV['PREFIX'] || "/usr/local"
6 RBX_RUBY_VERSION    = "1.8.6"
7 RBX_RUBY_PATCHLEVEL = "111"
8 LIBVER              = "0.9"
9 RBX_VERSION         = "#{LIBVER}.0"
10 HOST                = `./shotgun/config.guess`.chomp
11 BUILDREV            = `git rev-list --all | head -n1`.chomp
12 CC                  = ENV['CC'] || 'gcc'
13 BINPATH             = "#{PREFIX}/bin"
14 LIBPATH             = "#{PREFIX}/lib"
15 CODEPATH            = "#{PREFIX}/lib/rubinius/#{LIBVER}"
16 RBAPATH             = "#{PREFIX}/lib/rubinius/#{LIBVER}/runtime"
17 EXTPATH             = "#{PREFIX}/lib/rubinius/#{LIBVER}/#{HOST}"
19 case HOST
20 when /darwin9/ then
21   DARWIN         = 1
22   DISABLE_KQUEUE = 1
23 when /darwin/ then
24   DARWIN         = 1
25   DISABLE_KQUEUE = 1
26 else
27   DARWIN         = 0
28   DISABLE_KQUEUE = (HOST =~ /freebsd/ ? 1 : 0)
29 end