summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-07 14:54:01 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-02-07 14:54:01 +0900
commit70b7ebd72fce3e8e085a99df0b45012b72dd3a5a (patch)
tree19d47958d13875319b59b0eeac9d923bd5a7b67a
parentef8f475722410e8d36e5a8c44257f07d8afa2145 (diff)
downloadmruby-70b7ebd72fce3e8e085a99df0b45012b72dd3a5a.tar.gz
mruby-70b7ebd72fce3e8e085a99df0b45012b72dd3a5a.zip
Add `host-f32` config to test `MRB_USE_FLOAT32`; ref #5329
-rw-r--r--build_config/host-f32.rb14
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