Adrien Destugues
c8ecfce34c
jam: add an option to generate compile_commands.json
...
Based on Boost Jam patch: https://github.com/boostorg/build/pull/133
retrofitted to our version. Only the rules whose name contains Cc or C++
are stored there. This can be improved if it's not good enough.
The commands are generated only as they are run. Unfortunately I think
with Jam there isn't really a way to do otherwise.
Change-Id: Ic5d44dc27baa2a2e4157324f6c5a228ab0366afe
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/3260
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-09-28 07:08:15 +00:00
Adrien Destugues
259af3cf06
Increase MAXSYM and add sanity checks.
...
I had jam crash in strange ways because a stack-allocatted aray was
overflowing. Double the limit, and add sanity checks with exit and clear
error messages in case it happens again.
2017-07-16 19:40:50 +02:00
Jérôme Duval
f625dd9f94
Revert "jam: Fix build/run on Windows."
...
This reverts commit 148cc99040
.
It broke the build on Linux.
2015-08-07 17:22:50 +02:00
Augustin Cavalier
148cc99040
jam: Fix build/run on Windows.
...
Only works when compiled in 32-bit mode, as there's a whole bunch
of pointer arithmetic that depends on "int" being 32bit, not 64bit.
2015-07-23 16:45:11 -04:00
François Revol
abc7211782
jam: Bump MAXLINE to 120000
...
It was still too low for another case.
Now it seems to work fine here, including for jam clean.
2013-09-30 04:00:50 +02:00
François Revol
a87e28a706
jam: Lower MAXLINE down to 100k
...
even 140k was too large here for jam clean to work.
2013-09-30 03:27:33 +02:00
François Revol
d9e13d3607
jam: update MAXLINE to fix build issues for ARM
...
Looks like it wasn't enough yet after the PM merge.
However we still have an issue with a silently failed Link action
which actually is smaller than the max line size...
2013-09-29 22:37:07 +02:00
Ithamar R. Adema
a1d1cf45a5
jam: update MAXLINE to fix build issues for ARM
...
Jam is reporting "Link actions too long" so increase it.
2013-09-15 05:05:51 +02:00
François Revol
5e6384156e
I now get Archive actions too long (max 40960)! on OSX, so enlarge it a little.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-08 22:15:37 +00:00
Ingo Weinhold
7b6de8037d
Ported to Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-28 14:14:44 +00:00
Ingo Weinhold
4fd84c5a28
Patch by Samuel Rodriguez Perez: Define OSPLAT=X86 for AMD 64.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-22 21:30:45 +00:00
Axel Dörfler
392bb39478
I couldn't do a full clean build without this any longer using Linux and GCC 2.95.3 (Archive action too
...
long), YMMV.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-04 07:34:07 +00:00
Axel Dörfler
c1ffb3028e
Don't suppress OSPLAT to be set correctly on FreeBSD (what the hell??).
...
Bugfix provided by Alexander Deynichenko.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 17:40:47 +00:00
Ingo Weinhold
ecc89c9a6a
Moved jam into the buildtools modules, where it belongs.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 18:40:48 +00:00