Skip to content

Commit

Permalink
Iterate
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident committed Feb 26, 2025
1 parent fb0edef commit 19efadb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
36 changes: 18 additions & 18 deletions build_tools/fetch_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def main(argv):
"half",
"HIP",
"HIPIFY",
"llvm-project",
# "llvm-project",
"rccl",
"rocm_smi_lib",
"rocm-cmake",
Expand All @@ -217,30 +217,30 @@ def main(argv):
nargs="+",
type=str,
default=[
"hipBLAS-common",
"hipBLAS",
"hipBLASLt",
"hipCUB",
"hipFFT",
"hipRAND",
"hipSOLVER",
"hipSPARSE",
"Tensile",
"rocBLAS",
"rocFFT",
"rocPRIM",
"rocRAND",
"rocSOLVER",
"rocSPARSE",
"rocThrust",
# "hipBLAS-common",
# "hipBLAS",
# "hipBLASLt",
# "hipCUB",
# "hipFFT",
# "hipRAND",
# "hipSOLVER",
# "hipSPARSE",
# "Tensile",
# "rocBLAS",
# "rocFFT",
# "rocPRIM",
# "rocRAND",
# "rocSOLVER",
# "rocSPARSE",
# "rocThrust",
],
)
parser.add_argument(
"--ml-framework-projects",
nargs="+",
type=str,
default=[
"MIOpen",
# "MIOpen",
],
)
args = parser.parse_args(argv)
Expand Down
16 changes: 10 additions & 6 deletions packaging/linux-portable/build_portable.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ def do_build(args: argparse.Namespace, *, rest_args: list[str]):
args.docker,
"run",
"--rm",
"-t",
"-i",
"--mount",
f"type=bind,src={output_dir},dst=/therock/output",
"--mount",
f"type=bind,src={args.repo_dir},dst=/therock/src",
]
if sys.stdin.isatty():
cl.extend(["-i", "-t"])
cl.extend(
[
"--mount",
f"type=bind,src={output_dir},dst=/therock/output",
"--mount",
f"type=bind,src={args.repo_dir},dst=/therock/src",
]
)

if args.interactive:
cl.extend(
Expand Down

0 comments on commit 19efadb

Please sign in to comment.