Commit graph

767 commits

Author SHA1 Message Date
Meredith L. Patterson
f53f474de2 try to resolve missing bool/true/false problems with perl bindings 2013-12-06 04:27:44 +01:00
Meredith L. Patterson
b794dbf72d SWIGPERL check around bool typedef 2013-12-06 04:03:55 +01:00
Meredith L. Patterson
a811b51241 use whatever compiler CC says to compile perl bindings 2013-12-06 03:55:52 +01:00
Meredith L. Patterson
767afacf6b remove -DHAMMER_INTERNAL__NO_STDARG_H from Makefile.PL too 2013-12-06 03:19:45 +01:00
Meredith L. Patterson
baf7aa23e3 remove -DHAMMER_INTERNAL__NO_STDARG_H from CFLAGS for perl bindings build 2013-12-06 03:16:01 +01:00
Meredith L. Patterson
b8c963db95 try setting CC in the environment for clang+bindings builds to get travis to actually use clang for them 2013-12-05 11:15:55 +01:00
Meredith L. Patterson
7d054b1f92 perl needs swig too 2013-12-05 10:21:10 +01:00
Meredith L. Patterson
97be291096 override perl dependency installation 2013-12-05 10:18:28 +01:00
Meredith L. Patterson
d08cce0da1 add perl to travis matrix 2013-12-05 10:13:15 +01:00
Meredith L. Patterson
df7a7b467a Merge pull request #82 from thequux/perl-bindings
Perl bindings (minus travis-ci)
2013-12-05 01:06:15 -08:00
Dan Hirsch
fab45fe044 Helps to add the perl makefile. Bonus points for including a README 2013-12-05 09:58:30 +01:00
Dan Hirsch
01c45d8453 Added install target for perl 2013-12-05 09:47:45 +01:00
Dan Hirsch
9d0cb859d8 Moved building perl binding lib and running test suite to EU::MM Makefile 2013-12-05 09:45:26 +01:00
Dan Hirsch
58412ed005 Added MakeMaker-based build system for perl bindings 2013-12-05 09:35:24 +01:00
Dan Hirsch
2f3bc9c4b0 Perl tests are now part of the build system 2013-12-05 08:41:28 +01:00
Dan Hirsch
8c44d583e6 All tests pass. 2013-12-04 04:56:47 +01:00
Dan Hirsch
4199ad8758 All tests except attr_bool pass 2013-12-04 04:44:07 +01:00
Dan Hirsch
4eebe57908 Actions work 2013-12-04 01:51:59 +01:00
TQ Hirsch
cafe4cdc17 Merge pull request #79 from jrozner/master
Fix LC_ID_DYLIB for OS X
2013-12-03 14:40:24 -08:00
Joe Rozner
52bdc9d3dc Fix LC_ID_DYLIB for OS X
Wrapping the SHLINKFLAGS in an array rather than as a single string
caused the link flags to be passed to clang double quoted. This cuased
clang to interpret the flags as a string rather than as a flag which
caused the -install_name flag to never be passed to the linker.
2013-12-03 13:28:56 -08:00
Dan Hirsch
1d11527924 Got perl bindings started 2013-12-03 21:29:02 +01:00
TQ Hirsch
544f021849 Add link to go bindings 2013-12-02 15:40:56 -08:00
TQ Hirsch
105a52ebeb Merge pull request #75 from jrozner/master
Fixes for packageconfig
2013-12-02 15:38:02 -08:00
Joe Rozner
1c1d0be0bf Fix include path
Remove hammer from the include path to not look in
{prefix}/include/hammer for hammer/*.h.
2013-12-02 11:56:20 -08:00
Joe Rozner
4f2d06204d Fix pkgconfig input
Don't default the prefix to /usr
2013-12-02 11:35:00 -08:00
Meredith L. Patterson
c6ca2aea8d how to install (eg) python bindings 2013-11-28 22:41:02 -08:00
TQ Hirsch
22a4d39d2f Merge pull request #67 from abiggerhammer/master
Install target for Python
2013-11-28 21:38:41 -08:00
Meredith L. Patterson
add92d09ce remove non-working CFFI bindings 2013-11-28 21:07:35 -08:00
Meredith L. Patterson
5a1b5de9b3 Merge pull request #16 from abiggerhammer/python-bindings
Now with a proper install target!
2013-11-26 20:03:39 -08:00
Meredith L. Patterson
f58ec8ecb7 tidying and a README about this part of the build 2013-11-26 20:00:55 -08:00
Meredith L. Patterson
79f498cdab python bindings install target works. libhammer.so must be on LD_LIBRARY_PATH. 2013-11-26 19:54:09 -08:00
Meredith L. Patterson
20bf8c4b79 distutils and working tests! 2013-11-26 19:25:41 -08:00
Meredith L. Patterson
53bc886e2f distutils being invoked from scons; ld is failing with 'libhammer.a: archive has no index, run ranlib to add one' 2013-11-26 19:09:27 -08:00
Meredith L. Patterson
1e0f3744f8 my god, it's a distutils script 2013-11-26 18:12:28 -08:00
Meredith L. Patterson
022a9f30c6 Update README.md 2013-11-26 16:29:30 -08:00
Meredith L. Patterson
63e984d643 Update README.md 2013-11-26 16:27:28 -08:00
TQ Hirsch
bf67809ab9 Merge pull request #66 from abiggerhammer/master
Python bindings
2013-11-26 16:21:08 -08:00
Meredith L. Patterson
55316e2f03 Merge pull request #15 from abiggerhammer/python-bindings
Python bindings
2013-11-26 16:10:04 -08:00
Meredith L. Patterson
f611a49ab2 cpp stuff doesn't belong on python-bindings branch 2013-11-26 16:04:13 -08:00
Meredith L. Patterson
75255d2e47 SCons doesn't support Python 3! So 2.7 only it is. Oh well. 2013-11-26 15:55:23 -08:00
Meredith L. Patterson
bd16038129 Python 2.6 is unsupported because the PyCapsule API was backported from Python 3 to 2.7. Trying Python 3.3 and 3.2 just for grins. 2013-11-26 15:53:30 -08:00
Meredith L. Patterson
5dea57c4d4 build matrix for python 2013-11-26 15:45:34 -08:00
Meredith L. Patterson
1e7553d3df build//src/bindings/python/hammer_tests.py still hangs around but everything else is cleaned up. 2013-11-26 15:40:15 -08:00
Meredith L. Patterson
f21954eecd everything's working for new-build except Clean() 2013-11-26 15:29:28 -08:00
Meredith L. Patterson
ef235136d9 Merge branch 'python-bindings' of https://github.com/abiggerhammer/hammer into python-bindings
Conflicts:
	src/bindings/python/SConscript
	src/bindings/python/hammer_tests.py
	src/bindings/swig/hammer.i
	src/hammer.h
	src/parsers/choice.c
	src/parsers/sequence.c
2013-11-26 11:35:55 -08:00
Meredith L. Patterson
2ee82f3ac7 Merge branch 'python-bindings' of https://github.com/thequux/hammer into python-bindings
Conflicts:
	src/bindings/python/SConscript
	src/bindings/python/hammer_tests.py
	src/bindings/swig/hammer.i
	src/hammer.h
2013-11-26 11:25:22 -08:00
Dan Hirsch
cdc7ea8381 Finished Python bindings 2013-11-25 02:49:02 -06:00
Dan Hirsch
43357bbcda AttrBool working 2013-11-24 18:43:14 -06:00
Dan Hirsch
294bca3fce Cleaned up python bindings interface a bit; now returns strings rather than character codes if appropriate 2013-11-23 19:53:58 -06:00
Dan Hirsch
26c358accf Got rid of accessors in Python; made h_action work 2013-11-23 16:40:57 -06:00