Add Makefile targets for building the library

This commit is contained in:
Eren Dogan 2022-11-02 20:20:41 -07:00
parent 16432016b6
commit 41abd4b3f4
1 changed files with 10 additions and 0 deletions

View File

@ -215,3 +215,13 @@ wipe: uninstall
@rm -rf $(OPEN_PDKS_DIR) @rm -rf $(OPEN_PDKS_DIR)
@rm -rf $(SKY130_PDKS_DIR) @rm -rf $(SKY130_PDKS_DIR)
.PHONY: wipe .PHONY: wipe
# Build the openram library
build-library:
@python3 -m build
.PHONY: build-library
# Build and install the openram library
library: build-library
@python3 -m pip install --find-links=dist openram --force
.PHONY: library