Skip to content

Commit

Permalink
hotfix: rename ihp default variant to prevent setup files from breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Jan 9, 2025
1 parent 0813b53 commit 9a8369d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "volare"
version = "0.20.4"
version = "0.20.5"
description = "An PDK builder/version manager for PDKs in the open_pdks format"
authors = ["Efabless Corporation and Contributors <[email protected]>"]
readme = "Readme.md"
Expand Down
4 changes: 2 additions & 2 deletions volare/build/ihp_sg13g2.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ def get_ihp(
def build_ihp(build_directory, ihp_path):
# """Build"""
try:
shutil.rmtree(os.path.join(build_directory, "ihp_sg13g2"))
shutil.rmtree(os.path.join(build_directory, "ihp-sg13g2"))
except FileNotFoundError:
pass
shutil.copytree(
os.path.join(ihp_path, "ihp-sg13g2"),
os.path.join(build_directory, "ihp_sg13g2"),
os.path.join(build_directory, "ihp-sg13g2"),
ignore=lambda dir, files: (
files if ".git" in os.path.split(dir) else [".git", ".DS_Store"]
),
Expand Down
2 changes: 1 addition & 1 deletion volare/families.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def resolve_libraries(
)
Family.by_name["ihp_sg13g2"] = Family(
name="ihp_sg13g2",
variants=["ihp_sg13g2"],
variants=["ihp-sg13g2"],
all_libraries=[
"sg13g2_io",
"sg13g2_pr",
Expand Down

0 comments on commit 9a8369d

Please sign in to comment.