Commit graph

84 commits

Author SHA1 Message Date
anthony cantor
aa0ee9b6a6 changes to make llvmpy compatible with development branch of llvm
mostly just removing stuff and changing function prototypes.
with these changes, llvmpy compiles and llvm.test() passes.
2013-09-18 11:52:21 -05:00
anthony cantor
ba03b226c8 added Target.createMCSubtargetInfo and createMCDisassembler
also added bindings to classes required by the target methods. also
added a convenience function to initialize all target components to
the llvm module
2013-09-18 11:52:20 -05:00
anthony cantor
ef59848d18 modify build process to support all targets
my goal is to facillitate a wide range of disassembly capability through
llvm disassemblers, so supporting as many machine targets as possible is ideal.
2013-09-18 11:52:20 -05:00
Siu Kwan Lam
ea5b430297 add IR files in setup.py 2013-08-14 18:09:17 -05:00
Siu Kwan Lam
625858aa6f fixes 2013-07-31 16:05:24 -05:00
Siu Kwan Lam
6d3253e4ea Add things to make MCJIT working 2013-07-31 15:44:01 -05:00
Siu Kwan Lam
4c1b9016fb binding compiles with llvm 3.3 2013-07-31 15:12:23 -05:00
Travis E. Oliphant
f4b320ff09 Fix a few erros. Add an array type 2013-05-14 11:12:51 -05:00
Siu Kwan Lam
a357987597 Allow initialization of other targets.
- Remove PTX/NVPTX targets from default built and init
2013-05-03 10:45:02 -05:00
Ilan Schnell
ba759b59d0 update supported dependencies in readme 2013-03-02 12:53:31 -06:00
Ilan Schnell
91d2740fbf disable lib2to3 conversion 2013-02-27 20:00:42 -06:00
Siu Kwan Lam
d485c22b08 Add llvm.workaround package 2013-02-27 16:32:00 -06:00
Siu Kwan Lam
ae6dab8e50 Pass llvm version and ptx support to wrapper generator through environ 2013-02-27 14:53:49 -06:00
Siu Kwan Lam
5d83d626f6 Update setup script 2013-02-27 14:20:45 -06:00
Paul Sokolovsky
6c07747a3b Typo fix - could *not* invoke llvm-config. 2013-02-23 21:52:23 +02:00
Ilan Schnell
ffa713e332 improve error handling 2013-02-16 01:34:51 -06:00
Ilan Schnell
a7c650a458 simplified checking for valid llvm-config command 2013-02-16 01:24:27 -06:00
Ilan Schnell
079e31c474 remove unused code 2013-02-16 01:15:37 -06:00
Ilan Schnell
7813bec6e9 add error handling 2013-02-16 01:14:06 -06:00
Ilan Schnell
26c4380c2b cleanup run_2to3 in setup.py 2013-02-16 00:14:43 -06:00
Ilan Schnell
0036d55eea remove excess whitespace 2013-02-12 11:55:04 -06:00
Ilan Schnell
0a6a11f35a add missing llvm/_version.py 2013-02-01 16:04:58 -06:00
Ilan Schnell
3f789913f5 add versioneer 2013-02-01 15:55:12 -06:00
Ilan Schnell
5dd0948c65 cleanup 2013-01-31 17:54:20 -06:00
Ilan Schnell
1d4c431b23 minor simplification 2013-01-31 17:53:01 -06:00
Siu Kwan Lam
5d54bbb1cd Autodetect libLLVM*.so and use it if it exists; or, user can override if LLVMPY_DYNLINK. 2013-01-31 16:00:39 -06:00
Siu Kwan Lam
7e7b362e47 Get llvm version as a string. It may contain 'svn' postfix. 2013-01-26 11:20:53 -06:00
Ilan Schnell
8b918f37d6 change default 2013-01-25 17:01:54 -06:00
Mark Florisson
93f8c70d19 Expose dwarf constants for debug info generation 2013-01-21 10:52:29 -06:00
Mark Florisson
9874d8048d Run 2to3 for python 3 install 2013-01-13 17:00:17 -06:00
Siu Kwan Lam
371e940c83 Reverse finalizer 2013-01-07 16:39:41 -06:00
Siu Kwan Lam
bc20661343 Introduce finalizer module to manage finalization of C resources. 2013-01-03 14:44:32 -06:00
Siu Kwan Lam
bcc467b2b5 Add auto detect PTX/NVPTX support and disable them in the C-extension. 2013-01-02 17:42:28 -06:00
Travis E. Oliphant
0691800c84 Add comma 2012-11-11 01:39:58 -06:00
Travis E. Oliphant
469349be07 Fix author. 2012-11-11 01:37:33 -06:00
Travis E. Oliphant
a2c5e861c4 Change author and email and version 2012-11-10 19:01:32 -06:00
Travis E. Oliphant
ac791e5c38 Change name to llpython and remove llnumba references. 2012-11-07 12:14:01 -06:00
Travis E. Oliphant
119ef50689 Add llvm_cbuilder to list of packages. 2012-11-07 11:03:50 -06:00
Siu Kwan Lam
e42dfd9abb Improve PTX support discovery and make it optional. 2012-10-04 12:59:48 -05:00
Ilan Schnell
53d782bd39 update setup.py 2012-09-13 21:23:40 -05:00
Mark Wiebe
01b55b48f7 Add detection of whether LLVM has PTX in the windows build 2012-08-29 13:51:07 -07:00
Bradley M. Froehle
0b351ad05c Use llvm-config --ldflags to get extra_link_args. 2012-08-27 08:27:59 -07:00
Mark Wiebe
397a81d5bd Switch to using a fake llvm-config program, so there's just one setup.py
This should help keep windows and other platforms in synch
easier.
2012-08-25 13:21:38 -07:00
Ilan Schnell
4a090c8c76 add passes tests 2012-08-19 16:36:32 -05:00
Ilan Schnell
4985615442 add tests to llvm package 2012-08-19 16:01:17 -05:00
Ilan Schnell
d2f6975c3c remove duplicate license text 2012-08-19 01:52:16 -05:00
Ilan Schnell
dd59821ac5 set LLVMPY_DYNLINK=1, if you want to link _core.so dynamically to libLLVM.so 2012-08-19 00:42:03 -05:00
Ilan Schnell
40b9273e2d add missing split() 2012-08-19 00:17:05 -05:00
Ilan Schnell
7e2dc921ff minor fixes in setup.py 2012-08-19 00:09:27 -05:00
Ilan Schnell
b37fdd0e74 cleanup setup.py 2012-08-19 00:12:49 -05:00