SWDEV-274766 - Fix temporary file name on Windows
Change-Id: Ie06e0d14ab27f40b230ed6051cf95f4902f07c7a
[ROCm/clr commit: 8bb7399323]
This commit is contained in:
@@ -1423,7 +1423,12 @@ bool Program::initBuild(amd::option::Options* options) {
|
||||
return false;
|
||||
}
|
||||
|
||||
options->setPerBuildInfo(device().isa().targetId(), clBinary()->getEncryptCode(), true);
|
||||
std::string targetID = device().isa().targetId();
|
||||
#if defined(_WIN32)
|
||||
// Replace special charaters that are not supported by Windows FS.
|
||||
std::replace(targetID.begin(), targetID.end(), ':', '@');
|
||||
#endif
|
||||
options->setPerBuildInfo(targetID.c_str(), clBinary()->getEncryptCode(), true);
|
||||
|
||||
// Elf Binary setup
|
||||
std::string outFileName;
|
||||
|
||||
Reference in New Issue
Block a user