summaryrefslogtreecommitdiffhomepage
path: root/tasks
AgeCommit message (Collapse)Author
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
2015-10-11Integrate common flag.crimsonwoods
2015-10-11Implement 'ldflags' for 'x86' architecture.crimsonwoods
2015-10-11Implement 'ldflags' for 'x86_64' architecture.crimsonwoods
2015-10-11Implement 'ldflags' for 'mips' architecture.crimsonwoods
2015-10-11Implement 'ldflags' for 'mips64' architecture.crimsonwoods
2015-10-11Implement 'ldflags' for 'armeabi-v7a-hard' and 'armeabi-v7a'.crimsonwoods
2015-10-11Implement 'ldflags' for 'armeabi' architecture.crimsonwoods
2015-10-11Implement 'ldflags' for 'arm64' architecture.crimsonwoods
2015-10-11Implement 'ldflags'.crimsonwoods
This is the first step of implementing 'ldflags'.
2015-10-11Add a missing required flag '-fstack-protector-strong'.crimsonwoods
2015-10-11Add support for 'x86_64' architecture.crimsonwoods
2015-10-11Remove duplicated compiler options.crimsonwoods
2015-10-11Some flags (-ffunction-sections and etc.) should be set by default for 'x86' ↵crimsonwoods
architecture.
2015-10-11Add support for 'armeabi-v7a-hard' architecture.crimsonwoods
2015-10-11Some flags (-fpic and etc.) should be set by default for 'armeabi-v7a' and ↵crimsonwoods
'armeabi' architecture.
2015-10-11Some flags (-fpic and etc.) should be set by default for 'arm64' architecture.crimsonwoods
2015-10-11Replace tab by white-spaces.crimsonwoods
2015-10-11Add support for 'mips64' architecture.crimsonwoods
2015-10-11Fix build error for 'x86' architecture.crimsonwoods
2015-10-11Fix build error for 'mips' architecture.crimsonwoods
2015-10-11Add support for 'arm64' architecture.crimsonwoods
2015-10-07Change some constants namesSeba Gamboa
2015-10-07Refactoring Android NDK toolchainSeba Gamboa
2015-10-06Add optional params to toolchain configurationSeba Gamboa
2015-10-03Merge pull request #2946 from sagmor/test-dependenciesYukihiro "Matz" Matsumoto
Add gem test dependencies
2015-09-25LinkerConfig is a struct with five paramsTerence Lee
2015-09-09Add test dependenciesSeba Gamboa
2015-09-04Allow rbfiles in mrblib and test to have subdirsZachary Scott
2015-09-03Add build_mrbtest after config block is evaluatedZachary Scott
This allows us to add `enable_test` anywhere in a build target, without having to worry about the order in which they are included. Previously, there was a bug that occured when adding 'mruby-test' gem to dependencies before additional gems. Instead of adding the 'mruby-test' gem dependency manually to a test build, we now only need to call `enable_test` in the target. This also allows us to call `test_enabled?` downstream when running mruby tests ourselves. /cc #2924
2015-08-22Add mruby-test build config and update :test task to use mrbgem binaryZachary Scott
Removed old mrbgems_test.rake which was merged into mrbgem spec
2015-08-02be able to source with :path for mrbgemsTerence Lee