summaryrefslogtreecommitdiffhomepage
path: root/tasks
AgeCommit message (Collapse)Author
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
2017-02-13Separate compilers setup from config setuppalkan
Fixes #3418.
2017-01-09Put package's libs flag after %{objs}Sorah Fukumori
In case LDFLAG contains "-Wl,--as-needed" or "--as-needed" is enabled by default, "-l" flags should appear after objs specifiction.
2017-01-05Removed ununnecessary escape character '\' for MRUBY_XXX in libmruby.flags.makJun Takeda
2016-12-11Support pkg-config in mrbgem.rakeKouhei Sutou
Example usage: MRuby::Gem::Specification.new('mruby-onig-regexp') do |spec| # ... if spec.search_package('onigmo') # Use onigmo.h when onigmo.pc exist. spec.cc.defines += ["HAVE_ONIGMO_H"] elsif spec.search_package('oniguruma') # Use oniguruma.h when oniguruma.pc exist. spec.cc.defines += ["HAVE_ONIGURUMA_H"] else # Use bundled Onigmo otherwise. # ... end end
2016-11-24Fixed language standard mode for GCC (cannot use gnu99 with C++, c++03 used ↵Tomasz Dąbrowski
instead)
2016-11-24Fix for compiling mruby as C++ on Visual Studio toolchainTomasz Dąbrowski
2016-11-24Different method of compiling C as C++ (-x c++)Tomasz Dąbrowski
2016-10-08Removed GCC TODOFelix Jones
2016-10-08Android GCC support re-addedFelix Jones
2016-10-08Fixed mips and mips64: GCC Toolchain now points to GCC.Felix Jones
2016-10-07Android task: NDK default search paths now favour ndk-bundle. Added macOS ↵Felix Jones
NDK search paths.