Skip to content

Commit

Permalink
Trying script_env
Browse files Browse the repository at this point in the history
  • Loading branch information
ramilbakhshyiev committed May 20, 2024
1 parent c8d836e commit 9e26015
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions conda/faiss-gpu/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ outputs:
string: "h{{ PKG_HASH }}_{{ number }}_cuda{{ cudatoolkit }}{{ suffix }}"
run_exports:
- {{ pin_compatible('libfaiss', exact=True) }}
env:
{% if cudatoolkit == '11.4.4' %}
- FAISS_FLATTEN_CONDA_INCLUDES: "1"
{% endif %}
script_env:
- CUDA_ARCHS
{% if cudatoolkit == '11.4.4' %}
- FAISS_FLATTEN_CONDA_INCLUDES = "1"
{% endif %}
requirements:
build:
- {{ compiler('cxx') }}
Expand Down

0 comments on commit 9e26015

Please sign in to comment.