diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-07 14:54:01 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-07 14:54:01 +0900 |
| commit | 70b7ebd72fce3e8e085a99df0b45012b72dd3a5a (patch) | |
| tree | 19d47958d13875319b59b0eeac9d923bd5a7b67a | |
| parent | ef8f475722410e8d36e5a8c44257f07d8afa2145 (diff) | |
| download | mruby-70b7ebd72fce3e8e085a99df0b45012b72dd3a5a.tar.gz mruby-70b7ebd72fce3e8e085a99df0b45012b72dd3a5a.zip | |
Add `host-f32` config to test `MRB_USE_FLOAT32`; ref #5329
| -rw-r--r-- | build_config/host-f32.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build_config/host-f32.rb b/build_config/host-f32.rb new file mode 100644 index 000000000..a449547ae --- /dev/null +++ b/build_config/host-f32.rb @@ -0,0 +1,14 @@ +MRuby::Build.new do |conf| + # load specific toolchain settings + toolchain :gcc + + # include the GEM box + conf.gembox 'default' + + conf.cc.defines << 'MRB_USE_FLOAT32' + + # Turn on `enable_debug` for better debugging + conf.enable_debug + conf.enable_test + conf.enable_bintest +end |
