From d1944bea65521fc4851d95036e4f9bee11d72474 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 11 Sep 2023 09:12:14 +1100 Subject: [PATCH] re-add compiler to jinja_context-namespace --- conda_build/jinja_context.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conda_build/jinja_context.py b/conda_build/jinja_context.py index fe81c19a0b..9d507e43a6 100644 --- a/conda_build/jinja_context.py +++ b/conda_build/jinja_context.py @@ -528,6 +528,10 @@ def _target(language, config, permit_undefined_jinja=False, component="compiler" return package +# ensure we have compiler in namespace +compiler = partial(_target, component="compiler") + + def ccache(method, config, permit_undefined_jinja=False): config.ccache_method = method return "ccache"