File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func makeFile() throws {
63
63
}
64
64
65
65
/// Ensure we have llvm-config in the PATH
66
- guard let llvmConfig = which ( " llvm-config-3.9 " ) ?? which ( " llvm-config " ) ?? brewLLVMConfig ( ) else {
66
+ guard let llvmConfig = which ( " llvm-config-6.0 " ) ?? which ( " llvm-config " ) ?? brewLLVMConfig ( ) else {
67
67
throw " Failed to find llvm-config. Ensure llvm-config is installed and " +
68
68
" in your PATH "
69
69
}
@@ -84,8 +84,8 @@ func makeFile() throws {
84
84
85
85
let version = ( components [ 0 ] , components [ 1 ] , components [ 2 ] )
86
86
87
- guard version > ( 3 , 9 , 0 ) else {
88
- throw " LLVMSwift requires LLVM version >=3.9 .0, but you have \( versionStr) "
87
+ guard version >= ( 6 , 0 , 0 ) else {
88
+ throw " LLVMSwift requires LLVM version >=6.0 .0, but you have \( versionStr) "
89
89
}
90
90
91
91
print ( " LLVM version is \( versionStr) " )
You can’t perform that action at this time.
0 commit comments