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

Use conda compilers #461

Merged
merged 1 commit into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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