diff options
author | Catherine <whitequark@whitequark.org> | 2022-03-08 17:24:29 +0000 |
---|---|---|
committer | Catherine <whitequark@whitequark.org> | 2022-03-08 17:24:29 +0000 |
commit | 626eccdb89884b9e4792bdf3c74f72cbb363e9b9 (patch) | |
tree | d2af8b04200d52058554b1e516fe06e647ebcfdd | |
parent | aee35768f4002c0a7d96ba79e5aa78632fb41c65 (diff) | |
download | nextpnr-626eccdb89884b9e4792bdf3c74f72cbb363e9b9.tar.gz nextpnr-626eccdb89884b9e4792bdf3c74f72cbb363e9b9.tar.bz2 nextpnr-626eccdb89884b9e4792bdf3c74f72cbb363e9b9.zip |
Add missing part of commit aee35768.
-rw-r--r-- | common/placer_heap.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc index 5ffb7642..4c9ffb23 100644 --- a/common/placer_heap.cc +++ b/common/placer_heap.cc @@ -347,11 +347,14 @@ class HeAPPlacer ctx->check(); lock.unlock_early(); +#if !defined(__wasm) if (cfg.parallelRefine) { if (!parallel_refine(ctx, ParallelRefineCfg(ctx))) { return false; } - } else { + } else +#endif + { if (!placer1_refine(ctx, Placer1Cfg(ctx))) { return false; } |