diff --git a/tensilelite/Tensile/TensileCreateLibrary.py b/tensilelite/Tensile/TensileCreateLibrary.py index 622369f9e..986d295e5 100644 --- a/tensilelite/Tensile/TensileCreateLibrary.py +++ b/tensilelite/Tensile/TensileCreateLibrary.py @@ -1242,11 +1242,6 @@ def splitExtraParameters(par): help="Include logic files in directories named 'Experimental'.") argParser.add_argument("--no-enumerate", action="store_true", help="Do not run rocm_agent_enumerator.") argParser.add_argument("--package-library", dest="PackageLibrary", action="store_true", default=False) - argParser.add_argument("--embed-library", dest="EmbedLibrary", - help="Embed (new) library files into static variables. Specify the name of the library.") - - argParser.add_argument("--embed-library-key", dest="EmbedLibraryKey", default=None, - help="Access key for embedding library files.") argParser.add_argument("--version", help="Version string to embed into library file.") argParser.add_argument("--generate-manifest-and-exit", dest="GenerateManifestAndExit", action="store_true", default=False, help="Output manifest file with list of expected library objects and exit.") @@ -1311,7 +1306,6 @@ def splitExtraParameters(par): arguments["ShortNames"] = args.ShortNames arguments["LibraryPrintDebug"] = args.LibraryPrintDebug arguments["CodeFromFiles"] = False - arguments["EmbedLibrary"] = args.EmbedLibrary arguments["LogicFormat"] = args.LogicFormat arguments["LibraryFormat"] = args.LibraryFormat if args.no_enumerate: @@ -1496,18 +1490,6 @@ def validLogicFile(p: Path): if globalParameters["PackageLibrary"] or globalParameters["SeparateArchitectures"]: theMasterLibrary = list(masterLibraries.values())[0] - if args.EmbedLibrary is not None: - embedFileName = os.path.join(outputPath, "library/{}.cpp".format(args.EmbedLibrary)) - with EmbeddedData.EmbeddedDataFile(embedFileName) as embedFile: - - ext = ".yaml" if globalParameters["LibraryFormat"] == "yaml" else ".dat" - embedFile.embed_file(theMasterLibrary.cpp_base_class, masterFile + ext, nullTerminated=True, - key=args.EmbedLibraryKey) - - for co in Utils.tqdm(codeObjectFiles): - embedFile.embed_file("SolutionAdapter", co, nullTerminated=False, - key=args.EmbedLibraryKey) - if args.BuildClient: print1("# Building Tensile Client") ClientExecutable.getClientExecutable(outputPath)