aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
Commit message (Collapse)AuthorAgeFilesLines
* use --dump option for parse rule.ko12017-06-221-1/+1
| | | | | | | | | | * common.mk: use --dump=--dump=parsetree_with_comment,insns instead of tool/parse.rb. maybe nobody use this option so that I believe it is enough. previous "parse" rule doesn't run script but patched parse rule runs specified script (on miniruby). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: tweaked packages ordernobu2017-06-151-1/+2
| | | | | | | | | | | * common.mk (dist): tweaked packages order by $(DISTPKGS). .tar.gz comes first for the hash values in downloads page, then popular .zip. * tool/make-snapshot: "all" in -packages means all of the rest package types now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update dependencies after r58978normal2017-06-071-1/+3
| | | | | | | | | | Using "tool/update-deps --fix" * common.mk (file.$(OBJEXT)): depend on id.h (rational.$(OBJEXT)): ditto (string.$(OBJEXT)): sort alphabetically git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: show localenobu2017-06-021-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: set ENABLE_SHARED [ci skip]nobu2017-05-311-1/+1
| | | | | | | * win32/Makefile.sub (LIBRUBY_LDSHARED): mswin build always enables shared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: lldb [ci skip]nobu2017-05-311-0/+9
| | | | | | * common.mk (lldb, lldb-ruby): add targets to debug with lldb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "common: "test-all" depends on "exts" target"normal2017-05-271-1/+1
| | | | | | | This reverts r58919. Apparently skipping exts is intentional since r58759 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common: "test-all" depends on "exts" targetnormal2017-05-271-1/+1
| | | | | | | | | | | This allows me to test changes to ext/ more easily by only typing: make test-all TESTS=/path/to/ext/test_foo.rb I spent a few minutes wondering what was wrong before I realized changes to exts were not taking effect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add debug counters.ko12017-05-241-0/+3
| | | | | | | | | | | | | | | | | * debug_counter.h: add the following counters to measure object types. obj_free: freed count obj_str_ptr: freed count of Strings they have extra buff. obj_str_embed: freed count of Strings they don't have extra buff. obj_str_shared: freed count of Strings they have shared extra buff. obj_str_nofree: freed count of Strings they are marked as nofree. obj_str_fstr: freed count of Strings they are marked as fstr. obj_ary_ptr: freed count of Arrays they have extra buff. obj_ary_embed: freed count of Arrays they don't have extra buff. obj_obj_ptr: freed count of Objects (T_OBJECT) they have extra buff. obj_obj_embed: freed count of Objects they don't have extra buff. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader cachenobu2017-05-211-6/+5
| | | | | | * tool/downloader.rb (Downloader.download): manage download cache. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: path in parse.cnobu2017-05-181-1/+1
| | | | | | | | * common.mk (parse.c): replace source file name in #line pragmas with the path in the source directory, so that binary utilities, e.g. gcov, can find it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* run tests without extsnobu2017-05-161-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): get rid of make error with nmake.usa2017-05-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* restore yes-test-rubyspecko12017-05-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rename rubyspec to specusa2017-05-161-15/+21
| | | | | | | | * common.mk (*-rubyspec): rename to *-spec because rubyspec is historical name. of course, *-rubyspec are still available for compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* define RUBY_DEBUG_ENV only for main.cnobu2017-05-151-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make test-rubyspec-prechecknobu2017-05-131-1/+1
| | | | | | | * common.mk (yes-test-rubyspec): make test-rubyspec-precheck for fake.rb to setup build configuration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* spec has been merged, then should run it in loveusa2017-05-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* relative path as VPATHnobu2017-05-071-2/+2
| | | | | | | * common.mk (ripper.c): use relative path as VPATH instead of absolute path of the current working directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stale targetsnobu2017-05-071-3/+4
| | | | | | * common.mk (update-mspec, update-rubyspec): empty stale targets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make update-rubyspec is no longer needederegon2017-05-071-2/+1
| | | | | | * Kept a no-op for compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix up r58573nobu2017-05-061-1/+1
| | | | | | | * common.mk: make the directory for extension shared library with the timestamp directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove enc/prelude.rb from list of prelude files in common.mkduerst2017-05-061-1/+1
| | | | | | | | (This is a retry of r58559, it should work now that rubyspec does no longer check for unicode_normalized to be required. See also https://github.com/ruby/spec/commit/41176ead68b14011658c8abd0ebd67df2ae632fb.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* timestamp for extensionsnobu2017-05-061-4/+4
| | | | | | | * common.mk: use the same timestamp file for architecture specific directory as the file used in Makefiles under ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert 58559, because it fails on travis (rubyspec problem)duerst2017-05-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove enc/prelude.rb from list of prelude files in common.mkduerst2017-05-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: remove cross_compilingnobu2017-05-021-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: BOOTSTRAPRUBY for enc.mknobu2017-05-021-1/+1
| | | | | | | * common.mk ($(ENC_MK)): use $(BOOTSTRAPRUBY) as well as $(RBCONFIG), instead of $(MINIRUBY). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix ripper prereqnobu2017-04-271-2/+2
| | | | | | | | | * common.mk (ext/ripper/ripper.c): fix VPATH when out-of-place build, and id.h was created in the build directory too. it has to include the build directory, i.e., the current directory before `cd`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r58478 and r58479 because they do not support not in-place buildko12017-04-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* No need to pass the config file to mspec as mspec finds it itselferegon2017-04-251-1/+1
| | | | | | * It would also #load (because .mspec cannot be #require'd) it twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update sources and include files after updatenobu2017-04-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove missing/strtol.crhe2017-04-211-2/+0
| | | | | | | It is never used. We don't need it anyway as it's part of C89 which is our current minimum requirement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/extmk.rb: colorize notes [Feature #13302]nobu2017-04-211-1/+1
| | | | | | | | | | * common.mk (build-ext): pass variables to colorize. * ext/extmk.rb: colorize notes with tool/colorize.rb. * tool/colorize.rb: extract from tool/generic_erb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: separate notenobu2017-04-201-0/+1
| | | | | | | * common.mk (build-ext): separate note from building extensions, not to be intermingled. [ruby-core:80759] [Feature #13302] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* time.c: use predefined IDsnormal2017-04-101-0/+1
| | | | | | | | | | | | | | | This reduces rb_intern calls during startup and shortens code. * time.c: include id.h for predefined IDs (id_mul, id_eq, id_ne, id_cmp): remove static variables (eq): replace id_eq with idEq (cmp, wcmp): replace id_cmp with idCmp (weq): replace id_eq with idEq (time_timespec): replace id_mul with '*' (Init_Time): remove rb_intern calls for removed variables * common.mk (time.$(OBJEXT)): add depend on id.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add --with-git optionnobu2017-04-101-1/+3
| | | | | | | * configure.in, win32/configure.bat: add --with-git option to tell git command to use, or not to use git. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix `make clean` errorssorah2017-03-291-1/+1
| | | | | | | | | | | Patch by Kohei Suzuki <eagletmt@gmail.com>. * common.mk(clean-rubyspec): Supress error messages when rubyspec files don't exist. [GH-1563] [Bug #13384] * Makefile.in: Fix error when files don't exist. [GH-1563] [Bug #13384] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: test-rubyspecnobu2017-03-261-0/+1
| | | | | | * common.mk (yes-test-rubyspec): make jobserver ready. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Do not update Unicode headersnobu2017-03-241-4/+4
| | | | | | | * common.mk (name2ctype.h, casefold.h): use as checked out unless ALWAYS_UPDATE_UNICODE=yes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: touch-unicode-filesnobu2017-03-241-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make Unicode data directorynobu2017-03-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't download from Unicode.orgnobu2017-03-231-3/+7
| | | | | | | * .travis.yml, appveyor.yml: use checked out headers for Unicode, to get rid of downloading data files from Unicode.org. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: updating name2ctype.hnobu2017-03-231-8/+6
| | | | | | | * common.mk (name2ctype.h): update if ALWAYS_UPDATE_UNICODE = yes, as well as casefold.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby tool/update-deps --fixshyouhei2017-03-221-4/+79
| | | | | | | | | | | | | | Onigumo 6 (r57045) introduced new onigumo.h header file, which is required from quite much everywhere. This commit adds necessary dependencies. Note: ruby/oniguruma.h now includes onigumo.h, ruby/io.h includes oniguruma.h, ruby/encoding.h also includes oniguruma.h, and internal.h includes encoding.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: ignore clean-rubyspec error [ci skip]nobu2017-03-101-1/+1
| | | | | | | * common.mk (clean-rubyspec): nothing to clean before running rubyspec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* debug_counter.c: debug_counter_names [ci skip]nobu2017-03-101-7/+1
| | | | | | | | | | * debug_counter.c (debug_counter_names): stringize debug counter names by preprocessor. * debug_counter.h (RB_DEBUG_COUNTER): define counter names outside the include guard, to expand multiple times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* great lovenobu2017-03-081-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* MINIRUBY for cross-complingnobu2017-03-031-2/+4
| | | | | | | * template/configure-ext.mk.tmpl (EXTMK_ARGS): add MINIRUBY for cross-compling, which is used in extmk.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix for cross-compilingnobu2017-03-021-2/+4
| | | | | | | | * common.mk (test-rubyspec): add dependency for cross-compiling. * defs/gmake.mk: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e