Skip to content

Commit

Permalink
Handle pyproject.toml before cuda_version
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Aug 6, 2024
1 parent 5ade14d commit 96fb694
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conda/recipes/pynvjitlink/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
load_file="pynvjitlink/VERSION",
regex_pattern="(?P<value>.*)"
)[0] %}
{% set project_data = data["project"] %}
{% set project_urls = project_data["urls"] %}

{% if cuda_version is undefined %}
{% set cuda_version = load_file_regex(
load_file="pynvjitlink/CUDA_VERSION",
regex_pattern="(?P<value>.*)"
)[0] %}
{% endif %}
{% set project_data = data["project"] %}
{% set project_urls = project_data["urls"] %}

package:
name: pynvjitlink
Expand Down

0 comments on commit 96fb694

Please sign in to comment.