mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
32200f1eb9
mruby allows to disable floating point numbers. We have add a build configuration to test mruby build without floating point numbers.
18 lines
323 B
Ruby
18 lines
323 B
Ruby
# Define cross build settings
|
|
MRuby::CrossBuild.new('no-float') do |conf|
|
|
conf.toolchain
|
|
|
|
# Add configuration
|
|
conf.compilers.each do |c|
|
|
c.defines << "MRB_NO_FLOAT"
|
|
end
|
|
|
|
conf.gem :core => "mruby-bin-mruby"
|
|
|
|
conf.test_runner.command = 'env'
|
|
|
|
conf.enable_debug
|
|
# conf.enable_bintest
|
|
conf.enable_test
|
|
end
|