mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
fix cross compile bug (#2415)
This commit is contained in:
parent
1e03ce84eb
commit
5ab7041fa7
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ TargetFeature GetTargetInfo(const codegen::CodeGenSettings& settings) {
|
|||
TargetFeature feature;
|
||||
|
||||
std::string target_str = "";
|
||||
if (settings.HasOption(nuphar::kNupharCodeGenTarget) && settings.HasOption(nuphar::kNupharCachePath)) {
|
||||
if (settings.HasOption(nuphar::kNupharCodeGenTarget)) {
|
||||
target_str = settings.GetOptionValue(nuphar::kNupharCodeGenTarget);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue