Merge pull request #933 from whitequark/wasm-no-parallel-refine
Disable parallel refinement on WebAssembly
This commit is contained in:
commit
81e970867d
@ -174,7 +174,9 @@ po::options_description CommandHandler::getGeneralOptions()
|
|||||||
"placer heap criticality exponent (int, default: 2)");
|
"placer heap criticality exponent (int, default: 2)");
|
||||||
general.add_options()("placer-heap-timingweight", po::value<int>(), "placer heap timing weight (int, default: 10)");
|
general.add_options()("placer-heap-timingweight", po::value<int>(), "placer heap timing weight (int, default: 10)");
|
||||||
|
|
||||||
|
#if !defined(__wasm)
|
||||||
general.add_options()("parallel-refine", "use new experimental parallelised engine for placement refinement");
|
general.add_options()("parallel-refine", "use new experimental parallelised engine for placement refinement");
|
||||||
|
#endif
|
||||||
|
|
||||||
general.add_options()("router2-heatmap", po::value<std::string>(),
|
general.add_options()("router2-heatmap", po::value<std::string>(),
|
||||||
"prefix for router2 resource congestion heatmaps");
|
"prefix for router2 resource congestion heatmaps");
|
||||||
|
@ -18,8 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "parallel_refine.h"
|
#include "parallel_refine.h"
|
||||||
#include "fast_bels.h"
|
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
#if !defined(__wasm)
|
||||||
|
|
||||||
|
#include "fast_bels.h"
|
||||||
#include "timing.h"
|
#include "timing.h"
|
||||||
#include "scope_lock.h"
|
#include "scope_lock.h"
|
||||||
|
|
||||||
@ -944,3 +947,16 @@ bool parallel_refine(Context *ctx, ParallelRefineCfg cfg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
NEXTPNR_NAMESPACE_END
|
NEXTPNR_NAMESPACE_END
|
||||||
|
|
||||||
|
#else /* !defined(__wasm) */
|
||||||
|
|
||||||
|
NEXTPNR_NAMESPACE_BEGIN
|
||||||
|
|
||||||
|
bool parallel_refine(Context *ctx, ParallelRefineCfg cfg)
|
||||||
|
{
|
||||||
|
log_abort();
|
||||||
|
}
|
||||||
|
|
||||||
|
NEXTPNR_NAMESPACE_END
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user