diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-02 15:14:25 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-02 15:14:25 +0900 |
| commit | c4277769107cd0a49f4874fd538113fe7a686d19 (patch) | |
| tree | f18a515308076477296264b064e5366e96375812 | |
| parent | 331b119313a126a988d6c79266d5f4b6490d2fc8 (diff) | |
| parent | 9a5c78dc266833fc10555935f2aa2f92b88cb9a0 (diff) | |
| download | mruby-c4277769107cd0a49f4874fd538113fe7a686d19.tar.gz mruby-c4277769107cd0a49f4874fd538113fe7a686d19.zip | |
Merge pull request #5111 from shuujii/fix-parallel-build
Fix parallel build
| -rw-r--r-- | Rakefile | 7 | ||||
| -rw-r--r-- | doc/mruby3.md | 6 |
2 files changed, 5 insertions, 8 deletions
@@ -232,7 +232,6 @@ end desc "preallocated symbols" task :gensym => presym_inc -task :all => :gensym depfiles += MRuby.targets.map { |n, t| t.libraries @@ -243,7 +242,7 @@ depfiles += MRuby.targets.reject { |n, t| n == 'host' }.map { |n, t| }.flatten desc "build all targets, install (locally) in-repo" -task :all => depfiles do +task :all => :build do puts puts "Build summary:" puts @@ -253,6 +252,10 @@ task :all => depfiles do MRuby::Lockfile.write end +task :build => :gensym do + depfiles.each {|dep| Rake::Task[dep].invoke} +end + desc "run all mruby tests" task :test MRuby.each_target do diff --git a/doc/mruby3.md b/doc/mruby3.md index e611a1b16..12cc78a1b 100644 --- a/doc/mruby3.md +++ b/doc/mruby3.md @@ -3,12 +3,6 @@ User visible changes in `mruby3` # Build System -## `presym` target - -The first compilation of `mruby` may require generation of a -static symbol table named `build/presym`. You can generate -the table by `rake gensym`. - ## `build_config` directory Typical build configuration files are located in `build_config` |
