diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-26 07:25:21 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-26 07:25:21 +0900 |
| commit | 8cd51578fbf77accf2146139972ebdb5e445c7de (patch) | |
| tree | 713f6ebda685929269bbe65782f11ee7a050f599 /build_config/no-float.rb | |
| parent | 767577efb1c98ae73c9803a5b049a3d4f1e652f7 (diff) | |
| download | mruby-8cd51578fbf77accf2146139972ebdb5e445c7de.tar.gz mruby-8cd51578fbf77accf2146139972ebdb5e445c7de.zip | |
build_config/no-float.rb: unify two build configurations; #5421
- stop cross building
- add more gems for tests
- add `bintest`
Diffstat (limited to 'build_config/no-float.rb')
| -rw-r--r-- | build_config/no-float.rb | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/build_config/no-float.rb b/build_config/no-float.rb index e0738cac4..977bf4e12 100644 --- a/build_config/no-float.rb +++ b/build_config/no-float.rb @@ -1,17 +1,22 @@ -# Define cross build settings -MRuby::CrossBuild.new('no-float') do |conf| - conf.toolchain +MRuby::Build.new do |conf| + # load specific toolchain settings + toolchain :gcc + + # include the GEM box + conf.gembox "stdlib" + conf.gembox "stdlib-ext" + conf.gembox "stdlib-io" + conf.gembox "metaprog" + + conf.gem :core => 'mruby-bin-mruby' + conf.gem :core => 'mruby-bin-mirb' # 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 + conf.enable_bintest end |
