aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2023-03-17 09:27:36 +0100
committermyrtle <gatecat@ds0.me>2023-03-17 10:38:11 +0100
commite4fcd3740dd8a650922903db6e15f4eaff25b5ee (patch)
tree788ef589fcba0f4c95d02c900a060cd3b54d4215 /common
parent4111cc25d653bde9fbda72b9cf9dc13a876e214a (diff)
downloadnextpnr-e4fcd3740dd8a650922903db6e15f4eaff25b5ee.tar.gz
nextpnr-e4fcd3740dd8a650922903db6e15f4eaff25b5ee.tar.bz2
nextpnr-e4fcd3740dd8a650922903db6e15f4eaff25b5ee.zip
cmake: Make HeAP placer always-enabled
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/place/placer_heap.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/common/place/placer_heap.cc b/common/place/placer_heap.cc
index 2958405f..1ed71426 100644
--- a/common/place/placer_heap.cc
+++ b/common/place/placer_heap.cc
@@ -31,8 +31,6 @@
* - To make the placer timing-driven, the bound2bound weights are multiplied by (1 + 10 * crit^2)
*/
-#ifdef WITH_HEAP
-
#include "placer_heap.h"
#include <Eigen/Core>
#include <Eigen/IterativeLinearSolvers>
@@ -1842,22 +1840,3 @@ PlacerHeapCfg::PlacerHeapCfg(Context *ctx)
}
NEXTPNR_NAMESPACE_END
-
-#else
-
-#include "log.h"
-#include "nextpnr.h"
-#include "placer_heap.h"
-
-NEXTPNR_NAMESPACE_BEGIN
-bool placer_heap(Context *ctx, PlacerHeapCfg cfg)
-{
- log_error("nextpnr was built without the HeAP placer\n");
- return false;
-}
-
-PlacerHeapCfg::PlacerHeapCfg(Context *ctx) {}
-
-NEXTPNR_NAMESPACE_END
-
-#endif