SWDEV-274766 - Fix temporary file name on Windows
Change-Id: Ie06e0d14ab27f40b230ed6051cf95f4902f07c7a
Ta zmiana jest zawarta w:
%! (template.HTML=
Vladislav Sytchenko)złożyło 2021-03-04 14:38:46 -05:00
1 rodzic
95e3a6d985
złożenie
8bb7399323
Plik 1 zmieniony
+6
-1
@@ -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
Zablokuj użytkownika