[ruby-cvs:69466] k0kubun:r62285 (trunk): transform_mjit_header.rb: ignore unsupported cc

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Wed Feb 7 22:48:49 JST 2018


k0kubun	2018-02-07 22:48:48 +0900 (Wed, 07 Feb 2018)

  New Revision: 62285

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

  Log:
    transform_mjit_header.rb: ignore unsupported cc
    
    to generate MJIT header.
    
    Even if we can't build MJIT header, Ruby's build should success. And
    compilers which are not explicitly supported are likely to fail to
    transform MJIT header.
    
    Also you can pass only gcc or clang to --jit-cc=xxx for now. Thus
    generating header does never make sense.
    
    So I decided to conservatively give up MJIT header generation.
    But please feel free to add your favorite compiler's macro if you think
    it's working. (Another workaround is passing -D__GNUC__ :p)
    
    [Bug #14447] [Bug #14446]

  Modified files:
    trunk/tool/transform_mjit_header.rb


More information about the ruby-cvs mailing list