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:
2525 - wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
2626 - sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main"
2727 - 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
2932 # Work around pre-installed clang
3033 - sudo rm -rf /usr/local/clang-*/bin/llvm-config
3134 - ls -l /usr/bin/llvm-config*
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ import XCTest
44
55#if !os(macOS)
66XCTMain ( [
7- IRBuilderSpec . allTests,
7+ IRBuilderSpec . allTests,
88] )
99#endif
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Foundation
33
44#if os(Linux)
55 typealias Process = Task
6- let libCPP = " -lc++ "
6+ let libCPP = " -L/usr/lib - lc++ "
77#elseif os(macOS)
88 let libCPP = " -lc++ "
99#endif
You can’t perform that action at this time.
0 commit comments