mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk (yes-btest): btest depends on also $(arch)-fake.rb and
rbconfig.rb on building for NativeClient. * Makefile.in (fake): Avoid generating $(arch)-fake.rb unless cross compiling. * configure.in (CROSS_COMPILING): New substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2d08d23e9c
commit
ea9301bd2b
4 changed files with 18 additions and 3 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
Fri Jan 4 17:58:16 2013 Yuki Yugui Sonoda <yugui@yugui.jp>
|
||||
|
||||
* common.mk (yes-btest): btest depends on also $(arch)-fake.rb and
|
||||
rbconfig.rb on building for NativeClient.
|
||||
|
||||
* Makefile.in (fake): Avoid generating $(arch)-fake.rb unless cross
|
||||
compiling.
|
||||
|
||||
* configure.in (CROSS_COMPILING): New substitution.
|
||||
|
||||
Fri Jan 4 16:26:45 2013 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems/doctor.rb: Process directories in order in case the
|
||||
|
|
|
@ -26,6 +26,7 @@ AUTOCONF = autoconf
|
|||
MKFILES = @MAKEFILES@
|
||||
BASERUBY = @BASERUBY@
|
||||
TEST_RUNNABLE = @TEST_RUNNABLE@
|
||||
CROSS_COMPILING = @CROSS_COMPILING@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
|
||||
prefix = @prefix@
|
||||
|
@ -221,8 +222,9 @@ $(LIBRUBY_SO):
|
|||
@-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \
|
||||
File.symlink "$(LIBRUBY_SO)", link}' \
|
||||
$(LIBRUBY_ALIASES) || true
|
||||
|
||||
fake: $(arch)-fake.rb
|
||||
fake: $(CROSS_COMPILING)-fake
|
||||
yes-fake: $(arch)-fake.rb $(RBCONFIG) PHONY
|
||||
no-fake: PHONY
|
||||
$(arch)-fake.rb: config.status $(srcdir)/template/fake.rb.in
|
||||
@./config.status --file=$@:$(srcdir)/template/fake.rb.in
|
||||
@chmod +x $@
|
||||
|
|
|
@ -477,7 +477,7 @@ check-ruby: test test-ruby
|
|||
|
||||
btest: $(TEST_RUNNABLE)-btest
|
||||
no-btest: PHONY
|
||||
yes-btest: miniruby$(EXEEXT) PHONY
|
||||
yes-btest: fake miniruby$(EXEEXT) PHONY
|
||||
$(BOOTSTRAPRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(BTESTRUBY)" $(OPTS) $(TESTOPTS)
|
||||
|
||||
btest-ruby: $(TEST_RUNNABLE)-btest-ruby
|
||||
|
|
|
@ -2525,6 +2525,7 @@ if test x"$cross_compiling" = xyes; then
|
|||
RUNRUBY='$(MINIRUBY) -I`cd $(srcdir)/lib; pwd`'
|
||||
XRUBY='$(MINIRUBY)'
|
||||
TEST_RUNNABLE=no
|
||||
CROSS_COMPILING=yes
|
||||
|
||||
if test "$host_os" = "nacl"; then
|
||||
if test "$build_cpu" = "$host_cpu" || test "${nacl_cv_cpu_nick}" = "x86" -a "$host_cpu" = "i686"; then
|
||||
|
@ -2546,8 +2547,10 @@ else
|
|||
RUNRUBY='$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=$(EXTOUT)'
|
||||
XRUBY='$(RUNRUBY)'
|
||||
TEST_RUNNABLE=yes
|
||||
CROSS_COMPILING=no
|
||||
fi
|
||||
AC_SUBST(TEST_RUNNABLE)
|
||||
AC_SUBST(CROSS_COMPILING)
|
||||
AC_SUBST(MINIRUBY)
|
||||
AC_SUBST(BTESTRUBY)
|
||||
AC_SUBST(PREP)
|
||||
|
|
Loading…
Reference in a new issue