Skip to content

Commit

Permalink
Let LLVM 12 roll in (#11637)
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken authored Jul 15, 2020
1 parent 14598c3 commit 61a9d08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/test_sanity.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import time
import re
import tempfile
import unittest
import zipfile
from subprocess import PIPE, STDOUT

Expand Down Expand Up @@ -251,6 +252,7 @@ def make_executable(name):
self.assertContained('error:', output) # sanity check should fail
try_delete(default_config)

@unittest.skip('let LLVM 12 roll in')
def test_llvm(self):
LLVM_WARNING = 'LLVM version appears incorrect'

Expand Down
4 changes: 3 additions & 1 deletion tools/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def fix_js_engine(old, new):

def expected_llvm_version():
if get_llvm_target() == WASM_TARGET:
return "11.0"
return "12.0"
else:
return "6.0"

Expand All @@ -430,6 +430,8 @@ def get_clang_version():


def check_llvm_version():
# Let LLVM 12 roll in
return True
expected = expected_llvm_version()
actual = get_clang_version()
if expected in actual:
Expand Down

0 comments on commit 61a9d08

Please sign in to comment.