Commit Graph

133 Commits

Author SHA1 Message Date
Andrew Kelley
3fe50cb13c simpler cmake for msvc 2017-09-28 10:48:13 -04:00
Andrew Kelley
41b588547c improvements to windows support
See #302
2017-09-23 18:46:03 -04:00
Andrew Kelley
d9eabde319 add Child property of slice type
also rename child field to Child for pointer and array
2017-09-13 14:30:57 -04:00
Andrew Kelley
57ea6e8c9f fix up msvc stuff to make it work on linux and macos too 2017-09-13 02:40:02 -04:00
Jonathan Marler
67021e2bff Modified cmake to use LLVM imported packages. 2017-09-11 18:27:41 -06:00
Jonathan Marler
7c81cd30de Add support for MSVC 2017-09-11 09:26:26 -06:00
Andrew Kelley
120e2fdf8b build: add more search paths for libclang
thanks @smaeul
2017-09-09 17:17:36 -04:00
Jonathan Marler
850a1d2054 Switched find order for llvm, means it will choose llvm version 5.0 before any other version. (#446) 2017-09-08 17:08:24 -04:00
Andrew Kelley
234030c37a update build to look for llvm 5.0 2017-08-26 00:34:40 -04:00
Andrew Kelley
62b23f5da5 build: link against system libs reported by llvm-config 2017-06-19 10:33:19 -04:00
Andrew Kelley
e64f0971fc add appveyor integration testing 2017-06-03 12:47:23 -04:00
Andrew Kelley
3a137c6ff0 add Travis CI integration 2017-04-21 13:27:11 -04:00
Andrew Kelley
f043e0e85c build: ignore libLLD.so when it is a broken symlink
closes #318
2017-04-13 00:12:44 -04:00
Andrew Kelley
403eb92a62 try harder to find lld 2017-04-11 06:44:45 -04:00
Josh Wolfe
536c35136a fix cmake finding dependencies for ubuntu 2017-03-29 22:18:12 -07:00
Andrew Kelley
d10bbd28e9 use lld instead of system linker 2017-03-13 11:54:56 -04:00
Andrew Kelley
cd31f875a6 update to llvm 4.0 2017-03-10 02:29:01 -05:00
Andrew Kelley
4e7effd3d3 port to llvm 3.9 2016-09-04 18:30:40 -07:00
Andrew Kelley
037283c3b3 build: link against libLLVM.so if available
readme: better instructions for finding native libc headers
2016-04-30 17:17:59 -07:00
Andrew Kelley
76e1541803 update to llvm 3.8.0 2016-03-08 18:56:14 -07:00
Andrew Kelley
194e93a582 add windows os code 2016-02-16 19:42:46 -07:00
Andrew Kelley
3664e8e4e2 use llvm-config to find llvm include dirs 2016-02-15 15:52:19 -07:00
Josh Wolfe
62a689f7f5 fix some of the ubuntu build trouble 2016-02-08 14:34:51 -07:00
Andrew Kelley
fc5ffd32e9 build: prefer llvm-config 2016-02-01 22:38:55 -07:00
Andrew Kelley
0278468479 upgrade to the libclang C++ API
c_import creates a tmp .h file and parses it with libclang,
reporting any errors found.

See #88
2016-01-27 00:01:49 -07:00
Andrew Kelley
3eca42c17b cmake: detect libLLVM.so 2016-01-19 22:13:22 -07:00
Andrew Kelley
890714b8ca Revert "delete parseh"
This reverts commit 18374ea8f1.
2016-01-18 21:28:54 -07:00
Andrew Kelley
18374ea8f1 delete parseh
we'll have to switch to the clang C++ api anyway
we'll revive this code later
2016-01-15 14:16:07 -07:00
Josh Wolfe
180f539f67 cmake needs to be taught a lesson in debian paths 2015-12-06 23:19:03 -07:00
Andrew Kelley
ad3f98c615 parseh command, parses a C .h file and produces extern decls 2015-12-03 16:00:14 -07:00
Andrew Kelley
c3458543c9 build: fix findllvm script 2015-11-25 11:37:43 -07:00
Andrew Kelley
a1771c76c3 build: improve findllvm script 2015-11-25 11:23:25 -07:00
Andrew Kelley
50f0ed918c link against LLVM 2015-08-05 15:23:15 -07:00