diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-09-25 13:55:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-25 13:55:23 +0200 |
commit | 1fec36f7ccadd5f7dcf2bb59b0654dc53653b0f3 (patch) | |
tree | d326f7936b3dec5c0d61349047516a67127da7a6 /python/conda/libastra/meta.yaml | |
parent | 6e9fb3ec670863b62006288cd8bba5b773530a53 (diff) | |
parent | d621b2ceed23f4ecc945b00ffd6e859b70b89b50 (diff) | |
download | astra-1fec36f7ccadd5f7dcf2bb59b0654dc53653b0f3.tar.gz astra-1fec36f7ccadd5f7dcf2bb59b0654dc53653b0f3.tar.bz2 astra-1fec36f7ccadd5f7dcf2bb59b0654dc53653b0f3.tar.xz astra-1fec36f7ccadd5f7dcf2bb59b0654dc53653b0f3.zip |
Merge pull request #214 from ahendriksen/CI-use-conda-c-compiler-toolchain
Use conda compiler toolchain for conda builds
Diffstat (limited to 'python/conda/libastra/meta.yaml')
-rw-r--r-- | python/conda/libastra/meta.yaml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/python/conda/libastra/meta.yaml b/python/conda/libastra/meta.yaml index 59c3a09..407929b 100644 --- a/python/conda/libastra/meta.yaml +++ b/python/conda/libastra/meta.yaml @@ -8,21 +8,22 @@ source: build: number: 0 - script_env: - - CC # [linux] - - CXX # [linux] + string: cuda_{{ cudatoolkit }} # [linux] requirements: build: - - {{compiler('c')}} # [win] + - {{ compiler('c') }} # [win or linux] + - {{ compiler('cxx') }} # [linux] - boost # [osx] - automake # [osx] - autoconf # [osx] - libtool # [osx] + host: + - boost # [osx or linux] - cudatoolkit {{ cudatoolkit }} # [linux] - run: - - cudatoolkit {{ cudatoolkit }} # [linux] + # See: https://github.com/conda-forge/conda-forge.github.io/issues/687#issuecomment-460095230 + - {{ pin_compatible('cudatoolkit', max_pin='x.x') }} # [linux] about: home: http://www.astra-toolbox.com |