mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-29 21:36:33 +00:00
Update CI scripts for CMake
Co-authored-by: Catherine <whitequark@whitequark.org>
This commit is contained in:
parent
16af8cbcc5
commit
a5a3828de8
32 changed files with 375 additions and 341 deletions
19
docs/common.mk
Normal file
19
docs/common.mk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
ROOT_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
BUILD_DIR ?= $(ROOT_DIR)/../build
|
||||
BUILD_CMD := $(BUILD_DIR)/$(PROGRAM_PREFIX)
|
||||
|
||||
ABC ?= $(BUILD_CMD)yosys-abc
|
||||
YOSYS ?= $(BUILD_CMD)yosys
|
||||
YOSYS_CONFIG ?= $(BUILD_CMD)yosys-config
|
||||
YOSYS_FILTERLIB ?= $(BUILD_CMD)yosys-filterlib
|
||||
YOSYS_SMTBMC ?= $(BUILD_CMD)yosys-smtbmc
|
||||
YOSYS_WITNESS ?= @$(BUILD_CMD)yosys-witness
|
||||
|
||||
export BUILD_DIR
|
||||
export SBY
|
||||
export ABC
|
||||
export YOSYS
|
||||
export YOSYS_CONFIG
|
||||
export YOSYS_FILTERLIB
|
||||
export YOSYS_SMTBMC
|
||||
export YOSYS_WITNESS
|
||||
Loading…
Add table
Add a link
Reference in a new issue