diff options
author | Takashi Kokubun <[email protected]> | 2020-05-03 16:15:45 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2020-05-03 16:41:25 -0700 |
commit | 9aa5fe1bf89db8cd215b24d8ddfb668714681b83 (patch) | |
tree | ad09a67e5ef72749c5920020df3f47d536a0c025 /test/lib | |
parent | 077619848623e9c7f8d6d8041596199115b7fc68 (diff) |
Split compile and link for MinGW support
MinGW test_jit fails with no error message. Perhaps linker flags should
not be passed when compilation is happening.
Anyway splitting these stages doesn't matter for performance. So let me
just split it to fix the issue. Probably this helps Solaris's issue too.
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/jit_support.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb index 60944527f3..4232f01a8e 100644 --- a/test/lib/jit_support.rb +++ b/test/lib/jit_support.rb @@ -56,7 +56,7 @@ module JITSupport return @supported if defined?(@supported) @supported = RbConfig::CONFIG["MJIT_SUPPORT"] != 'no' && UNSUPPORTED_COMPILERS.all? do |regexp| !regexp.match?(RbConfig::CONFIG['MJIT_CC']) - end && !appveyor_pdb_corrupted? && !PENDING_RUBYCI_NICKNAMES.include?(ENV['RUBYCI_NICKNAME']) && /mingw/ !~ RUBY_PLATFORM # TODO: remove mingw exclusion after investigation + end && !appveyor_pdb_corrupted? && !PENDING_RUBYCI_NICKNAMES.include?(ENV['RUBYCI_NICKNAME']) end # AppVeyor's Visual Studio 2013 / 2015 are known to spuriously generate broken pch / pdb, like: |