[PATCH] build: Place cache file in build directory

Gedare Bloom gedare at rtems.org
Thu Nov 5 17:00:25 UTC 2020


ok I think. the commit message confused me since the c4che was in the
'build/' directory already, now you move to the directory in which the
build happens.

I guess this means if one builds in the source tree and doesn't
specify --out, they will get c4che in rtems.git source? This directory
should be added to gitignore then

On Thu, Nov 5, 2020 at 9:00 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> This improves support for the --out option.
> ---
>  wscript | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/wscript b/wscript
> index 57ec6ff7f7..5f6958dbf3 100755
> --- a/wscript
> +++ b/wscript
> @@ -1135,8 +1135,8 @@ def load_from_yaml(load, ctx, data_by_uid, base, path):
>
>
>  def load_items_in_directory(ctx, ctors, path):
> -    f = ctx.path.make_node(
> -        "build/c4che/" + re.sub(r"[^\w]", "_", path) + ".pickle"
> +    f = ctx.bldnode.make_node(
> +        "c4che/" + re.sub(r"[^\w]", "_", path) + ".pickle"
>      )
>      f.parent.mkdir()
>      cache_file = f.abspath()
> --
> 2.26.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list