Skip to content

Commit

Permalink
Fix cuda version
Browse files Browse the repository at this point in the history
  • Loading branch information
Riyaz Haque committed Oct 24, 2024
1 parent 7f62a7a commit 20bf8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/sys_repo/systems/sierra/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def generate_description(self, output_dir):
f.write(self.sw_description())

def system_specific_variables(self):
return {"cuda_arch": "70", "default_cuda_version": f"\"{self.spec.variants['cuda'][0]}\""}
return {"cuda_arch": "70", "default_cuda_version": self.spec.variants["cuda"][0].replace("-",".")}

def external_pkg_configs(self):
externals = Sierra.resource_location / "externals"
Expand Down

0 comments on commit 20bf8b8

Please sign in to comment.