Skip to content

Commit

Permalink
Now USE_CUDA is defined according to the variant being built by conda…
Browse files Browse the repository at this point in the history
… build.
  • Loading branch information
sandeepd-nv committed Oct 27, 2023
1 parent a562200 commit a5e7405
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conda/conda-build/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ build:
- CMAKE_CUDA_COMPILER_LAUNCHER
{% if not gpu_enabled_bool %}
- CPU_ONLY=1
- USE_CUDA=OFF
track_features:
- cpu_only
{% else %}
- USE_CUDA=ON
{% endif %}
{% if debug_build_bool %}
- DEBUG_BUILD=1
Expand Down

0 comments on commit a5e7405

Please sign in to comment.