Skip to content

Commit 5789b4d

Browse files
committed
Bump LLVM version to 5.0
This required updating the utility script because llvm-config's version is now 5.0.0svn.
1 parent 5705c30 commit 5789b4d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ matrix:
1818
sudo: required
1919
dist: trusty
2020
env:
21-
- LLVM_API_VERSION=4.0
21+
- LLVM_API_VERSION=5.0
2222
before_install:
2323
- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:"${PKG_CONFIG_PATH}"
2424
- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -

utils/make-pkgconfig.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func makeFile() throws {
6868

6969
let versionStr = run(llvmConfig, args: ["--version"])!
7070
.replacing(charactersIn: .newlines, with: "")
71+
.replacingOccurrences(of: "svn", with: "")
7172
let components = versionStr.components(separatedBy: ".")
7273
.flatMap { Int($0) }
7374

0 commit comments

Comments
 (0)