Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#4966 from The-OpenROAD-Projec…
Browse files Browse the repository at this point in the history
…t-staging/odb-include4

various: last batch of odb include path changes
  • Loading branch information
maliberty authored Apr 17, 2024
2 parents fe7f4aa + cabe92c commit 10056c3
Show file tree
Hide file tree
Showing 44 changed files with 73 additions and 74 deletions.
2 changes: 1 addition & 1 deletion src/cts/src/Clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include <vector>

#include "Util.h"
#include "db.h"
#include "odb/db.h"

namespace utl {
class Logger;
Expand Down
2 changes: 1 addition & 1 deletion src/cts/src/CtsOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

#include "CtsObserver.h"
#include "Util.h"
#include "db.h"
#include "odb/db.h"
#include "utl/Logger.h"

namespace stt {
Expand Down
2 changes: 1 addition & 1 deletion src/cts/src/MakeTritoncts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#include "CtsOptions.h"
#include "cts/TritonCTS.h"
#include "db.h"
#include "odb/db.h"
#include "ord/OpenRoad.hh"
#include "sta/StaMain.hh"

Expand Down
1 change: 0 additions & 1 deletion src/gpl/src/replace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

#include <iostream>

#include "db.h"
#include "db_sta/dbNetwork.hh"
#include "db_sta/dbSta.hh"
#include "initialPlace.h"
Expand Down
4 changes: 2 additions & 2 deletions src/gui/src/dbDescriptors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
#include <sstream>

#include "bufferTreeDescriptor.h"
#include "db.h"
#include "dbShape.h"
#include "db_sta/dbNetwork.hh"
#include "db_sta/dbSta.hh"
#include "odb/db.h"
#include "odb/dbShape.h"
#include "sta/Liberty.hh"
#include "utl/Logger.h"
#include "utl/algorithms.h"
Expand Down
2 changes: 1 addition & 1 deletion src/gui/src/displayControls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
#include <random>
#include <vector>

#include "db.h"
#include "dbDescriptors.h"
#include "db_sta/dbNetwork.hh"
#include "db_sta/dbSta.hh"
#include "odb/db.h"
#include "sta/Liberty.hh"
#include "utl/Logger.h"

Expand Down
10 changes: 5 additions & 5 deletions src/gui/src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
#include <string>

#include "clockWidget.h"
#include "db.h"
#include "dbShape.h"
#include "defin.h"
#include "displayControls.h"
#include "drcWidget.h"
#include "geom.h"
#include "heatMapPlacementDensity.h"
#include "inspector.h"
#include "layoutViewer.h"
#include "lefin.h"
#include "mainWindow.h"
#include "odb/db.h"
#include "odb/dbShape.h"
#include "odb/defin.h"
#include "odb/geom.h"
#include "odb/lefin.h"
#include "ord/OpenRoad.hh"
#include "ruler.h"
#include "scriptWidget.h"
Expand Down
6 changes: 3 additions & 3 deletions src/gui/src/layoutViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
#include <tuple>
#include <vector>

#include "db.h"
#include "dbDescriptors.h"
#include "dbShape.h"
#include "dbTransform.h"
#include "gui/gui.h"
#include "gui_utils.h"
#include "highlightGroupDialog.h"
#include "mainWindow.h"
#include "odb/db.h"
#include "odb/dbShape.h"
#include "odb/dbTransform.h"
#include "painter.h"
#include "ruler.h"
#include "scriptWidget.h"
Expand Down
2 changes: 1 addition & 1 deletion src/gui/src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <tuple>
#include <utility>

#include "dbShape.h"
#include "odb/dbShape.h"

namespace gui {

Expand Down
4 changes: 2 additions & 2 deletions src/gui/src/staGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
#include <limits>
#include <string>

#include "db.h"
#include "dbDescriptors.h"
#include "dbShape.h"
#include "db_sta/dbNetwork.hh"
#include "db_sta/dbSta.hh"
#include "odb/db.h"
#include "odb/dbShape.h"
#include "sta/Corner.hh"
#include "sta/PatternMatch.hh"
#include "sta/Units.hh"
Expand Down
2 changes: 1 addition & 1 deletion src/mpl2/src/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
#include <string>
#include <vector>

#include "odb.h"
#include "odb/dbTypes.h"
#include "odb/odb.h"

namespace odb {
class Rect;
Expand Down
1 change: 0 additions & 1 deletion src/odb/src/zutil/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ target_link_libraries(zutil

target_include_directories(zutil
PUBLIC
${PROJECT_SOURCE_DIR}/include/odb
${PROJECT_SOURCE_DIR}/include
${TCL_INCLUDE_PATH}
)
Expand Down
4 changes: 2 additions & 2 deletions src/odb/test/cpp/CallBack.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
#include <string>
#include <vector>

#include "db.h"
#include "dbBlockCallBackObj.h"
#include "odb/db.h"
#include "odb/dbBlockCallBackObj.h"
#include "spdlog/fmt/fmt.h"

namespace odb {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestAccessPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#include <boost/test/included/unit_test.hpp>
#include <fstream>

#include "db.h"
#include "env.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestCallBacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <iostream>

#include "CallBack.h"
#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestGCellGrid.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define BOOST_TEST_MODULE TestGCellGrid
#include <boost/test/included/unit_test.hpp>

#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
3 changes: 2 additions & 1 deletion src/odb/test/cpp/TestGeom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
#include <boost/test/included/unit_test.hpp>
#include <iostream>

#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {

Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <iostream>
#include <string>

#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestGuide.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define BOOST_TEST_MODULE TestGuide
#include <boost/test/included/unit_test.hpp>

#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestJournal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <iostream>
#include <string>

#include "db.h"
#include "env.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
10 changes: 5 additions & 5 deletions src/odb/test/cpp/TestLef58Properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
#include <fstream>
#include <iostream>

#include "db.h"
#include "defin.h"
#include "defout.h"
#include "env.h"
#include "lefin.h"
#include "lefout.h"
#include "odb/db.h"
#include "odb/defin.h"
#include "odb/defout.h"
#include "odb/lefin.h"
#include "odb/lefout.h"
#include "utl/Logger.h"

namespace odb {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <iostream>
#include <string>

#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#include <iostream>
#include <string>

#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/TestNetTrack.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#define BOOST_TEST_MODULE TestGuide
#include <boost/test/included/unit_test.hpp>

#include "db.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/helper/helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include "helper.h"

#include "db.h"
#include "odb/db.h"
#include "utl/Logger.h"

namespace odb {
Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/helper/helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

#include "db.h"
#include "odb/db.h"

namespace odb {

Expand Down
2 changes: 1 addition & 1 deletion src/odb/test/cpp/scan/TestScanChain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@

#include <fstream>

#include "db.h"
#include "env.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "helper.h"
#include "odb/db.h"

namespace odb {
namespace {
Expand Down
16 changes: 8 additions & 8 deletions src/rcx/include/rcx/extRCap.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@

#include <map>

#include "db.h"
#include "dbExtControl.h"
#include "dbShape.h"
#include "dbUtil.h"
#include "ext2dBox.h"
#include "extprocess.h"
#include "gseq.h"
#include "odb.h"
#include "util.h"
#include "wire.h"
#include "odb/db.h"
#include "odb/dbExtControl.h"
#include "odb/dbShape.h"
#include "odb/dbUtil.h"
#include "odb/gseq.h"
#include "odb/odb.h"
#include "odb/util.h"
#include "odb/wire.h"

namespace utl {
class Logger;
Expand Down
10 changes: 5 additions & 5 deletions src/rcx/include/rcx/extSpef.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@

#include <map>

#include "array1.h"
#include "db.h"
#include "dbShape.h"
#include "extRCap.h"
#include "odb.h"
#include "parse.h"
#include "odb/array1.h"
#include "odb/db.h"
#include "odb/dbShape.h"
#include "odb/odb.h"
#include "odb/parse.h"

namespace utl {
class Logger;
Expand Down
6 changes: 3 additions & 3 deletions src/rcx/include/rcx/extprocess.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

#pragma once

#include "array1.h"
#include "odb.h"
#include "parse.h"
#include "odb/array1.h"
#include "odb/odb.h"
#include "odb/parse.h"

namespace utl {
class Logger;
Expand Down
2 changes: 1 addition & 1 deletion src/rcx/src/extBenchDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <map>
#include <vector>

#include "db.h"
#include "odb/db.h"
#include "rcx/extRCap.h"
#include "rcx/extSpef.h"
#include "rcx/extprocess.h"
Expand Down
4 changes: 2 additions & 2 deletions src/rcx/src/extCC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

#include <algorithm>

#include "gseq.h"
#include "wire.h"
#include "odb/gseq.h"
#include "odb/wire.h"

namespace rcx {
CoupleOptions coupleOptionsNull{};
Expand Down
4 changes: 2 additions & 2 deletions src/rcx/src/extCoords.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

#include "parse.h"
#include "odb/parse.h"
#include "odb/wire.h"
#include "rcx/extSpef.h"
#include "utl/Logger.h"
#include "wire.h"

namespace rcx {

Expand Down
Loading

0 comments on commit 10056c3

Please sign in to comment.