Fixing normal case.
@@ -962,7 +962,7 @@ def TensileCreateLibrary():
argParser.add_argument("--no-short-file-names", dest="ShortNames", action="store_false")
argParser.add_argument("--library-print-debug", dest="LibraryPrintDebug", action="store_true")
argParser.add_argument("--no-library-print-debug", dest="LibraryPrintDebug", action="store_false")
- argParser.add_argument("--no-enumerate", dest="ROCmAgentEnumeratorPath", action="store_false")
+ argParser.add_argument("--no-enumerate", action="store_true")
argParser.add_argument("--embed-library", dest="EmbedLibrary",
help="Embed (new) library files into static variables. Specify the name of the library.")
@@ -984,8 +984,8 @@ def TensileCreateLibrary():
arguments["LibraryPrintDebug"] = args.LibraryPrintDebug
arguments["CodeFromFiles"] = False
arguments["EmbedLibrary"] = args.EmbedLibrary
- if hasattr(args, "ROCmAgentEnumeratorPath"):
- arguments["ROCmAgentEnumeratorPath"] = args.ROCmAgentEnumeratorPath
+ if args.no_enumerate:
+ arguments["ROCmAgentEnumeratorPath"] = False
assignGlobalParameters(arguments)
print1("# CodeObjectVersion from TensileCreateLibrary: %s" % arguments["CodeObjectVersion"])
