Граф коммитов

438 Коммитов

Автор SHA1 Сообщение Дата
akr c6575865aa * common.mk: dependencies updated.
* tool/update-deps: new file to assist update dependencies in
  common.mk.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17 23:15:47 +00:00
nobu 8fc86b0d34 * common.mk (sudo-precheck): authenticate at first to sudo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 04:09:43 +00:00
kosaki 9d4e471cf9 * vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT,
RUBY_VM_SET_FINALIZER_INTERRUPT): use atomic ops for preventing
  interrupt_flag bit lost.
* thread.c (rb_threadptr_execute_interrupts_rec): ditto.
* vm_core.h (typedef struct rb_thread_struct): change type of
  interrupt_flag to rb_atomic_t.
* atomic.h: move atomic ops definition from signal.c.
* signal.c: remove atomic ops definition.
* common.mk (gc, signal, thread, cont): add to dependency to atomic.h.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 14:27:08 +00:00
duerst 0dfbb49a83 fixed a grammatical error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 06:37:25 +00:00
ko1 5a363fbb50 * common.mk: restore TESTRUN_SCRIPT to "$(srcdir)/test.rb".
TESTRUN_SCRIPT is used by "make run", "make gdb" and so on.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 05:47:38 +00:00
nobu 52f5f410e4 * internal.h: add for internal use only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 13:41:54 +00:00
nobu d2dd7416fa * common.mk (rdoc-coverage): remove duplicated target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 13:33:31 +00:00
drbrain f47ff4821d Use UTF-8 for rdoc-coverage and silence progress reporter
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 03:03:19 +00:00
drbrain 7f2a943c5d * common.mk (rdoc): Add rdoc-coverage rule
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-10 01:54:34 +00:00
usa 8df705810d * common.mk (love): all you need is love.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28 02:07:28 +00:00
nobu acd036bcdc * common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):
support paralell-make under ext.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 00:33:05 +00:00
nobu ba1de001b1 * common.mk (love): make ruby, not war.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24 21:09:32 +00:00
nobu 18f39f4e57 * common.mk (love): for the birthday.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24 13:53:11 +00:00
sorah 0695a5aa25 * common.mk: Use $RUNRUBY for worker process.
* lib/test/unit.rb: Fix bug.
* lib/test/unit.rb: @options[:ruby](@opts[:ruby]) is now Array.
* test/testunit/parallel.rb: Fix for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-24 04:47:48 +00:00
nobu 020dc4ba60 * configure.in (rubygems): add --disable-rubygems option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 03:03:26 +00:00
naruse dda0d61e68 * common.mk (rdoc): add --encoding=UTF-8; ruby's rdoc must be UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 02:48:04 +00:00
nobu 3e82d92338 * common.mk (showflags): show LD commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-10 12:34:15 +00:00
usa c5158538e7 * common.mk (EXTMK_ARGS): specify to pass macro V, because nmake
doesn't pass it via MAKEFLAGS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 03:16:30 +00:00
nobu 79d800c37e * common.mk (clean-local): remove pc file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-15 02:31:58 +00:00
usa 58f1c8fca8 * common.mk (help): there is no reason to use the abbreviation for here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 09:19:55 +00:00
nobu 9f4107a906 * common.mk (ID_H_INCLUDES): now id.h depends on vm_opts.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 13:45:51 +00:00
nobu 03693cd590 * common.mk (test-build): test-all runs build tests on cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 14:47:54 +00:00
nobu c42bfb08b2 * common.mk (test-build): run all test normally on native environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 14:43:50 +00:00
nobu a3732110fb * common.mk (test-build): test for build process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 13:55:15 +00:00
nobu 3c36edc0d2 * configure.in: link addr2line only for ELF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-27 06:43:30 +00:00
naruse 086301ac73 * addr2line.c: added to show source filename and line number of
functions in backtrace. [ruby-dev:42625]
  a patch from shinichiro.h <shinichiro.hamaji AT gmail.com>

* addr2line.h: ditto.

* common.mk: add addr2line.$(OBJEXT).

* configure.in: check dl_iterate_phdr.

* vm_dump.c (rb_vm_bugreport): use rb_dump_backtrace_with_lines in
  addr2line.c when the binary is ELF.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-26 03:28:50 +00:00
arton e2501757f6 add dependency(insns.inc) to compile.obj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 17:05:39 +00:00
nobu 9be87b1eb6 * Makefile.in (reconfig): force reconfigure with previous options.
* common.mk (showconfig): show configure flags, like as
  `config.status --config' generated by recent autoconf.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 22:37:48 +00:00
nobu 023eab5201 * win32/Makefile.sub (MAKEDIRS): should not include silent flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 09:38:38 +00:00
nobu 1b45a27a89 * common.mk (ext/ripper/ripper.c, ext/json/parser/parser.c): pass
Q and ECHO.  [ruby-core:33226]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 09:22:45 +00:00
nobu 223c0b48a1 * common.mk (showflags, help): emit messages at once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-13 07:38:01 +00:00
nobu fe2295ea75 * common.mk (showflags, help): use caret to quote leading spaces on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 11:52:45 +00:00
nobu fd7c0279f8 * Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,
ext/ripper/depend, lib/mkmf.rb, win32/Makefile.sub: caddle up.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 11:51:42 +00:00
nobu feb67bc729 * common.mk (showflags): nmake ignores case difference of targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:56:48 +00:00
nobu 684a6059e9 * common.mk (all, main): show flags first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 13:37:35 +00:00
nobu fa5034ed02 * common.mk (Doxyfile, capi, rdoc): show messages only by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 13:37:33 +00:00
nobu 78c48e48ba * common.mk (SHOWFLAGS): show compile flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:47:17 +00:00
nobu f2f7a7740a * common.mk: hide long command lines by default. verbose-mode is
turned on by V=1 as before.
  http://jarp.does.notwork.org/diary/200605b.html#200605121

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:46:23 +00:00
nobu e2a62c218c * common.mk (ext/ripper/ripper.c): RUBY needs to be set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 15:26:18 +00:00
nobu 5098e6f7df * common.mk (INSTRUBY): run via $(SUDO) if given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:24:02 +00:00
nobu 786e4ce25a * enum.c: use constants in id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 00:40:56 +00:00
nobu 749ad16aa7 * common.mk (pkgconfig-data): moved from Makefile.in.
* tool/rbinstall.rb: install pc file only if non-empty.
  [ruby-core:32901] #3983

* win32/Makefile.sub (ruby_pc): create pc file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26 03:47:15 +00:00
ko1 df26e9d44e * common.mk (run.gdb): Quit gdb on 'make gdb' when
no signals are received.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24 18:00:20 +00:00
nobu a1d7e69106 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2010-10-08 01:52:37 +00:00
nobu feacd3c2e0 * Makefile.in (install-cross): target to install cross-compiling
stuff.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 16:34:56 +00:00
yugui 4a028d2c7e * common.mk (clean): removes all documents on cleaning.o
(CAPIOUT): new variable.
  (clean-capi, distclean-capi, realclean-capi): new targets

* Makefile.in (clean-capi, distclean-capi, realclean-capi): ditto.

* win32/Makefile.sub (clean-capi, distclean-capi, realclean-capi): 
  ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19 13:10:25 +00:00
yugui 8889aef162 Merges r27968 from ruby_1_9_2 into trunk.
--
* common.mk (capi): uses a timestamp file to get rid of
  generating twice.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-03 15:57:39 +00:00
naruse 8ffeda041b * common.mk (node_name.inc): remove command option -n and give
file as stdin, because IronRuby 1.1 still doesn't support it.
  So now we can use ir.exe as BASERUBY.

* tool/node_name.rb: read stdin with while gets.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 07:09:40 +00:00
naruse b2eb38fac5 * common.mk (clean): exclude *.inc. [ruby-dev:41931]
* common.mk (distclean): include *.inc.

* common.mk (help): change description about clean and distclean.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-29 00:36:24 +00:00
nobu 645114b25c * common.mk (version.o): depends on both of version.h and
include/ruby/version.h.   [ruby-dev:42063]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 13:31:10 +00:00