summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2017-02-06common.mk: suppress debugging messagesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-03test/unit.rb: share job slotsnobu
* test/lib/test/unit.rb (Test::Unit::Parallel#_run_parallel): share job slots with GNU 'make'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-01common.mk: remove explicit MFLAGSnobu
It is unnecessary to pass MFLAGS to sub-makes, because it is evaluated implicitly if set by make. GNU make 4.2 sets both of -jN and --jobserver-auth (or --jobserver-fds in older versions) options which conflict. And it is useless for command line macros since Microsoft NMAKE does not set them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-30common.mk: limits.cnobu
* common.mk (ext/rbconfig/sizeof/sizes.c): specify the target explicitly. * common.mk (ext/rbconfig/sizeof/limits.c): add the recipe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-27exts.mk.tmpl: for not GNU makesnobu
* template/exts.mk.tmpl: use `cd` then `make` instead of `make -C` when not GNU make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-26Parallel gem configurationnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-23configure-ext.mk.tmpl: embed macrosnobu
* template/configure-ext.mk.tmpl: embed MINIRUBY and SCRIPT_ARGS to get rid of quoting problems of nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-23Fix for nmakenobu
* common.mk (EXT_MK): use double-quotes and remove SCRIPT_ARGS which contains both types of quotes. * template/configure-ext.mk.tmpl (all): use single-quotes for MAKE which is set by nmake and contains spaces in the path. do not use SCRIPT_ARGS. * template/exts.mk.tmpl (all, static): separate dependency lines, not to become a default target unintentionally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-23Parallel ext configurationnobu
* ext/configure-ext.mk: configure each directories underneath ext in parallel. * template/exts.mk.tmpl: then collect the results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-22template/extinit.c.tmplnobu
* template/extinit.c.tmpl: separate from ext/extmk.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-30Regexp supports Unicoe 9.0.0's \Xnaruse
* meta character \X matches Unicode 9.0.0 characters with some workarounds for UTR #51 Unicode Emoji, Version 4.0 emoji zwj sequences. [Feature #12831] [ruby-core:77586] The term "character" can have many meanings bytes, codepoints, combined characters, and so on. "grapheme cluster" is highest one of such words, which means user-perceived characters. Unicode Standard Annex #29 UNICODE TEXT SEGMENTATION specifies how to handle grapheme clusters (extended grapheme cluster). But some specs aren't updated to current situation because Unicode Emoji is rapidly extended without well definition. It breaks the precondition of UTR#29 "Grapheme cluster boundaries can be easily tested by looking at immediately adjacent characters". (the sentence will be removed in the next version) Though some of its detail are described in Unicode Technical Report #51 UNICODE EMOJI but it is not merged into UTR#29 yet. http://unicode.org/reports/tr29/ http://unicode.org/reports/tr51/ http://unicode.org/Public/emoji/4.0/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06revision.h shouldn't depend ChangeLognaruse
Maybe it needs vcs dependent ways. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-27fix typos [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-18common.mk: use EXTOUT to benchmark [ci skip]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-14Add $(srcdir) for lib directorynaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-12* common.mk (benchmark): fix lib path.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-07* common.mk: Updated Unicode version to 9.0.0 [Feature #12513]duerst
* unicode/9.0.0/casefold.h, name2ctype.h, unicode/data/9.0.0: new directories/files for Unicode version 9.0.0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-06socket/depend: add srcs [ci skip]nobu
* ext/socket/depend (srcs): phony target to update confdefs source files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-06common.mk: fix path arguments [ci skip]nobu
* common.mk (ext/date/zonetab.h): fix inverted relative path arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-31mkmf.rb: separate timestamp filesnobu
* lib/mkmf.rb (timestamp_file): separate timestamp files for each architectures. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-24common.mk: unnecessary dependents of prelude.cnobu
* common.mk (PRELUDE_C): remove unnecessary dependents, which are not included directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16make-snapshot: UNICODE_VERSIONnobu
* tool/make-snapshot (package): propagate UNICODE_VERSION to make snapshot from the parent make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16common.mk: make unicode header dirnobu
* common.mk (UNICODE_HDR_DIR): make unicode header directory. [ruby-core:76879] [Bug #12677] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16common.mk: separate unicode headersnobu
* common.mk (UNICODE_HDR_DIR): separate unicode header files from unicode data files. [ruby-core:76879] [Bug #12677] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16common.mk: UNICODE_HDR_DIRnobu
* common.mk (UNICODE_HDR_DIR): directory for unicode headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16common.mk: MAKE_ENCnobu
* common.mk (MAKE_ENC): arguments for enc.mk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-11compar.c: utility functionsnobu
* compar.c (rb_cmp): call comparison method by predefiend ID. * compar.c (cmpint): returns compared result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-17Move generated headers to unicode data directorynobu
* common.mk, enc/depend (casefold.h, name2ctype.h): move to unicode data directory per version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-16common.mk: INCFLAGSnobu
* common.mk (INCFLAGS): move from Makefile.in. * win32/Makefile.sub (XCFLAGS): missing directory is not neccessary as an include path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-15common.mk: directory timestampsnobu
* common.mk, enc/Makefile.in: moved timestamp files for directories under the specific directory, to get rid of match with files under the source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-15Revert r55693 because it broke building on all platforms (and had no ChangeLog).usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-15common.mk: directory timestampsnobu
* common.mk, enc/Makefile.in: moved timestamp files for directories under the specific directory, to get rid of match with files under the source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-14Download Unicode files just once [ci skip]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-14common.mk: prefix for nmakenobu
* common.mk (incs): prefix to enc/unicode/name2ctype.h and enc/jis/props.h for nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-14common.mk: update enc/unicode/name2ctype.hnobu
* Makefile.in (enc/unicode/name2ctype.h): remove stale recipe, which did not support Unicode age properties. * common.mk (enc/unicode/name2ctype.h): update by --header option of tool/enc-unicode.rb. enc/unicode/name2ctype.kwd file has not been used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-14common.mk: rule for name2ctype.kwdnobu
* common.mk (enc/unicode/name2ctype.kwd): rule to create from Unicode data files, used only when the target does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-14Unicode version checknobu
* common.mk (RBCONFIG): check if Unicode versions match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-06Update dependenciesnobu
* common.mk (compile.o, loadpath.o): update dependencies. * common.mk (vm_call.o): remove stale object dependencies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-06probes.dmyh: remove preprocessor directivesnobu
* tool/gen_dummy_probes.rb: remove include and conditional directives from probes.dmyh which are removed by preprocessing. * common.mk: remove unnecessary dependencies on vm_opts.h via probes.dmyh. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-30Move unicode tables timestampnobu
* common.mk (.unicode-tables.time): move from the top source directory to the unicode source data directory which contains its version number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-24Updating casefold.hnobu
* common.mk (lib/unicode_normalize/tables.rb): should not depend on Unicode data files unless ALWAYS_UPDATE_UNICODE=yes, to get rid of downloading Unicode data unnecessary. [ruby-dev:49681] * common.mk (enc/unicode/casefold.h): update Unicode files in a sub-make, not to let the header depend on the files always. * enc/unicode/case-folding.rb: if gperf is not usable, assume the existing file is OK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-23Revert r55486,r55488,r55489naruse
They breaks build: http://rubyci.s3.amazonaws.com/debian/ruby-trunk/log/20160623T123002Z.fail.html.gz Revert "Unicode files for casefold.h" Revert "casefold.h dependency" Revert "Get rid of downloading Unicode data" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-23Unicode files for casefold.hnobu
* common.mk (enc/unicode/casefold.h): update Unicode files in a sub-make, not to let the header depend on the files always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-22casefold.h dependencynobu
* common.mk (enc/unicode/casefold.h): add dependency and update by incs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-22Get rid of downloading Unicode datanobu
* common.mk (lib/unicode_normalize/tables.rb): should not depend on Unicode data files unless ALWAYS_UPDATE_UNICODE=yes, to get rid of downloading Unicode data unnecessary. [ruby-dev:49681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-18Fix static-linked-ext encodingsnobu
* common.mk (build-ext), ext/extmk.rb: use variable EXTENCS different than ENCOBJS, to get rid of circular dependency. build libencs when linking encodings statically. [ruby-core:75618] [Bug #12401] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-14Unicode Version in RbConfignobu
* tool/mkconfig.rb: provide Unicode Version information as RbConfig::CONFIG['UNICODE_VERSION']. [ruby-core:75845] [Feature #12460] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-09common.mk: fix win32/ifchange.bat usagenobu
* common.mk: win32/ifchange.bat does not support input from stdin. also needs quotes to escape an equal sign. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-09common.mk: use $(IFCHANGE) for mswinnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-09common.mk: ifchange for mkconfig.rbnobu
* common.mk (RBCONFIG): use ifchange tool to see if the content is changed and update the timestamp file. * tool/mkconfig.rb: remove ifchange features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e