On Thu, Jan 29, 2015 at 9:14 AM, Floris Bruynooghe <
fl...@devork.be> wrote:
> Hi,
>
> It would be nice to be able to customise a recipe at build time. One use
> case is e.g. to enable or disable applying of branding patches (via jinjan2
> templating of the meta.yaml file). Another would be for enabling
> bootrapping of an environment in build.sh, e.g. normally you depend on gcc
> but when bootstrapping you do not. What I was trying to do was this:
>
> # build.sh
> if [ -z "$BUILD_BOOSTRAP" ]; then
> conda create -y --use-local -p reqs gcc
> export PATH=$(pwd)/reqs/bin:$PATH
> fi
> ./configure --prefix=$PREFIX
> make
> make install
What exactly is your build process here? Are you planning on
rebuilding gcc with the same version of itself?
I personally would just manage this by bumping build numbers, and keep
the build.sh static.
Aaron Meurer
>
> However the environment which builld.sh sees is very tightly controlled and
> environment variables are not getting passed through. Is there any
> mechanism to achieve this which I am missing?
>
> Regards,
> Floris
>
> --
> You received this message because you are subscribed to the Google Groups
> "conda - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
conda+un...@continuum.io.
> To post to this group, send email to
co...@continuum.io.
> Visit this group at
http://groups.google.com/a/continuum.io/group/conda/.