Created
October 3, 2020 16:04
-
-
Save lsparrish/58a443c64cf3dccba1d1efa4997c0599 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wscript b/wscript | |
index 9c76c54bc..0b743338e 100644 | |
--- a/wscript | |
+++ b/wscript | |
@@ -85,7 +85,7 @@ def options(ctx): | |
top = '.' | |
out = 'build' | |
APP_NAME = 'clasp' | |
-LLVM_VERSION = 9 | |
+LLVM_VERSION = 10 | |
CLANG_SPECIFIC_VERSION = "9.0.0_1" | |
STAGE_CHARS = [ 'r', 'i', 'a', 'b', 'f', 'c', 'd' ] | |
@@ -957,7 +957,7 @@ def configure(cfg): | |
cur_clang_version = run_llvm_config(cfg, "--version") | |
log.debug("cur_clang_version = %s", cur_clang_version) | |
llvm_version_test = not ("LLVM_VERSION_OVERRIDE" in cfg.env) | |
- if (llvm_version_test and (int(cur_clang_version[0]) != LLVM_VERSION)): | |
+ if (llvm_version_test and (int(cur_clang_version.split('.')[0]) != LLVM_VERSION)): | |
raise Exception("You must have clang/llvm version %d installed - you have %s" % (LLVM_VERSION, cur_clang_version[0]) ) | |
# find a lisp for the scraper | |
if not cfg.env.SCRAPER_LISP: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment