File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -37,5 +37,7 @@ script:
37
37
- ${WLLVM_HOME}/.travis/apache_clang.sh
38
38
# build apache with gcc and dragonegg
39
39
- ${WLLVM_HOME}/.travis/apache_dragonegg.sh
40
+ # build musllvm with clang
41
+ - ${WLLVM_HOME}/.travis/musllvm.sh
40
42
41
43
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -x
2
+ # Make sure we exit if there is a failure
3
+ set -e
4
+
5
+
6
+ export PATH=/usr/lib/llvm-3.5/bin:${PATH}
7
+ export LLVM_COMPILER=clang
8
+ export WLLVM_OUTPUT=WARNING
9
+
10
+ wllvm-sanity-checker
11
+
12
+
13
+ git clone https://github.com/SRI-CSL/musllvm.git .
14
+ cd musllvm
15
+ WLLVM_CONFIGURE_ONLY=1 CC=wllvm ./configure --target=LLVM --build=LLVM
16
+ make
17
+ extract-bc --bitcode ./lib/libc.a
18
+
19
+ if [ -s " ./lib/libc.a.bc" ]
20
+ then
21
+ echo " libc.a.bc."
22
+ else
23
+ exit 1
24
+ fi
25
+
26
+
27
+
28
+
29
+
30
+
You can’t perform that action at this time.
0 commit comments