From 29c3d46be68fac2410ecc46cfce02bb09e0b8542 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 10 Feb 2021 10:23:06 -0800 Subject: [PATCH] Warn about threads forced to 1 --- compiler/globals.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/globals.py b/compiler/globals.py index 8ea989df..7afc2c8b 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -117,6 +117,7 @@ def parse_args(): if OPTS.openram_temp: # If they define the temp directory, we can only use one thread at a time! + debug.warning("num_threads forced to 1 due to shared temp directory {}".format(OPTS.openram_temp)) OPTS.num_threads = 1 return (options, args)