From ebbaf8c08dbde251aa4f2809f296b20a7a2266a8 Mon Sep 17 00:00:00 2001 From: Catherine Date: Thu, 23 Feb 2023 03:25:48 +0000 Subject: common: disable parallel refinement only without threads. Previously it was always disabled on WebAssembly builds. --- common/kernel/command.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/kernel/command.cc') diff --git a/common/kernel/command.cc b/common/kernel/command.cc index 8c8b5950..68066af6 100644 --- a/common/kernel/command.cc +++ b/common/kernel/command.cc @@ -200,7 +200,7 @@ po::options_description CommandHandler::getGeneralOptions() "allow placer to attempt up to max(10000, total cells^2 / N) iterations to place a cell (int " "N, default: 8, 0 for no timeout)"); -#if !defined(__wasm) +#if !defined(NPNR_DISABLE_THREADS) general.add_options()("parallel-refine", "use new experimental parallelised engine for placement refinement"); #endif -- cgit v1.2.3