Conan.io recipe for miniconda.
The recipe helps to install miniconda on windows, setup channels and install packages. The package is usually consumed as a build requirement.
The default options is configured to allow unattended installation to get flang
, clang-cl
on windows.
-
Add remote to conan's package remotes:
$ conan remote add sintef https://artifactory.smd.sintef.no/artifactory/api/conan/conan-local
-
Use the conda environment
$ conan install miniconda/4.9.2@sintef/testing ` -g virtualenv ` -o miniconda:packages=flang ` -o miniconda:channels=conda-forge ` --build missing $ activate.bat $ conda activate $ flang --version
Option | Default | Domain |
---|---|---|
channels | conda-forge | Comma separated list |
packages | flang,clangdev,perl,libflang | Comma separated list |
- The conda virtual environment is not activated by default. To use in a conan recipe, you need an active
RunEnvironment
and then callconda activate && <your command>
in aself.run
- The installation interferes with other conda installations. It uses default (global) locations for some settings (see
conda config --show
)