summaryrefslogtreecommitdiffhomepage
path: root/target
AgeCommit message (Collapse)Author
2020-10-19Revert `MRUBY_TARGET` mechanism; ref #5096KOBAYASHI Shuji
* In explanation of mruby, the expression `build_config.rb` is frequently used including official documents, so I think that it will not make sense if the file is no longer used. * The `MRUBY_TARGET` mechanism seems to have little improvement, so I don't think it should be changed to avoid unnecessary confusion. * `MRUBY_TARGET` and `MRuby.targets` represent somewhat different things, so using the same term "target" is a bit confusing. The mechanism that can be written short when using a file under `build_config` (renamed from `target`) directory remains (`build_config/${MRUBY_CONFIG}.rb` is used if the path specified in `MRUBY_CONFIG` doesn't exist).
2020-10-16Turn of `enable_debug` by default; ref #5096Yukihiro "Matz" Matsumoto
It was once turned off by #4045
2020-10-16Use `conf.enable_debug`; close #5095Yukihiro "Matz" Matsumoto
According to `doc/guides/compile.md`; thanks to @YunzheZJU
2020-10-12Add `bintest` to `host-m32` target.Yukihiro "Matz" Matsumoto
2020-10-12Remove `host-debug` internal target.Yukihiro "Matz" Matsumoto
Target `host-debug` to use `host` internal target with debugging configuration.
2020-10-12Remove `full-core` from `target/appveyor.rb`.Yukihiro "Matz" Matsumoto
2020-10-12Add `MRB_NAN_BOXING` for `boxing` target.Yukihiro "Matz" Matsumoto
2020-10-12Reorganize `Integer` system.Yukihiro "Matz" Matsumoto
- Integrate `Fixnum` and `Integer` - Remove `Integral` - `int / int -> int` - Replace `mrb_fixnum()` to `mrb_int()` - Replace `mrb_fixnum_value()` to `mrb_int_value()`. - Use `mrb_integer_p()` instead of `mrb_fixnum_p()`
2020-10-12Add default `host` target for cross compiling.Yukihiro "Matz" Matsumoto
You don't have to define explicit `host` build target any more.
2020-10-12Rename float configuration option names.Yukihiro "Matz" Matsumoto
- `MRB_WITHOUT_FLOAT` => `MRB_NO_FLOAT` - `MRB_USE_FLOAT` => `MRB_USE_FLOAT32` The former is to use `USE_XXX` naming convention. The latter is to make sure `float` is 32bit float and not floating point number in general.
2020-10-12Add `target/host-cxx.rb` to compile `mruby` with `cxx_abi`.Yukihiro "Matz" Matsumoto
2020-10-12Add `target/host-m32.rb` to compile mruby in 32bit mode.Yukihiro "Matz" Matsumoto
Tested only on Linux. You need to install 32bit relate libraries, e.g. libc6-dev-i386.
2020-10-12Change default boxing scheme from `MRB_NO_BOXING`.Yukihiro "Matz" Matsumoto
On 64bit platforms: `MRB_NAN_BOXING` On 32bit platforms: `MRB_WORD_BOXING` On debugging: `MRB_NO_BOXING`
2020-10-12Make sure `bintest` only works with `host` target.Yukihiro "Matz" Matsumoto
2020-10-12Run tests for `target/boxing.rb`.Yukihiro "Matz" Matsumoto
2020-10-12Enable method cache by default.Yukihiro "Matz" Matsumoto
Introduced `MRB_NO_METHOD_CACHE` which is inverse of `MRB_METHOD_CACHE` that should be enabled intestinally. In addition, the default cache is made bigger (128 -> 256).
2020-10-12Provide a new build target `host-gprof` that enables profiling.Yukihiro "Matz" Matsumoto
2020-10-12Avoid including `limits.h` and `stdint.h` before `mruby.h`.Yukihiro "Matz" Matsumoto
They are included from `mruby.h` anyway, and including it ahead can cause some errors regarding `INT32_MAX` etc. with C++ compiler.
2020-10-12Stop `CXX_ABI` test with VisualC++.Yukihiro "Matz" Matsumoto
This combination is too hard to support. Difference between C and C++ is too big with VisualC++. GCC and clang are OK.
2020-10-12Add `/std:c++latest` option to VC `CXX_ABI` build.Yukihiro "Matz" Matsumoto
2020-10-12Build process updated:Yukihiro "Matz" Matsumoto
You have to specify `TARGET` to specify a configuration, e.g. ``` rake TARGET=host-debug all test ``` When you port `mruby` to a new configuration: 1. copy an existing configuration under `target` directory 2. modify the new configuration file 3. build using the new configuration 4. send PR if you please
2020-10-12Revert part of "Start GitHub Actions" (4ce3997c)KOBAYASHI Shuji
Because some changes have been overridden.
2020-10-12Start GitHub Actions; close #4903Takeshi Watanabe
2020-10-12Remove unnecessary comments from `host-shared` target.Yukihiro "Matz" Matsumoto
2020-10-12Add a new target `clang-asan` to use LLVM's address sanitizer.Yukihiro "Matz" Matsumoto
2020-10-12Update `host*` targets to use `default.gembox`.Yukihiro "Matz" Matsumoto
And now `default.gembox` includes `mruby-socket` gem.
2020-10-12Add `host-shared.rb` to create shared mruby library.Yukihiro "Matz" Matsumoto
2020-10-12Update `host.rb` build script.Yukihiro "Matz" Matsumoto
2020-10-12Build process updated:Yukihiro "Matz" Matsumoto
You have to specify `TARGET` to specify a configuration, e.g. ``` rake TARGET=host-debug all test ``` When you port `mruby` to a new configuration: 1. copy an existing configuration under `target` directory 2. modify the new configuration file 3. build using the new configuration 4. send PR if you please