mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
references - breaking
This commit is contained in:
parent
1c2fb078eb
commit
919e2103c9
5 changed files with 92 additions and 46 deletions
14
Makefile
14
Makefile
|
@ -210,9 +210,6 @@ CXX = clang++
|
|||
CXXFLAGS += -std=$(CXXSTD) -Os
|
||||
ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H $(ABC_ARCHFLAGS)"
|
||||
|
||||
CXXFLAGS += -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
LINKFLAGS += -g
|
||||
|
||||
ifneq ($(SANITIZER),)
|
||||
$(info [Clang Sanitizer] $(SANITIZER))
|
||||
CXXFLAGS += -g -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=$(SANITIZER)
|
||||
|
@ -230,6 +227,15 @@ LINKFLAGS += -flto
|
|||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(PROFILER),)
|
||||
$(info [Profiler] $(PROFILER))
|
||||
CXXFLAGS += -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
||||
LINKFLAGS += -g
|
||||
ifneq ($(findstring tracy,$(PROFILER)),)
|
||||
CXXFLAGS += -DTRACY_ENABLE
|
||||
endif
|
||||
endif
|
||||
|
||||
else ifeq ($(CONFIG),gcc)
|
||||
CXX = g++
|
||||
CXXFLAGS += -std=$(CXXSTD) -Os
|
||||
|
@ -598,8 +604,8 @@ $(eval $(call add_include_file,frontends/ast/ast_binding.h))
|
|||
$(eval $(call add_include_file,frontends/blif/blifparse.h))
|
||||
$(eval $(call add_include_file,backends/rtlil/rtlil_backend.h))
|
||||
|
||||
# See -DTRACY_ENABLE
|
||||
OBJS += tracy/public/TracyClient.o
|
||||
CXXFLAGS += -DTRACY_ENABLE
|
||||
OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o kernel/yosys.o
|
||||
OBJS += kernel/binding.o
|
||||
OBJS += kernel/cellaigs.o kernel/celledges.o kernel/satgen.o kernel/scopeinfo.o kernel/qcsat.o kernel/mem.o kernel/ffmerge.o kernel/ff.o kernel/yw.o kernel/json.o kernel/fmt.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue