From 22207dc0428a918ff18d9da6bf0760dc32a44e16 Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Mon, 7 Mar 2022 15:30:58 +0100 Subject: [PATCH] Use conda compilers Signed-off-by: Jordan Jacobelli --- conda/recipes/cusignal/conda_build_config.yaml | 11 +++++++++++ conda/recipes/cusignal/meta.yaml | 11 ++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 conda/recipes/cusignal/conda_build_config.yaml diff --git a/conda/recipes/cusignal/conda_build_config.yaml b/conda/recipes/cusignal/conda_build_config.yaml new file mode 100644 index 00000000..322fe6fa --- /dev/null +++ b/conda/recipes/cusignal/conda_build_config.yaml @@ -0,0 +1,11 @@ +c_compiler_version: + - 9 + +cxx_compiler_version: + - 9 + +cuda_compiler: + - nvcc + +sysroot_version: + - "2.17" diff --git a/conda/recipes/cusignal/meta.yaml b/conda/recipes/cusignal/meta.yaml index b8cceca7..20e3d912 100644 --- a/conda/recipes/cusignal/meta.yaml +++ b/conda/recipes/cusignal/meta.yaml @@ -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: