Commit Graph

19 Commits

Author SHA1 Message Date
Joseph Benden b1b47140ea feat: add support for ccache
This introduces basic support for ccache, during packaging builds.

If you are building many packages, it is recommended to manually
increase the maximum size of the ccache cache. This is typically
achieved by modifying `~/.ccache/ccache.conf` and adjusting the
`max_size` setting.

Signed-off-by: Joseph Benden <joe@benden.us>
2019-09-30 12:08:17 +00:00
Kaarle Ritvanen e3a2e14ffa abuild: build in chroot
This patch is based on earlier work by Timo Teräs.
2017-06-27 14:52:50 +03:00
Timo Teräs 42738f43d4 default to host gcc's machine for CBUILD 2016-07-23 06:20:00 +00:00
Andrew Hills da666e00c7 abuild: include MAINTAINER in default abuild.conf
For the sake of completeness, include MAINTAINER as well as
PACKAGER to provide newapkbuild with comment metadata.
2015-06-04 11:53:06 +00:00
Natanael Copa cc43223da1 abuild.conf: default to musl 2014-06-20 08:36:27 +00:00
Natanael Copa 270de19535 abuild.conf: simplify. only set CHOST and let abuild detect the rest 2013-08-01 12:29:03 +00:00
Natanael Copa e2838fbb50 abuild: make it configurable what to cleanup and when
allow user specify if they want uninstall deps, remove srcdir and/or
pkgdir on failure or success.

We introduce CLEANUP and ERROR_CLEANUP config options in
/etc/abuild.conf. Valid values are: pkgdir srcdir deps.
2013-08-01 12:16:57 +00:00
Matt Smith 55af44f026 abuild.conf: updated comment about PACKAGER/newapkbuild 2011-04-14 00:24:43 -05:00
William Pitcock 66966c5ccc Add hints on CARCH/CBUILD for x86_64 and powerpc. 2011-02-09 16:36:19 -06:00
Natanael Copa 8f17e03078 abuild.conf: set CARCH and CBUILD 2010-11-24 08:08:51 +00:00
Natanael Copa 52534d4d51 abuild.conf: add ARCH and minor cleanup 2010-11-19 09:48:53 +00:00
Natanael Copa 9588629399 abuild.conf: added JOBS variable
makes it easier to support parallel builds on non gnu make system
2010-01-07 19:56:12 +00:00
Natanael Copa b529d81469 abuild.conf: added PACKAGER 2009-01-29 11:56:03 +00:00
Natanael Copa 200eb22b52 abuild: added REPODEST
This will let user specify a directory where the repositories are.
Setting REPODEST will override PKGDEST.
2009-01-22 09:08:50 +00:00
Natanael Copa 99f8ff1195 remove -fPIC from CFLAGS. added comments for SRC/PKGDEST 2008-11-27 17:45:48 +00:00
Natanael Copa a6241a05a4 fix bug in abuild cleanpkg. set default CHOST 2008-11-13 10:41:29 +00:00
Linux User d9f5462b34 use colors on messages 2008-11-08 11:05:45 +00:00
Natanael Copa 5a740569bc fixed faulty gcc flag. export MAKEFLAGS 2008-10-22 21:03:22 +00:00
Natanael Copa fdc478bde8 initial commit 2008-10-18 08:09:24 +00:00