Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
Use conda compilers
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
  • Loading branch information
jjacobelli committed May 11, 2022
1 parent 07289a1 commit 22207dc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
11 changes: 11 additions & 0 deletions conda/recipes/cusignal/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
c_compiler_version:
- 9

cxx_compiler_version:
- 9

cuda_compiler:
- nvcc

sysroot_version:
- "2.17"
11 changes: 8 additions & 3 deletions conda/recipes/cusignal/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ build:
noarch: python
script_env:
- VERSION_SUFFIX
- CC
- CXX
- CUDAHOSTCXX
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]

requirements:
build:
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} {{ cuda_version }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
host:
- python
- setuptools
run:
Expand Down

0 comments on commit 22207dc

Please sign in to comment.