[ruby-cvs:71235] k0kubun:r64143 (trunk): mjit.c: allow using MJIT header in build directory

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Jul 31 21:43:06 JST 2018


k0kubun	2018-07-31 21:43:06 +0900 (Tue, 31 Jul 2018)

  New Revision: 64143

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64143

  Log:
    mjit.c: allow using MJIT header in build directory
    
    when $MJIT_SEARCH_BUILD_DIR is set.
    
    If prefix path is owned by root, `make install` needs to be run by root.
    But in general we don't want to run `make test-all`, and also running
    `make test-all` currently fails due to permission tests of rdoc and rubygems.
    Thus, prior to this commit, specifying a prefix like "/usr/local" could
    mean there was no way to pass test-all.
    
    So we should not depend on `make install` for `make test-all`. Thus I
    reverted r64104 and r64103, and applied this workaround to pass `make
    test-all` without `make install`.

  Modified files:
    trunk/Makefile.in
    trunk/common.mk
    trunk/mjit.c
    trunk/test/lib/jit_support.rb
    trunk/win32/Makefile.sub


More information about the ruby-cvs mailing list