Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild for CUDA 12 #4

9 changes: 8 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
'z_v1_map'
] %}

{% set cuda_major = environ.get("cuda_compiler_version", "11.2").split(".")[0]|int %}

package:
name: libmagma
version: {{ version }}
Expand All @@ -97,7 +99,7 @@ source:

build:
number: 2
skip: true # [cuda_compiler_version=="None"]
skip: true # [cuda_compiler_version == "None"]
skip: true # [cuda_compiler_version == "10.2"]
skip: true # [cuda_compiler_version == "11.0"]
skip: true # [cuda_compiler_version == "11.1"]
Expand All @@ -121,6 +123,11 @@ requirements:
- ninja
- python
host:
{% if cuda_major == 12 %}
- cuda-cudart-dev
carterbox marked this conversation as resolved.
Show resolved Hide resolved
- libcublas-dev
- libcusparse-dev
{% endif %}
- liblapack
- libblas

Expand Down