Skip to content

Commit 8902d46

Browse files
authored
Merge pull request #134 from CodaFi/bump
Bump package config script version
2 parents 7ab7cdd + d8ca462 commit 8902d46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/make-pkgconfig.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func makeFile() throws {
6363
}
6464

6565
/// 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 {
6767
throw "Failed to find llvm-config. Ensure llvm-config is installed and " +
6868
"in your PATH"
6969
}
@@ -84,8 +84,8 @@ func makeFile() throws {
8484

8585
let version = (components[0], components[1], components[2])
8686

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)"
8989
}
9090

9191
print("LLVM version is \(versionStr)")

0 commit comments

Comments
 (0)