Fichiers
rocm-systems/projects/rocshmem/internal/continuous_integration/short/archive_path.py
T
Brandon Potter ad4ab69c19 Transfer files from RAD repository
[ROCm/rocshmem commit: ea8f264a11]
2024-07-01 09:57:08 -05:00

16 lignes
490 B
Python

#!/tool/pandora64/.package/python-3.8.0/bin/python3
import absolute_path
import glob
class Archive(absolute_path.PathGlobber):
def __init__(self, args, name=''):
archive_path = args.archive_path
super().__init__(name, args.jenkins_path, archive_path,
args.benchmark_path)
def path_of_build(self, build_id):
path = self._search_path.replace('*/archive', build_id + '/archive')
path = glob.glob(path)
return path[0]