mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
YosysJS stuff
This commit is contained in:
parent
08c0fe164f
commit
e0e6d130cd
7 changed files with 156 additions and 16 deletions
12
Makefile
12
Makefile
|
@ -97,16 +97,10 @@ else ifeq ($(CONFIG),emcc)
|
|||
CXX = emcc
|
||||
CXXFLAGS := -std=c++11 $(filter-out -fPIC -ggdb,$(CXXFLAGS))
|
||||
EMCCFLAGS := -Os -Wno-warn-absolute-paths
|
||||
EMCCFLAGS += --memory-init-file 0 -s NO_EXIT_RUNTIME=1
|
||||
EMCCFLAGS += -s EXPORTED_FUNCTIONS="['_main','_run','_prompt']"
|
||||
EMCCFLAGS += --embed-file share
|
||||
EMCCFLAGS += --memory-init-file 0 --embed-file share -s NO_EXIT_RUNTIME=1
|
||||
EMCCFLAGS += -s EXPORTED_FUNCTIONS="['_main','_run','_prompt','_errmsg']"
|
||||
EMCCFLAGS += -s DISABLE_EXCEPTION_CATCHING=0 -s ALLOW_MEMORY_GROWTH=1
|
||||
# https://github.com/kripken/emscripten/blob/master/src/settings.js
|
||||
# EMCCFLAGS += -s ALLOW_MEMORY_GROWTH=1
|
||||
# EMCCFLAGS += -s DISABLE_EXCEPTION_CATCHING=0
|
||||
# EMCCFLAGS += -s AGGRESSIVE_VARIABLE_ELIMINATION=1
|
||||
# EMCCFLAGS += -s ASSERTIONS=2
|
||||
# EMCCFLAGS += -s SAFE_HEAP=1
|
||||
# EMCCFLAGS += -s RELOOP=0
|
||||
CXXFLAGS += $(EMCCFLAGS)
|
||||
LDFLAGS += $(EMCCFLAGS)
|
||||
LDLIBS =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue