aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2017-02-19 10:50:10 +0100
committerMagnus Lång <[email protected]>2017-02-19 10:50:10 +0100
commit5268c1fecbfc4ad604f619db1f71948b506b0788 (patch)
tree62c3114a3109bdcae3004b15af0d691cccfdb5bd /lib
parentb1ada5d80a5ed7a1e069cdd8bff7545e09ca5e4c (diff)
downloadotp-5268c1fecbfc4ad604f619db1f71948b506b0788.tar.gz
otp-5268c1fecbfc4ad604f619db1f71948b506b0788.tar.bz2
otp-5268c1fecbfc4ad604f619db1f71948b506b0788.zip
ErLLVM: Demand LLVM 3.9 or greater
Diffstat (limited to 'lib')
-rw-r--r--lib/hipe/main/hipe.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hipe/main/hipe.erl b/lib/hipe/main/hipe.erl
index 06facae5c1..fff397b060 100644
--- a/lib/hipe/main/hipe.erl
+++ b/lib/hipe/main/hipe.erl
@@ -655,7 +655,7 @@ run_compiler_1(Name, DisasmFun, IcodeFun, Options) ->
case proplists:get_bool(to_llvm, Opts0) andalso
not llvm_support_available() of
true ->
- ?error_msg("No LLVM version 3.4 or greater "
+ ?error_msg("No LLVM version 3.9 or greater "
"found in $PATH; aborting "
"native code compilation.\n", []),
?EXIT(cant_find_required_llvm_version);
@@ -1585,7 +1585,7 @@ check_options(Opts) ->
-spec llvm_support_available() -> boolean().
llvm_support_available() ->
- get_llvm_version() >= {3,4}.
+ get_llvm_version() >= {3,9}.
-type llvm_version() :: {Major :: integer(), Minor :: integer()}.