Skip to content

sintef-ocean/conan-miniconda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSVC Conan

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.

How to use this package

  1. Add remote to conan's package remotes:

    $ conan remote add sintef https://artifactory.smd.sintef.no/artifactory/api/conan/conan-local
  2. 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

Package options

Option Default Domain
channels conda-forge Comma separated list
packages flang,clangdev,perl,libflang Comma separated list

Known recipe issues

  • The conda virtual environment is not activated by default. To use in a conan recipe, you need an active RunEnvironment and then call conda activate && <your command> in a self.run
  • The installation interferes with other conda installations. It uses default (global) locations for some settings (see conda config --show)

About

Conan recipe for miniconda installer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages