File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 66import argparse
77import os
88from pathlib import Path
9+ import platform
910import shlex
1011import shutil
1112import subprocess
1718DEFAULT_SOURCES_DIR = THEROCK_DIR / "sources"
1819PATCHES_DIR = THEROCK_DIR / "patches"
1920
21+ def is_windows () -> bool :
22+ return platform .system () == "Windows"
2023
2124def setup_repo_tool () -> Path :
2225 """Sets up https://gerrit.googlesource.com/git-repo/, downloading as needed."""
@@ -118,7 +121,14 @@ def populate_ancillary_sources(args):
118121 step to fixing the underlying software packages."""
119122 populate_submodules_if_exists (args .dir / "rocprofiler-register" )
120123 populate_submodules_if_exists (args .dir / "rocprofiler-sdk" )
121- populate_submodules_if_exists (args .dir / "rocprofiler-systems" )
124+
125+ # TODO(#36): Enable once rocprofiler-systems can be checked out on Windows
126+ # error: invalid path 'src/counter_analysis_toolkit/scripts/sample_data/L2_RQSTS:ALL_DEMAND_REFERENCES.data.reads.stat'
127+ # Upstream issues:
128+ # https://github.com/ROCm/rocprofiler-systems/issues/105
129+ # https://github.com/icl-utk-edu/papi/issues/321
130+ if not is_windows ():
131+ populate_submodules_if_exists (args .dir / "rocprofiler-systems" )
122132
123133
124134def populate_submodules_if_exists (git_dir : Path ):
You can’t perform that action at this time.
0 commit comments