Add code copy commands to PrintCodeCommands
@@ -189,6 +189,9 @@ def buildSourceCodeObjectFile(CxxCompiler, outputPath, kernelFile):
extractedCOs = [os.path.join(buildPath, name) for name in archCoFilenames]
destCOs = [os.path.join(destDir, arch, name) for name in archCoFilenames]
destCosList += destCOs
+ if globalParameters["PrintCodeCommands"]:
+ print ("# copy source code objects : ", extractedCOs)
+ print ("# to dest source code objects : ", destCOs)
for (src, dst) in zip(extractedCOs, destCOs):
shutil.copyfile(src, dst)
else:
