Skip to content

Commit

Permalink
Revert shortening when it's really about the cuda compute capabilitie…
Browse files Browse the repository at this point in the history
…s build option, instead of the local var
  • Loading branch information
Caspar van Leeuwen committed Jul 22, 2024
1 parent f17edd1 commit 37a473d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/framework/easyconfig/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def template_constant_dict(config, ignore=None, skip_lower=None, toolchain=None)

# step 6. CUDA compute capabilities
# Use the commandline / easybuild config option if given, else use the value from the EC (as a default)
cuda_cc = build_option('cuda_cc') or config.get('cuda_compute_capabilities')
cuda_cc = build_option('cuda_compute_capabilities') or config.get('cuda_compute_capabilities')
if cuda_cc:
template_values['cuda_compute_capabilities'] = ','.join(cuda_cc)
template_values['cuda_cc_space_sep'] = ' '.join(cuda_cc)
Expand Down

0 comments on commit 37a473d

Please sign in to comment.