mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-24 16:12:33 +00:00
Fix pyosys install issues
This commit is contained in:
parent
9f93e9c6e8
commit
efadf5751d
2 changed files with 7 additions and 9 deletions
7
Makefile
7
Makefile
|
|
@ -171,8 +171,8 @@ endif
|
|||
|
||||
YOSYS_VER := 0.51+46
|
||||
YOSYS_MAJOR := $(shell echo $(YOSYS_VER) | cut -d'.' -f1)
|
||||
YOSYS_MINOR := $(shell echo $(YOSYS_VER) | cut -d'.' -f2 | cut -d'+' -f1)
|
||||
YOSYS_COMMIT := $(shell echo $(YOSYS_VER) | cut -d'+' -f2)
|
||||
YOSYS_MINOR := $(shell echo $(YOSYS_VER) | cut -d'.' -f2)
|
||||
YOSYS_COMMIT := $(shell echo $(YOSYS_VER) | cut -d'.' -f3)
|
||||
CXXFLAGS += -DYOSYS_VER=\\"$(YOSYS_VER)\\" \
|
||||
-DYOSYS_MAJOR=$(YOSYS_MAJOR) \
|
||||
-DYOSYS_MINOR=$(YOSYS_MINOR) \
|
||||
|
|
@ -740,6 +740,7 @@ OBJS += passes/techmap/bmuxmap.o
|
|||
OBJS += passes/techmap/demuxmap.o
|
||||
OBJS += passes/techmap/muxcover.o
|
||||
OBJS += passes/techmap/aigmap.o
|
||||
OBJS += passes/techmap/attrmap.o
|
||||
|
||||
include $(YOSYS_SRC)/passes/hierarchy/Makefile.inc
|
||||
include $(YOSYS_SRC)/passes/memory/Makefile.inc
|
||||
|
|
@ -1019,7 +1020,7 @@ wheel: $(TARGETS) $(EXTRA_TARGETS)
|
|||
python3 -m pip wheel .
|
||||
|
||||
install_wheel: wheel
|
||||
python3 -m pip install pyosys*.whl --force-reinstall
|
||||
python3 -m pip install pyosys-$(YOSYS_VER)-*.whl --force-reinstall
|
||||
|
||||
install: $(TARGETS) $(EXTRA_TARGETS)
|
||||
$(INSTALL_SUDO) mkdir -p $(DESTDIR)$(BINDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue