Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnr/openroad: add patch for missing includes #342

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions pnr/openroad/3543.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
diff --git a/src/dbSta/src/dbSta.cc b/src/dbSta/src/dbSta.cc
index a2ac0e5e53..fba9473fc2 100644
--- a/src/dbSta/src/dbSta.cc
+++ b/src/dbSta/src/dbSta.cc
@@ -44,6 +44,7 @@
#include <tcl.h>

#include <algorithm> // min
+#include <mutex>

#include "AbstractPathRenderer.h"
#include "AbstractPowerDensityDataSource.h"
diff --git a/src/dst/src/BalancerConnection.cc b/src/dst/src/BalancerConnection.cc
index 5afaf1423e..44b0288be8 100644
--- a/src/dst/src/BalancerConnection.cc
+++ b/src/dst/src/BalancerConnection.cc
@@ -36,6 +36,7 @@
#include <boost/bind/bind.hpp>
#include <boost/serialization/export.hpp>
#include <boost/thread/thread.hpp>
+#include <mutex>
#include <thread>

#include "LoadBalancer.h"
diff --git a/src/gui/src/renderThread.h b/src/gui/src/renderThread.h
index 4c1a2b973b..e885864d8a 100644
--- a/src/gui/src/renderThread.h
+++ b/src/gui/src/renderThread.h
@@ -36,6 +36,7 @@
#include <QPainter>
#include <QThread>
#include <QWaitCondition>
+#include <mutex>

#include "gui/gui.h"
#include "odb/db.h"
diff --git a/src/gui/src/search.h b/src/gui/src/search.h
index 53460b5989..4d24a72bef 100644
--- a/src/gui/src/search.h
+++ b/src/gui/src/search.h
@@ -35,6 +35,7 @@
#include <QObject>
#include <boost/geometry.hpp>
#include <boost/geometry/index/rtree.hpp>
+#include <mutex>

#include "odb/db.h"
#include "odb/dbBlockCallBackObj.h"
1 change: 1 addition & 0 deletions pnr/openroad/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ source:
- sta-add-install-options.patch # to enable sta binary distribution
- disable-mpl2-and-par.patch # until or-tools dep is added
- remove-boost-span-deps.patch # to allow older boost
- 3543.patch # drop when The-OpenROAD-Project/OpenROAD/pull/3543 is merged
- url: http://lemon.cs.elte.hu/pub/sources/lemon-{{ lemon_version }}.tar.gz
md5: {{ lemon_md5 }}
folder: third_party/lemon
Expand Down