Skip to content
Snippets Groups Projects
Commit 652a74b9 authored by Ximin Luo's avatar Ximin Luo
Browse files

Fix typo in tool_older_than

parent b05ed6a0
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ def tool_missing(cmd):
def tool_older_than(cmdline, min_ver, vcls=StrictVersion):
actual_ver = subprocess.check_output(["llvm-config", "--version"]).decode("utf-8").strip()
actual_ver = subprocess.check_output(cmdline).decode("utf-8").strip()
print(actual_ver, min_ver, vcls)
return vcls(actual_ver) < vcls(min_ver)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment