Skip to content

Commit 83ff256

Browse files
authored
Merge pull request #8733 from hzeller/feature-20251024-tcl-inc
tcl: use vendored include and fix missing includes.
2 parents 91a1036 + fa7cb9a commit 83ff256

File tree

77 files changed

+69
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+69
-93
lines changed

include/ord/InitOpenRoad.hh

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

44
#pragma once
55

6-
#include <tcl.h>
7-
86
#include <string>
97

8+
#include "tcl.h"
9+
1010
namespace ord {
1111

1212
// Call this inside of Tcl_Main.

src/Design.cc

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

44
#include "ord/Design.h"
55

6-
#include <tcl.h>
7-
86
#include <cmath>
97
#include <cstdint>
108
#include <istream>
@@ -20,6 +18,7 @@
2018
#include "odb/db.h"
2119
#include "ord/OpenRoad.hh"
2220
#include "ord/Tech.h"
21+
#include "tcl.h"
2322
#include "utl/Logger.h"
2423

2524
namespace ord {

src/Main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <libgen.h>
55
#include <stdlib.h> // NOLINT(modernize-deprecated-headers): for setenv()
66
#include <strings.h>
7-
#include <tcl.h>
87

98
#include <array>
109
#include <climits>
@@ -19,6 +18,7 @@
1918
#include <system_error>
2019

2120
#include "boost/stacktrace/stacktrace.hpp"
21+
#include "tcl.h"
2222
#ifdef ENABLE_READLINE
2323
// If you get an error on this include be sure you have
2424
// the package tcl-tclreadline-devel installed

src/OpenRoad.cc

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

44
#include "ord/OpenRoad.hh"
55

6-
#include <tcl.h>
7-
86
#include <cstdlib>
97
#include <cstring>
108
#include <filesystem>
@@ -16,6 +14,7 @@
1614
#include <vector>
1715

1816
#include "ord/Version.hh"
17+
#include "tcl.h"
1918
#ifdef ENABLE_PYTHON3
2019
#define PY_SSIZE_T_CLEAN
2120
#include "Python.h"

src/Tech.cc

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

44
#include "ord/Tech.h"
55

6-
#include <tcl.h>
7-
86
#include <string>
97

108
#include "db_sta/dbNetwork.hh"
@@ -15,6 +13,7 @@
1513
#include "sta/Liberty.hh"
1614
#include "sta/MinMax.hh"
1715
#include "sta/Units.hh"
16+
#include "tcl.h"
1817

1918
namespace ord {
2019

src/Timing.cc

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

44
#include "ord/Timing.h"
55

6-
#include <tcl.h>
7-
86
#include <algorithm>
97
#include <array>
108
#include <cstring>

src/ant/include/ant/MakeAntennaChecker.hh

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

44
#pragma once
55

6-
#include <tcl.h>
6+
#include "tcl.h"
77

88
namespace ant {
99

src/ant/src/MakeAntennaChecker.cc

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

44
#include "ant/MakeAntennaChecker.hh"
55

6+
#include "tcl.h"
67
#include "utl/decode.h"
78

89
extern "C" {

src/cts/include/cts/MakeTritoncts.h

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

44
#pragma once
55

6-
#include <tcl.h>
6+
#include "tcl.h"
77

88
namespace cts {
99

src/cts/src/MakeTritoncts.cpp

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

44
#include "cts/MakeTritoncts.h"
55

6+
#include "tcl.h"
67
#include "utl/decode.h"
78

89
extern "C" {

0 commit comments

Comments
 (0)