Skip to content

Commit

Permalink
ord: remove charts from options as this is not optional anymore
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Gadfort <[email protected]>
  • Loading branch information
gadfort committed Dec 18, 2024
1 parent 4d86b92 commit 950000a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ add_subdirectory(test)
target_compile_definitions(openroad PRIVATE GPU)
target_compile_definitions(openroad PRIVATE BUILD_PYTHON)
target_compile_definitions(openroad PRIVATE BUILD_GUI)
target_compile_definitions(openroad PRIVATE ENABLE_CHARTS)

####################################################################

Expand Down
1 change: 0 additions & 1 deletion include/ord/OpenRoad.hh
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ class OpenRoad
static bool getGPUCompileOption();
static bool getPythonCompileOption();
static bool getGUICompileOption();
static bool getChartsCompileOption();

protected:
~OpenRoad();
Expand Down
3 changes: 1 addition & 2 deletions src/Main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,7 @@ static void showSplash()
ord::OpenRoad::getGitDescribe());
logger->report(
"Features included (+) or not (-): "
"{}Charts {}GPU {}GUI {}Python{}",
ord::OpenRoad::getChartsCompileOption() ? "+" : "-",
"{}GPU {}GUI {}Python{}",
ord::OpenRoad::getGPUCompileOption() ? "+" : "-",
ord::OpenRoad::getGUICompileOption() ? "+" : "-",
ord::OpenRoad::getPythonCompileOption() ? "+" : "-",
Expand Down
5 changes: 0 additions & 5 deletions src/OpenRoad.cc
Original file line number Diff line number Diff line change
Expand Up @@ -700,9 +700,4 @@ bool OpenRoad::getGUICompileOption()
return BUILD_GUI;
}

bool OpenRoad::getChartsCompileOption()
{
return ENABLE_CHARTS;
}

} // namespace ord
6 changes: 0 additions & 6 deletions src/OpenRoad.i
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,6 @@ openroad_gui_compiled()
return ord::OpenRoad::getGUICompileOption();
}

const bool
openroad_charts_compiled()
{
return ord::OpenRoad::getChartsCompileOption();
}

void
read_lef_cmd(const char *filename,
const char *lib_name,
Expand Down

0 comments on commit 950000a

Please sign in to comment.