aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Ou <rqou@robertou.com>2018-03-31 14:50:21 -0700
committerRobert Ou <rqou@robertou.com>2018-05-18 22:53:47 -0700
commitd9ef793430cf6bec2daeed20fbe44c3b060c435a (patch)
treeb71e191ee79c61c6cfaa2afab2c04e1e133290db
parent9763e4d830fa85aeb1577cab4dec9f4becc28f03 (diff)
downloadyosys-d9ef793430cf6bec2daeed20fbe44c3b060c435a.tar.gz
yosys-d9ef793430cf6bec2daeed20fbe44c3b060c435a.tar.bz2
yosys-d9ef793430cf6bec2daeed20fbe44c3b060c435a.zip
Force abc to be linked statically and without threads in emscripten
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b664cafc4..1a17bb857 100644
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,11 @@ EXE = .js
TARGETS := $(filter-out yosys-config,$(TARGETS))
EXTRA_TARGETS += yosysjs-$(YOSYS_VER).zip
+ifeq ($(ENABLE_ABC),1)
+LINK_ABC := 1
+DISABLE_ABC_THREADS := 1
+endif
+
viz.js:
wget -O viz.js.part https://github.com/mdaines/viz.js/releases/download/0.0.3/viz.js
mv viz.js.part viz.js