File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ In addition to the above environment variables the following can be optionally u
54
54
variable.
55
55
Example ` LLVM_COMPILER_PATH=/home/user/llvm_and_clang/Debug+Asserts/bin ` .
56
56
57
+ * ` WLLVM_CONFIGURE_ONLY ` can be set to anything, when set ` wllvm ` and ` wllvm++ `
58
+ will not carry out the second phase that involves the production of bitcode.
59
+ This may prevent configuration errors being cause by the unexpected production
60
+ of the hidden bitcode files.
61
+
57
62
Example building bitcode module
58
63
===============================
59
64
@@ -88,6 +93,15 @@ Example building an Operating System
88
93
To see how to build freeBSD 10.0 from scratch check out the guide
89
94
[ here.] ( ../master/README-freeBSD.md )
90
95
96
+
97
+ Example configuring without building bitcode
98
+ ================================
99
+
100
+
101
+ WLLVM_CONFIGURE_ONLY=1 CC=wllvm ./configure
102
+ CC=wllvm make
103
+
104
+
91
105
Debugging
92
106
=========
93
107
Original file line number Diff line number Diff line change 8
8
# library or executable.
9
9
10
10
import sys
11
+ import os
11
12
from driver .utils import *
12
13
import driver .logconfig
13
14
@@ -16,5 +17,7 @@ cmd = cmd[1:]
16
17
17
18
builder = getBuilder (cmd , False )
18
19
buildObject (builder )
19
- buildAndAttachBitcode (builder )
20
+ if not os .environ .get ('WLLVM_CONFIGURE_ONLY' , False ):
21
+ buildAndAttachBitcode (builder )
22
+
20
23
Original file line number Diff line number Diff line change 8
8
# library or executable.
9
9
10
10
import sys
11
+ import os
11
12
from driver .utils import *
12
13
import driver .logconfig
13
14
@@ -16,4 +17,5 @@ cmd = cmd[1:]
16
17
17
18
builder = getBuilder (cmd , True )
18
19
buildObject (builder )
19
- buildAndAttachBitcode (builder )
20
+ if not os .environ .get ('WLLVM_CONFIGURE_ONLY' , False ):
21
+ buildAndAttachBitcode (builder )
You can’t perform that action at this time.
0 commit comments