Skip to content

Commit

Permalink
lint, license
Browse files Browse the repository at this point in the history
  • Loading branch information
Riyaz Haque committed Jan 16, 2025
1 parent cb8a309 commit d4d2f12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions repo/caliper/package.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright Spack Project Developers. See COPYRIGHT file for details.
# Copyright 2023 Lawrence Livermore National Security, LLC and other
# Benchpark Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
# SPDX-License-Identifier: Apache-2.0

import os
import sys
Expand Down
8 changes: 6 additions & 2 deletions systems/lanl-venado/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ def compiler_configs(self):

def mpi_config(self):
mpi_version = "8.1.30"
gtl = "+gtl" if self.spec.satisfies("compiler=cce") and self.spec.satisfies("+gtl") else "~gtl"
gtl = (
"+gtl"
if self.spec.satisfies("compiler=cce") and self.spec.satisfies("+gtl")
else "~gtl"
)

# TODO: Construct/extract this information from the working set
if self.spec.satisfies("compiler=cce"):
Expand Down Expand Up @@ -212,7 +216,7 @@ def cce_compiler_cfg(self, compiler_version):
- /opt/cray/pe/gcc-libs
- /opt/cray/pe/cce/{y}/cce/aarch64/lib
"""
return template.format(x=rocm_version, y=cce_version)
return template.format(y=compiler_version)

def sw_description(self):
"""This is somewhat vestigial: for the Tioga config that is committed
Expand Down

0 comments on commit d4d2f12

Please sign in to comment.