File tree Expand file tree Collapse file tree 8 files changed +45
-22
lines changed Expand file tree Collapse file tree 8 files changed +45
-22
lines changed Original file line number Diff line number Diff line change
1
+ Copyright (c) 2013-2016 Ian A. Mason, Tristan Ravitch, Bruno Dutertre
1
2
Copyright (c) 2011-2013 Tristan Ravitch
2
3
Copyright (c) 2013 Ben Liblit, Daniel Liew
3
4
Original file line number Diff line number Diff line change @@ -92,8 +92,10 @@ Building a bitcode module with clang
92
92
# Produces pkg-config.bc
93
93
extract-bc pkg-config
94
94
95
- A gentler set of instructions on building apache can be found
96
- [ here.] ( https://github.com/SRI-CSL/whole-program-llvm/blob/master/tutorial.md )
95
+ A gentler set of instructions on building apache in a vagrant Ubuntu 14.04 can be found
96
+ [ here,] ( https://github.com/SRI-CSL/whole-program-llvm/blob/master/doc/tutorial.md ) and
97
+ for Ubuntu 16.04
98
+ [ here.] ( https://github.com/SRI-CSL/whole-program-llvm/blob/master/doc/tutorial-ubuntu-16.04.md )
97
99
98
100
Building a bitcode module with dragonegg
99
101
========================================
@@ -129,7 +131,7 @@ Building an Operating System
129
131
============================
130
132
131
133
To see how to build freeBSD 10.0 from scratch check out this
132
- [ guide.] ( ../master/README -freeBSD.md )
134
+ [ guide.] ( ../master/doc/tutorial -freeBSD.md )
133
135
134
136
135
137
Configuring without building bitcode
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,7 +22,11 @@ that contains a section called __llvm_bc.
22
22
"""
23
23
24
24
import sys
25
- from driver .extraction import *
26
25
27
- if __name__ == '__main__' :
28
- sys .exit (extraction (sys .argv ))
26
+ sys .path .append (os .path .abspath (os .path .join (__file__ , '..' )))
27
+
28
+ from wllvm .extraction import *
29
+
30
+ def main ():
31
+ return extraction (sys .argv )
32
+
Original file line number Diff line number Diff line change 16
16
prefix = os .path .dirname (fullSelfPath )
17
17
driverDir = prefix
18
18
19
+ # Freeping Creaturism:
20
+ #
21
+ # this is the all important version number used by pip.
22
+ #
23
+ #
24
+ wllvm_version = '1.0.0.dev0'
19
25
20
26
21
27
# Environmental variable for path to compiler tools (clang/llvm-link etc..)
Original file line number Diff line number Diff line change @@ -12,13 +12,21 @@ linked into a library or executable.
12
12
13
13
import sys
14
14
import os
15
- from driver .utils import *
16
- import driver .logconfig
17
15
18
- cmd = list (sys .argv )
19
- cmd = cmd [1 :]
16
+ sys .path .append (os .path .abspath (os .path .join (__file__ , '..' )))
20
17
21
- builder = getBuilder (cmd , False )
22
- buildObject (builder )
23
- if not os .environ .get ('WLLVM_CONFIGURE_ONLY' , False ):
24
- buildAndAttachBitcode (builder )
18
+
19
+ from wllvm .utils import *
20
+ import wllvm .logconfig
21
+
22
+
23
+ def main ():
24
+ cmd = list (sys .argv )
25
+ cmd = cmd [1 :]
26
+
27
+ builder = getBuilder (cmd , False )
28
+ buildObject (builder )
29
+ if not os .environ .get ('WLLVM_CONFIGURE_ONLY' , False ):
30
+ buildAndAttachBitcode (builder )
31
+
32
+ return 0
Original file line number Diff line number Diff line change @@ -10,8 +10,11 @@ into a library or executable.
10
10
11
11
import sys
12
12
import os
13
- from driver .utils import *
14
- import driver .logconfig
13
+
14
+ sys .path .append (os .path .abspath (os .path .join (__file__ , '..' )))
15
+
16
+ from wllvm .utils import *
17
+ import wllvm .logconfig
15
18
16
19
cmd = list (sys .argv )
17
20
cmd = cmd [1 :]
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ Hopefully never dumping a python stack trace.
7
7
"""
8
8
9
9
import sys
10
- from sanity .checker import *
11
10
12
- def main (args ):
13
- return Checker ().check ()
11
+ sys .path .append (os .path .abspath (os .path .join (__file__ , '..' )))
12
+
13
+ from wllvm .checker import *
14
14
15
+ def main ():
16
+ return Checker ().check ()
15
17
16
- if __name__ == '__main__' :
17
- sys .exit (main (sys .argv ))
18
18
19
19
20
20
You can’t perform that action at this time.
0 commit comments