File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,16 @@ FROM swift:bionic
3
3
4
4
RUN apt-get -y update
5
5
RUN apt-get -y dist-upgrade
6
- RUN apt-get install -y bash curl git make unzip build-essential python3 clang
6
+ RUN apt-get install -y bash curl git make unzip build-essential python3
7
7
# RUN apt-get install -y cargo
8
8
9
9
# install RUST
10
10
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
11
11
ENV PATH="/root/.cargo/bin:${PATH}"
12
12
13
+ # install llvm/clang 11
14
+ RUN curl -SL https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz | tar -xJC .
15
+
13
16
# RUN apt-get install -y valgrind
14
17
# RUN apt-get install -y python3
15
18
# RUN apt-get install -y lld
@@ -35,6 +38,6 @@ COPY bindings/batteries ci/LDKSwift/Sources/LDKSwift/batteries
35
38
ENV LDK_C_BINDINGS_BASE="/ldk-c-bindings"
36
39
ENV LDK_SWIFT_GENERATOR_INPUT_HEADER_PATH="/ldk-c-bindings/lightning-c-bindings/include/lightning.h"
37
40
ENV LDK_SWIFT_GENERATOR_OUTPUT_DIRECTORY_PATH="/ci/LDKSwift/Sources/LDKSwift"
38
- ENV LLVM_CLANG_ASAN_PATH="/usr/lib/ llvm-6.0 /lib/clang/6 .0.0/lib/linux/libclang_rt.asan-x86_64.a"
41
+ ENV LLVM_CLANG_ASAN_PATH="/clang+ llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04 /lib/clang/11 .0.0/lib/linux/libclang_rt.asan-x86_64.a"
39
42
ENV RUST_BACKTRACE=1
40
43
ENV SHELL=/bin/bash
Original file line number Diff line number Diff line change @@ -58,9 +58,7 @@ let package = Package(
58
58
// "SampleTest.swift"
59
59
// ],
60
60
cSettings: nil , cxxSettings: nil , swiftSettings: nil ,
61
- linkerSettings: [
62
- . linkedLibrary( String ( utf8String: getenv ( " LDK_C_BINDINGS_BASE " ) !) ! + " /lightning-c-bindings/target/debug/libldk.a " )
63
- ] )
61
+ linkerSettings: nil )
64
62
65
63
]
66
64
)
You can’t perform that action at this time.
0 commit comments