Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 524f57b

Browse files
fengleitiandiyessi
authored andcommitted
fix bug that fail the version finder (#2568)
1 parent 177570a commit 524f57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngraph/codegen/compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ std::string codegen::CompilerCore::find_header_version(const std::string& path)
633633
{
634634
// Step 1: find highest g++ version
635635
std::string gpp_prefix = file_util::path_join(path, "bin/g++-");
636-
std::string gpp_ver = "0";
636+
std::string gpp_ver;
637637
for (auto i : {"8", "7", "6", "5", "4.9", "4.8"})
638638
{
639639
if (file_util::exists(gpp_prefix + i))

0 commit comments

Comments
 (0)