Bootstrapping {mini}conda from scratch #1255
Replies: 3 comments 7 replies
-
Ping @ilanschnell, @nehaljwani, @leej3, @jakirkham, @isuruf |
Beta Was this translation helpful? Give feedback.
-
I'm in favour of adding the variable However, I'm not sure if we want to support it for the dependencies of the Note that we bootstrapped |
Beta Was this translation helpful? Give feedback.
-
That cross-compilers can be used to do bootstrapping is right, but overcomplicate bootstrap process to a different target without much use. A cross-compiler (especially one for a new architecture) contains likely setup/configure/env bugs, and is by default not fully tested for given architecture, as remote-testsuite run is not a standard feature of common bootstrap of a cross-compiler. So in general it is to be preferred to use actual native system-compiler, and do a full 3 stage bootstrap with its test-runs, which detects early configure/code-gen/etc issues related to the compiler. |
Beta Was this translation helpful? Give feedback.
-
From: conda-forge/conda-forge-pinning-feedstock#1187
During the process of bootstrapping packages to a new architecture, it is sometimes necessary to build packages in bootstrapping mode. For example, when the full functionality of the package isn't available yet, but the package is necessary to build other packages will make the full functionality available later (in a regular non-bootstrapping) build.
In order to decide whether or not a build is run in bootstrapping mode, I suggest adding a new variable to conda_build_config.yaml named bootstrapping whose value is either "yes" or "no".
In a recipe, we can then distinguish packages created by using:
For example, we can disable build requirements the following way:
In some cases it may the necessary to have access to the bootstrapping variable from within build.sh:
Beta Was this translation helpful? Give feedback.
All reactions