summaryrefslogtreecommitdiffhomepage
path: root/tasks
AgeCommit message (Collapse)Author
2020-10-12Remove compiler feature detectionRory OConnell
2020-10-12Add call to malloc_trim on a full GCRory OConnell
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-12Removed unnecessary dependency from `all`.Yukihiro "Matz" Matsumoto
`libmruby.flags.mak` is only required from `mruby-config` gem.
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-08-04Improve `rake benchmark`dearblue
- Use POSIX format instead of GNU extension for `time` command. For example FreeBSD's `time(1)` does not have GNU extensions available. - Sort `benchmark/bm_*.rb`. This is because the order of the bar graph cannot be uniquely determined depending on the result of `Dir.glob`.
2020-07-14Fix `${build_dir}/mrbgems/gem_init.c` generation condition; ref #5010KOBAYASHI Shuji
The `${build_dir}/mrbgems/gem_init.c` generation condition has been changed at #5010, but it is somewhat insufficient, for example, there was a problem with `rake && rake test`, which was also regenerated in `rake test`.
2020-05-26Detect newly added mrbgems when re-creating gem_init.cKondo Uchio
2020-04-01fix for quoting visualcppdsisnero
2020-04-01build when directories and files have spacesDominic Sisneros
Modified the build to quote filenames so that it builds when files have spaces
2020-03-08Increase flexibility of CrossBuildReckordp
2020-01-15Remove broken `MRB_INT16` configuration option.Yukihiro "Matz" Matsumoto
2019-12-30Use `rake` instead of `minirake` in `.gitlab-ci.yml`KOBAYASHI Shuji
There was an error in the `.gitlab-ci.yml` generation script, so it was also fixed.
2019-12-27Use Rake DSL instead of commands of `FileUtils`KOBAYASHI Shuji
- Respect `--verbose(-v)` and `--dry-run(-n)` options. - Silence warnings to keyword arguments on Ruby 2.7.
2019-12-23Use GNU extension in C++ for cygwintake-cheeze
2019-12-21Fix "undefined method `Pathname'"; fix #4895KOBAYASHI Shuji
2019-12-21Abandon `minirake`. Use `rake` for compilation; fix #4884Yukihiro "Matz" Matsumoto
2019-10-04Remove unused code to old Visual Studio in `tasks/toolchains/visualcpp.rake`KOBAYASHI Shuji
2019-09-13Revert part of "Refine `tasks/toolchains/(gcc|clang).rake`" (07c6b7f0)KOBAYASHI Shuji
`-Wzero-length-array` is not a mandatory option, so the original is better.
2019-09-13Fix warnings for invalid C++ option with `enable_cxx_abi`; ref #3618, #4703KOBAYASHI Shuji
2019-09-12Refine `tasks/toolchains/(gcc|clang).rake`KOBAYASHI Shuji
- Make sure to specify `-std=gnu99` for C compiler flag. - Make sure to specify `-Wzero-length-array` for C/C++ compiler flag (Clang). - Extract similar codes.
2019-08-26fix lots of warnings and make logo not so bigDavid Siaw
2019-08-26change doc directory and reduce warningsDavid Siaw
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
The binary sizes (gems are only `mruby-bin-mruby`) are reduced slightly in my environment than before the introduction of new specifiers/modifiers (5116789a) with this change. ------------+-------------------+-------------------+-------- BINARY | BEFORE (5116789a) | AFTER (This PR) | RATIO ------------+-------------------+-------------------+-------- mruby | 593416 bytes | 593208 bytes | -0.04% libmruby.a | 769048 bytes | 767264 bytes | -0.23% ------------+-------------------+-------------------+-------- BTW, I accidentally changed `tasks/toolchains/visualcpp.rake` at #4613, so I put it back.
2019-08-03Change second argument to `%l` of `mrb_vformat()` to `size_t` from `mrb_int`KOBAYASHI Shuji
- `size_t` is more commonly used. - `len` argument of `mrb_str_new()` is `size_t`. NOTE: The test for `%l` is temporarily disabled because adding a new type to `mrbgems/mruby-test/vformat.c` causes an error (memory error?) on Visual Studio 2017 in AppVeyor.
2019-04-16Avoid potential zero size array declaration; fix #4382KOBAYASHI Shuji
2019-03-06Refer also CXX and CC env vars as linker command in gcc and clang toolchainKOBAYASHI Shuji
ref #4292
2019-02-23Remove explicit set of `DISABLE_GEMS`KOBAYASHI Shuji
`DISABLE_GEMS` is automatically set (or unset); ref #790
2018-12-22Append cflags for undefined macrodearblue
2018-10-29Rename libmruby stuff to avoid confusiontake-cheeze
2018-09-07Clear terminated spacedearblue
2018-09-02Reverse gems finaldearblue
2018-07-04Add ~/Android/Sdk/ndk-bundle as default NDK homeduangsuse
2018-06-20Add forgotten `mkdir_p`s.take-cheeze
2017-12-24Removed the Visual Studio Version Check because it does notLothar Scholz
work with internationalized versions of Visual Studio. It will capture the returned string in the local codepage encoding and make ruby exits with an invalid UTF8 error message. Also "Version" might be translated and not appear in the output.
2017-12-11Add `enable_sanitizer` method for clang and gcc.Yukihiro "Matz" Matsumoto
The patch is created by @take_cheese in #3872
2017-10-16Fix a compile error on zero mrbgem case.Yukihiro "Matz" Matsumoto
2017-07-29Merge branch 'move-task-class-definitions' of ↵Yukihiro "Matz" Matsumoto
https://github.com/udzura/mruby into udzura-move-task-class-definitions
2017-07-19Fixed setting custom rbfiles in gemspecChristopher Aue
2017-06-28Remove redundant use of `Object#to_s` in interpolation.Yukihiro "Matz" Matsumoto
2017-04-22Add --libmruby-path support to mruby-bin-mruby-config.Yuji Yamano
2017-04-04Move class/module definitions to normal .rb filesUchio KONDO
2017-03-02Reorganize C++ exceptions; ref #3470Yukihiro "Matz" Matsumoto
There are 3 levels of C++ exception handling: * default - no C++ exception (use setjmp/longjmp) * enable_cxx_exception (use C++ exceptions with C ABI) * enable_cxx_abi (use C++ ABI including exceptions)
2017-02-28Compile C files by C compiler when C++ files mixed.Yukihiro "Matz" Matsumoto
ref #3267 #3470 By this commit, mruby do not use C++ ABI mode unless you specify explicitly. It compiles C files by C compilers, with C++ exception enabled when it sees C++ files in your configured mrbgems. I haven't tried visualcpp, so please submit an issue if you see any problem with C++ gems on Windows.
2017-02-27Merge pull request #3458 from dabroz/gitlab-ciYukihiro "Matz" Matsumoto
GitLab.com tests for multiple configurations
2017-02-16Android toolchain separated target architecture compile flags (ctarget) from ↵Felix Jones
shared compile flags (cflags). Added support for custom mfpu and float-abi switches for the armeabi-v7a target.
2017-02-16Gitlab tests for multiple configurationsTomasz Dabrowski
Gitlab testing is introduced, using GitLab CI, to test many different configurations: - 32/64 bit architecture - float/double - 16/32/64 bit int size - none/NaN/word boxing - ASCII/UTF8 using various compilers: - gcc-4.7 - gcc-4.8 - gcc-4.9 - gcc-5 - gcc-6 - clang-3.5 - clang-3.6 - clang-3.7 - clang-3.8 - clang-3.9
2017-02-15Modify default cflags.crimsonwoods
2017-02-15Add '-Wl,--fix-cortex-a8' linker option for 'armeabi-v7a' architecture.crimsonwoods
2017-02-15Set default linker 'flags' and 'flags_before_libraries'.crimsonwoods