Skip to content

Commit

Permalink
exclude dbgsym asan
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivamd committed Oct 18, 2024
1 parent 6275997 commit 7a53322
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rocminstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# Modified by: Sid Srinivasan (sid.srinivasan@amd.com)
#
# Download and install a specific ROCm version
# V1.79: exclude dbgsym and -asan packages
# V1.78: update ubuntu for rocm amdgpu repo cross dependencies
# V1.77: remove prints
# V1.76: remove miopen-hip-gfx miopenkernel
Expand Down Expand Up @@ -1279,7 +1280,7 @@ def download_install_rocm_deb(args, rocmbaseurl, ubuntutype, ubuntudist=None):
# --destdir DESTDIR directory to download rpm for installation
#
if __name__ == "__main__":
parser = argparse.ArgumentParser(description=('[V1.78]rocminstall.py: utility to '
parser = argparse.ArgumentParser(description=('[V1.79]rocminstall.py: utility to '
' download and install ROCm packages for specified rev'
' (dkms, kernel headers must be installed, requires sudo privilege) '),
prefix_chars='-')
Expand Down Expand Up @@ -1408,7 +1409,7 @@ def download_install_rocm_deb(args, rocmbaseurl, ubuntutype, ubuntudist=None):
sys.exit(1)

# Log version and date of run
print("Running V1.78 rocminstall.py utility for OS: " + ostype + " on: " + str(datetime.datetime.now()))
print("Running V1.79 rocminstall.py utility for OS: " + ostype + " on: " + str(datetime.datetime.now()))

#
# Set pkgtype to use based on ostype
Expand Down Expand Up @@ -1519,6 +1520,8 @@ def download_install_rocm_deb(args, rocmbaseurl, ubuntutype, ubuntudist=None):
if args.nomiopenkernels is True:
pkglist = [ x for x in pkglist if "miopenkernel" not in x ]
pkglist = [ x for x in pkglist if "miopen-hip-gfx" not in x ]
pkglist = [ x for x in pkglist if "dbgsym" not in x ]
pkglist = [ x for x in pkglist if "-asan" not in x ]

# if withrocdecode is not set, remove rocdecode package
if args.withrocdecode is False:
Expand Down

0 comments on commit 7a53322

Please sign in to comment.