Hi, I'm trying to build `gf180mcu` with the late...
# open_pdks
a
Hi, I'm trying to build
gf180mcu
with the latest commit of open_pdks and volare. It fails.
Copy code
root /home/designer 
$ volare build --pdk=gf180mcu bdc9412b3e468c102d01b7cf6337be06ec6e9c9a
[04:35:41] Logging to '/opt/pdks/volare/gf180mcu/build/bdc9412b3e468c102d01b7cf6337be06ec6e9c9a/logs/build_gf180mcu-2024-07-02-04-35-41'… gf180mcu.py:255
Updating open_pdks at /opt/pdks/volare/gf180mcu/build/bdc9412b3e468c102d01b7cf6337be06ec6e9c9a/open_pdks… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
[04:35:42] Done fetching open_pdks.                                                                                                        gf180mcu.py:76
Replacing download.sh…
Patching sky130 Makefile.in…
Reference commits: {'open_pdks': '392b92efc2a0be83c1381e739abaf48cc6135c7e', 'magic': '610c86a2340701e49ac23654f81233bedf6724fa', 'gf180mcu_pdk': 'a897aa30369d3bcec87d9d50ce9b01f320f854ef', 'gf180mcu_fd_pr': '9f7a3d4dcd4db06014f8cd648753ed1c8c69a1cf', 'gf180mcu_fd_pv': 'e9410df04da5b64a1053aa6e5180dc144b8a12a2', 'gf180mcu_fd_io': '2aeec51ea2824b6cc0b396acfc39f4535f40b23a', 'gf180mcu_fd_sc_mcu7t5v0': '8743b6f9641eb8707179c4e51703380d4dc90f16', 'gf180mcu_fd_sc_mcu9t5v0': '376ea56fa36ce7702595ce4e0e3c9357ee38c81c', 'gf180mcu_fd_ip_sram': '9c411928870ce15226228fa52ddb6ecc0ea4ffbe', 'gf180mcu_osu_sc_gf12t3v3': 'df1d8ec95b2cfbfdb8e0128819e9899e968b92a4', 'gf180mcu_osu_sc_gf9t3v3': 'df1d8ec95b2cfbfdb8e0128819e9899e968b92a4'}
Traceback (most recent call last):
  File "/usr/local/bin/volare", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/volare/build/__init__.py", line 123, in build_cmd
    build(
  File "/usr/local/lib/python3.10/dist-packages/volare/build/__init__.py", line 79, in build
    build_function(**kwargs)
  File "/usr/local/lib/python3.10/dist-packages/volare/build/gf180mcu.py", line 266, in build
    build_variants(
  File "/usr/local/lib/python3.10/dist-packages/volare/build/gf180mcu.py", line 145, in build_variants
    library_flags = set([LIB_FLAG_MAP[library] for library in include_libraries])
  File "/usr/local/lib/python3.10/dist-packages/volare/build/gf180mcu.py", line 145, in <listcomp>
    library_flags = set([LIB_FLAG_MAP[library] for library in include_libraries])
KeyError: '/'
• Volare was installed just before running this command, so it should not be the problem. • I'm going to test with other commits to see if the problem persists. • Sky130 can be build without problems • PDK_ROOT is defined
$PDK_ROOT=/opt/pdks
A commit that was validated on the past
42cd15c469adc1d303ffca4a7d32c29a4564a737
doesn't work. I think this might be a bug on
volare
but I'm not sure if there are more programs or systems that could be failing
m
@aquiles viza Thanks for reporting this. @donn Do you have time to look into this or maybe refer it to someone who does?
d
god i hate dynamically typed languages (pushing the fix)
Fixed in volare==0.18.1, sorry about that and thank you for the bug report
👏 1
a
Jajaja, yeah those silly problems are the worst. Thanks for solving the problem so quickly