SWDEV-365820 - Refactor build path
This is an initial change before we refactor the build/link paths for kernel launches for HIP. This current change is needed as compiler was setting some dump file which needed fs access which has slowdowns for NFS mounted file systems Change-Id: I828f9bb04d789b4f8c05c1ed08767f325efeb47c
Bu işleme şunda yer alıyor:
@@ -690,7 +690,7 @@ bool Program::compileImplLC(const std::string& sourceCode,
|
||||
driverOptions.push_back("-mwavefrontsize64");
|
||||
}
|
||||
driverOptions.push_back("-mcode-object-version=" + std::to_string(options->oVariables->LCCodeObjectVersion));
|
||||
|
||||
|
||||
// Iterate through each source code and dump it into tmp
|
||||
std::fstream f;
|
||||
std::vector<std::string> headerFileNames(headers.size());
|
||||
@@ -1457,13 +1457,6 @@ bool Program::initBuild(amd::option::Options* options) {
|
||||
return false;
|
||||
}
|
||||
|
||||
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;
|
||||
bool tempFile = false;
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle