chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] A cache system for the build environment


From: Michele La Monaca
Subject: [Chicken-hackers] [PATCH] A cache system for the build environment
Date: Mon, 4 Feb 2013 20:43:37 +0100

The goal of this patch is to cache build-related variables to avoid to
repeat them in every single make invocation after the first one.  As I
don't yet grasp the entire build process, I am not in a good position
to evaluate possible side-effects even if the patch is rather
elementary.  In this regard please consider the patch just as a
proof-of-concept to experiment with the idea.  In my opinion, this
system has the benefit to achieve a more streamlined and less
error-prone build process. For example:

make PREFIX=/tmp ARCH=x86-64
make install
make check

or in a more advanced use case:

make PREFIX=/tmp/chicken ARCH=x86-64
vi file_to_be_fixed
make
make install
make check
make clean
make PREFIX=/usr/local ARCH=x86-64
make uninstall
make install

Variables are stored in config.make which can be manually edited
beforehand or at any later stage. A "make clean" should have the
effect of resetting the environment (i.e. emptying conf.make) but it's
not yet implemented.  The patch includes my previous patch on
autodetection for the two are semantically connected and should be
tested togheter.

Regards,
mikele

Attachment: 0001-cache-for-build-environment.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]