File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ matrix:
25
25
- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
26
26
- sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main"
27
27
- sudo apt-get update
28
- - sudo apt-get install llvm-${LLVM_API_VERSION}
28
+ - sudo apt-get install llvm-${LLVM_API_VERSION} libc++1
29
+ # Move libC++ into place
30
+ - sudo cp /usr/lib/x86_64-linux-gnu/libc++.so.1.0 /usr/lib/
31
+ - sudo ln -sf /usr/lib/libc++.so.1.0 /usr/lib/libc++.so
29
32
# Work around pre-installed clang
30
33
- sudo rm -rf /usr/local/clang-*/bin/llvm-config
31
34
- ls -l /usr/bin/llvm-config*
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ import XCTest
4
4
5
5
#if !os(macOS)
6
6
XCTMain ( [
7
- IRBuilderSpec . allTests,
7
+ IRBuilderSpec . allTests,
8
8
] )
9
9
#endif
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Foundation
3
3
4
4
#if os(Linux)
5
5
typealias Process = Task
6
- let libCPP = " -lc++ "
6
+ let libCPP = " -L/usr/lib - lc++ "
7
7
#elseif os(macOS)
8
8
let libCPP = " -lc++ "
9
9
#endif
You can’t perform that action at this time.
0 commit comments