mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-09 15:43:25 +00:00
Use appropriate static libraries when building with Verific on MacOS
This commit is contained in:
parent
825b4c1aa9
commit
4e846694f7
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -359,8 +359,12 @@ ifeq ($(ENABLE_VERIFIC),1)
|
||||||
VERIFIC_DIR ?= /usr/local/src/verific_lib_eval
|
VERIFIC_DIR ?= /usr/local/src/verific_lib_eval
|
||||||
VERIFIC_COMPONENTS ?= verilog vhdl database util containers sdf hier_tree
|
VERIFIC_COMPONENTS ?= verilog vhdl database util containers sdf hier_tree
|
||||||
CXXFLAGS += $(patsubst %,-I$(VERIFIC_DIR)/%,$(VERIFIC_COMPONENTS)) -DYOSYS_ENABLE_VERIFIC
|
CXXFLAGS += $(patsubst %,-I$(VERIFIC_DIR)/%,$(VERIFIC_COMPONENTS)) -DYOSYS_ENABLE_VERIFIC
|
||||||
|
ifeq ($(OS), Darwin)
|
||||||
|
LDLIBS += $(patsubst %,$(VERIFIC_DIR)/%/*-mac.a,$(VERIFIC_COMPONENTS)) -lz
|
||||||
|
else
|
||||||
LDLIBS += $(patsubst %,$(VERIFIC_DIR)/%/*-linux.a,$(VERIFIC_COMPONENTS)) -lz
|
LDLIBS += $(patsubst %,$(VERIFIC_DIR)/%/*-linux.a,$(VERIFIC_COMPONENTS)) -lz
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ENABLE_PROTOBUF),1)
|
ifeq ($(ENABLE_PROTOBUF),1)
|
||||||
LDLIBS += $(shell pkg-config --cflags --libs protobuf)
|
LDLIBS += $(shell pkg-config --cflags --libs protobuf)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue