ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
20 lines
490 B
Ruby
20 lines
490 B
Ruby
boxings = %w[no word nan]
|
|
bits = [64, 32]
|
|
ints = [64, 32]
|
|
|
|
boxings.product(bits, ints) do |boxing, bit, int|
|
|
MRuby::Build.new("boxing-#{boxing}-m#{bit}-i#{int}") do |conf|
|
|
conf.toolchain :gcc
|
|
conf.gembox 'full-core'
|
|
conf.compilers.each do |c|
|
|
c.defines << "MRB_#{boxing.upcase}_BOXING"
|
|
c.defines << "MRB_INT#{int}"
|
|
c.flags << "-m#{bit}"
|
|
end
|
|
conf.linker.flags << "-m#{bit}"
|
|
conf.enable_debug
|
|
conf.enable_test
|
|
conf.enable_bintest
|
|
end
|
|
end
|