Skip to content

Commit 0b8edea

Browse files
committed
spdlog is vendored: always use "-includes not bracket.
Partially that was already done, but not throughout. Signed-off-by: Henner Zeller <[email protected]>
1 parent b1d614f commit 0b8edea

File tree

10 files changed

+12
-17
lines changed

10 files changed

+12
-17
lines changed

src/dbSta/src/dbSdcNetwork.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33

44
#include "dbSdcNetwork.hh"
55

6-
#include <spdlog/fmt/fmt.h>
7-
86
#include <cstddef>
97
#include <functional>
108
#include <memory>
119
#include <string>
1210
#include <string_view>
1311

12+
#include "spdlog/fmt/fmt.h"
1413
#include "sta/ParseBus.hh"
1514
#include "sta/PatternMatch.hh"
1615

src/dft/src/utils/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ cc_library(
2929
"//src/odb",
3030
"//src/sta:opensta_lib",
3131
"//src/utl",
32+
"@spdlog",
3233
],
3334
)

src/dft/src/utils/Formatting.hh

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) 2023-2025, The OpenROAD Authors
33

4-
#include <spdlog/fmt/fmt.h>
5-
64
#include <optional>
75
#include <string>
86

7+
#include "spdlog/fmt/fmt.h"
8+
99
namespace dft::utils {
1010

1111
// Helper to format optional values for the config reports

src/odb/src/db/dbMTerm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include "dbMTerm.h"
55

6-
#include <spdlog/fmt/ostr.h>
76
#include <string.h>
87

98
#include <cstdlib>
@@ -26,6 +25,7 @@
2625
#include "odb/dbTypes.h"
2726
#include "odb/geom.h"
2827
#include "odb/lefout.h"
28+
#include "spdlog/fmt/ostr.h"
2929

3030
namespace odb {
3131

src/odb/src/db/dbProperty.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
#include "dbTech.h"
2222
#include "odb/db.h"
2323
// User Code Begin Includes
24-
#include <spdlog/fmt/ostr.h>
25-
2624
#include <sstream>
25+
26+
#include "spdlog/fmt/ostr.h"
2727
// User Code End Includes
2828
namespace odb {
2929
template class dbTable<_dbProperty>;

src/odb/src/db/dbTechLayer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@
3535
#include "odb/db.h"
3636
#include "odb/dbSet.h"
3737
// User Code Begin Includes
38-
#include <spdlog/fmt/ostr.h>
39-
4038
#include "dbHashTable.hpp"
4139
#include "dbTech.h"
4240
#include "dbTechLayerAntennaRule.h"
4341
#include "dbTechLayerSpacingRule.h"
4442
#include "dbTechMinCutOrAreaRule.h"
4543
#include "odb/lefout.h"
44+
#include "spdlog/fmt/ostr.h"
4645
#include "utl/Logger.h"
4746
// User Code End Includes
4847
namespace odb {

src/odb/src/db/dbTechLayerAntennaRule.cpp

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

44
#include "dbTechLayerAntennaRule.h"
55

6-
#include <spdlog/fmt/ostr.h>
7-
86
#include <cassert>
97
#include <utility>
108
#include <vector>
@@ -19,6 +17,7 @@
1917
#include "dbVector.h"
2018
#include "odb/db.h"
2119
#include "odb/lefout.h"
20+
#include "spdlog/fmt/ostr.h"
2221

2322
namespace odb {
2423

src/odb/src/db/dbTechLayerSpacingRule.cpp

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

44
#include "dbTechLayerSpacingRule.h"
55

6-
#include <spdlog/fmt/ostr.h>
7-
86
#include <cassert>
97

108
#include "dbCore.h"
@@ -15,6 +13,7 @@
1513
#include "dbTechLayer.h"
1614
#include "odb/db.h"
1715
#include "odb/lefout.h"
16+
#include "spdlog/fmt/ostr.h"
1817

1918
namespace odb {
2019

src/odb/src/lefout/lefout.cpp

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

44
#include "odb/lefout.h"
55

6-
#include <spdlog/fmt/ostr.h>
7-
86
#include <cassert>
97
#include <cstdint>
108
#include <cstdio>
@@ -21,6 +19,7 @@
2119
#include "odb/dbTransform.h"
2220
#include "odb/dbTypes.h"
2321
#include "odb/geom.h"
22+
#include "spdlog/fmt/ostr.h"
2423
#include "utl/scope.h"
2524

2625
using namespace boost::polygon::operators;

src/rsz/src/BufferedNet.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
#include "odb/geom.h"
1919
#include "rsz/Resizer.hh"
2020
// Use spdlog fmt::format until c++20 that supports std::format.
21-
#include <spdlog/fmt/fmt.h>
22-
21+
#include "spdlog/fmt/fmt.h"
2322
#include "sta/Fuzzy.hh"
2423
#include "sta/Liberty.hh"
2524
#include "sta/Units.hh"

0 commit comments

Comments
 (0)