Skip to content

Commit

Permalink
Revert shortening when it concerns the real build option cuda_compute…
Browse files Browse the repository at this point in the history
…_capabilities, and not the local variable
  • Loading branch information
Caspar van Leeuwen committed Jul 22, 2024
1 parent 49455ae commit f17edd1
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_cc')
cuda_cc = build_option('cuda_cc') 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 f17edd1

Please sign in to comment.