Skip to content

Commit

Permalink
Use conda compilers
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <[email protected]>
  • Loading branch information
jjacobelli committed Mar 7, 2022
1 parent fa4e63c commit 71679a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
11 changes: 4 additions & 7 deletions conda/recipes/cucim/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,14 @@ source:
build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda_{{ cuda_major }}_py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX

requirements:
build:
- cmake >=3.18.0
- {{ compiler("c") }}
- {{ compiler("cxx") }}
- sysroot_linux-64 2.17
- {{ compiler("c") }} 9
- {{ compiler("cxx") }} 9
- sysroot_linux-64 2.17 # [linux64]
- sysroot_linux-aarch64 2.17 # [aarch64]
host:
- cudatoolkit {{ cuda_version }}.*
- python {{ python_version }}.*
Expand Down
4 changes: 0 additions & 4 deletions conda/recipes/libcucim/conda_build_config.yaml

This file was deleted.

11 changes: 4 additions & 7 deletions conda/recipes/libcucim/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@ source:
build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX

requirements:
build:
- cmake >=3.18.0
- {{ compiler("c") }}
- {{ compiler("cxx") }}
- sysroot_linux-64 2.17
- {{ compiler("c") }} 9.4
- {{ compiler("cxx") }} 9.4
- sysroot_linux-64 2.17 # [linux64]
- sysroot_linux-aarch64 2.17 # [aarch64]
- yasm # [x86_64]
host:
- cudatoolkit {{ cuda_version }}.*
Expand Down

0 comments on commit 71679a3

Please sign in to comment.