From 70b7ebd72fce3e8e085a99df0b45012b72dd3a5a Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sun, 7 Feb 2021 14:54:01 +0900 Subject: Add `host-f32` config to test `MRB_USE_FLOAT32`; ref #5329 --- build_config/host-f32.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 build_config/host-f32.rb 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 -- cgit v1.2.3