summaryrefslogtreecommitdiffstats
path: root/python/conda/libastra/meta.yaml
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-09-25 13:55:23 +0200
committerGitHub <noreply@github.com>2019-09-25 13:55:23 +0200
commit1fec36f7ccadd5f7dcf2bb59b0654dc53653b0f3 (patch)
treed326f7936b3dec5c0d61349047516a67127da7a6 /python/conda/libastra/meta.yaml
parent6e9fb3ec670863b62006288cd8bba5b773530a53 (diff)
parentd621b2ceed23f4ecc945b00ffd6e859b70b89b50 (diff)
downloadastra-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.yaml13
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