summaryrefslogtreecommitdiffhomepage
path: root/tasks
AgeCommit message (Collapse)Author
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.
2016-09-28Removed trailing spacesNobuyoshi Nakada
2016-09-15Fixed regex order falling early in arch cases, causing x86_64 and arm-v7a to ↵Felix Jones
use wrong target.
2016-09-15Re-written android.rake task for latest Android NDK clang. Currently loses ↵Felix Jones
support for GCC and mips, mips64. Addresses issue #3208
2016-09-02In mrbgem_spec.rake, added support for @mrblib_dir @objs_dir, so that a gem ↵Paolo Bosetti
can have custom source directory names
2016-04-16Avoid Syntax Error on CRuby v1.8ksss
CRuby v1.8 dose not support named capture
2016-03-22deprecate Visual Studio 2010 and 2012cremno
2016-03-22remove unnecessary array/eachcremno
2016-03-13Reduce compiler include_pathswanabe
2016-02-11Add toolchain support for OpenWRTDaniel Bovensiepen
2016-01-13Fix build error in ruby 1.8.asatou
Apply change of #2978 to :clang, :gcc, :visualcpp toolchains
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-16This patch changes git gem behavior to never pull gems unless specified.Zachary Scott
Since mgem's function almost the same as git gems, but you can see they already avoid pulling from source after the gem has already been cloned. You can see from the `load_special_path_gem` method found in the file `mruby_build_gem.rake`, or extracted here: ```ruby if File.exist? mgem_list_dir git.run_pull mgem_list_dir, mgem_list_url if $pull_gems else FileUtils.mkdir_p mgem_list_dir git.run_clone mgem_list_dir, mgem_list_url, "--depth 1" end ``` Also, later in this same method; mgem will set the `git` params. Doing this will trigger the following block: ```ruby if File.exist?(gemdir) if $pull_gems git.run_pull gemdir, url else gemdir end else # ... clone end ``` You can see here, this checks if `$pull_gems` is enabled before pulling. Lastly, the final condition for this method is here: ```ruby if params[:checksum_hash] # Jump to the specified commit git.run_checkout gemdir, params[:checksum_hash] else # Jump to the top of the branch git.run_checkout gemdir, branch if $pull_gems end ``` What we changed was the `else` condition of this block to follow the same behavior as the aforementioned code. In doing so, we can avoid two things: * Excess `clone` calls can slow down builds (times number of gems used) * We _don't_ want our code to _update_ during build To explain, if during build time there are some changes in the gem we are depending upon: updating during compile time could actually break our application. This is what we're trying to avoid.
2015-10-15Merge branch 'fix_androidndk_rake' of https://github.com/crimsonwoods/mruby ↵Yukihiro "Matz" Matsumoto
into crimsonwoods-fix_androidndk_rake
2015-10-12Rename androidndk tolchain to just androidSeba Gamboa
2015-10-13delete tasks/toolchains/androideabi.rake; ref #2983 #2988Yukihiro "Matz" Matsumoto
use androidndk.rake which is better and 64bit aware
2015-10-12Fix issue: LDFLAGS is not applied correctly.crimsonwoods
2015-10-11Accoding to the implementation of 'cflags', '-no-canonical-prefixes' is ↵crimsonwoods
isolated.
2015-10-11Remove unnecessary cases.crimsonwoods
'mips64' can integrate into 'mips'. 'x86_64' is the same as 'mips64'.
2015-10-11Integrate common flag '-no-canonical-prefixes'.crimsonwoods