Skip to content

Commit bc1cdf9

Browse files
committed
drt: use relative paths to the respective implementation headers.
This makes it easier to follow where things are, as well as reduces the proliferation of needed `-I` include search paths. Signed-off-by: Henner Zeller <[email protected]>
1 parent 0bfe867 commit bc1cdf9

36 files changed

+48
-54
lines changed

src/drt/BUILD

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,6 @@ cc_library(
196196
],
197197
copts = [
198198
"-Isrc/drt/src",
199-
"-Isrc/drt/src/dr",
200-
"-Isrc/drt/src/gc",
201-
"-Isrc/drt/src/io",
202-
"-Isrc/drt/src/pa",
203-
"-Isrc/drt/src/rp",
204-
"-Isrc/drt/src/ta",
205199
"-fopenmp",
206200
],
207201
includes = [

src/drt/src/db/infra/frTime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2019-2025, The OpenROAD Authors
33

4-
#include "frTime.h"
4+
#include "db/infra/frTime.h"
55

66
#include <chrono>
77
#include <iomanip>

src/drt/src/db/obj/frAccess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#include "db/infra/frPoint.h"
1515
#include "db/obj/frBlockObject.h"
16-
#include "frShape.h"
16+
#include "db/obj/frShape.h"
1717

1818
namespace drt {
1919
class frViaDef;

src/drt/src/db/obj/frInst.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include "db/obj/frInst.h"
55

6-
#include "frBlock.h"
7-
#include "frMaster.h"
6+
#include "db/obj/frBlock.h"
7+
#include "db/obj/frMaster.h"
88
namespace drt {
99

1010
Rect frInst::getBBox() const

src/drt/src/db/obj/frRPin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2019-2025, The OpenROAD Authors
33

4-
#include "frRPin.h"
4+
#include "db/obj/frRPin.h"
55

66
#include <iostream>
77

src/drt/src/db/tech/frConstraint.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2022-2025, The OpenROAD Authors
33

4-
#include "frConstraint.h"
4+
#include "db/tech/frConstraint.h"
55

66
#include <string>
77

8-
#include "frLayer.h"
8+
#include "db/tech/frLayer.h"
99
#include "utl/Logger.h"
1010
namespace drt {
1111

src/drt/src/db/tech/frConstraint.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
#include <vector>
1414

1515
#include "db/tech/frLookupTbl.h"
16+
#include "db/tech/frViaDef.h"
17+
#include "db/tech/frViaRuleGenerate.h"
1618
#include "frBaseTypes.h"
17-
#include "frViaDef.h"
18-
#include "frViaRuleGenerate.h"
1919
#include "odb/db.h"
2020
#include "utl/Logger.h"
2121

src/drt/src/distributed/PinAccessJobDescription.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#include <vector>
77

88
#include "boost/serialization/base_object.hpp"
9+
#include "distributed/paUpdate.h"
910
#include "dst/JobMessage.h"
10-
#include "paUpdate.h"
1111
namespace boost::serialization {
1212
class access;
1313
}

src/drt/src/distributed/frArchive.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2021-2025, The OpenROAD Authors
33

4-
#include "frArchive.h"
4+
#include "distributed/frArchive.h"
55

66
#include <istream>
77
#include <ostream>

src/drt/src/dr/FlexDR_graphics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
// Copyright (c) 2020-2025, The OpenROAD Authors
33

4-
#include "FlexDR_graphics.h"
4+
#include "dr/FlexDR_graphics.h"
55

66
#include <algorithm>
77
#include <any>
@@ -15,7 +15,7 @@
1515
#include <vector>
1616

1717
#include "../gc/FlexGC.h"
18-
#include "FlexDR.h"
18+
#include "dr/FlexDR.h"
1919
#include "odb/dbTypes.h"
2020
#include "odb/geom.h"
2121

0 commit comments

Comments
 (0)