mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-20 23:56:38 +00:00
Merge pull request #55 from alaindargelas/wheel_install
make wheel and make wheel_install for pyosys
This commit is contained in:
commit
90f16b8b4b
8
Makefile
8
Makefile
|
@ -1006,6 +1006,12 @@ unit-test: libyosys.so
|
|||
clean-unit-test:
|
||||
@$(MAKE) -C $(UNITESTPATH) clean
|
||||
|
||||
wheel: $(TARGETS) $(EXTRA_TARGETS)
|
||||
python3 -m pip wheel .
|
||||
|
||||
install_wheel: wheel
|
||||
python3 -m pip install pyosys*.whl --force-reinstall
|
||||
|
||||
install: $(TARGETS) $(EXTRA_TARGETS)
|
||||
$(INSTALL_SUDO) mkdir -p $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL_SUDO) cp $(filter-out libyosys.so,$(TARGETS)) $(DESTDIR)$(BINDIR)
|
||||
|
@ -1232,4 +1238,4 @@ echo-cxx:
|
|||
-include techlibs/*/*.d
|
||||
|
||||
.PHONY: all top-all abc test install install-abc docs clean mrproper qtcreator coverage vcxsrc
|
||||
.PHONY: config-clean config-clang config-gcc config-gcc-static config-gprof config-sudo
|
||||
.PHONY: config-clean config-clang config-gcc config-gcc-static config-gprof config-sudo wheel install_wheel
|
||||
|
|
Loading…
Reference in a new issue