Skip to content

Commit

Permalink
Merge pull request #157 from efabless/EF-3614-b
Browse files Browse the repository at this point in the history
EF-3614-b | fix logging message exception
  • Loading branch information
ef-gps authored Nov 17, 2022
2 parents 6e32826 + 16ab2fc commit b5c10be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
**/__pycache__
**/parser.out
**/parsetab.py
/.idea/
/.vscode/
Expand Down
4 changes: 2 additions & 2 deletions dependencies/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN yum -y remove git && yum -y remove git-* && \

# Clone Magic
ENV MAGIC_ROOT=./magic
RUN git clone --depth=1 --branch 8.3.339 https://github.com/RTimothyEdwards/magic.git ${MAGIC_ROOT}
RUN git clone --depth=1 --branch 8.3.340 https://github.com/RTimothyEdwards/magic.git ${MAGIC_ROOT}
WORKDIR $MAGIC_ROOT
# Build Magic
# '-O0' : disable optimization so vars visible in gdb (not optimized away). Already the default of gcc.
Expand All @@ -75,4 +75,4 @@ WORKDIR $PRECHECKER_ROOT

# GOLDEN CARAVEL
ENV GOLDEN_CARAVEL=/opt/caravel
RUN git clone --branch mpw-7e --depth=1 https://github.com/efabless/caravel-lite.git ${GOLDEN_CARAVEL} && make -C ${GOLDEN_CARAVEL} uncompress
RUN git clone --branch mpw-7f --depth=1 https://github.com/efabless/caravel-lite.git ${GOLDEN_CARAVEL} && make -C ${GOLDEN_CARAVEL} uncompress
4 changes: 2 additions & 2 deletions mpw_precheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def log_info(precheck_config, project_config):
with open(precheck_config['pdk_path'] / '.config/nodeinfo.json') as f:
pdk_nodeinfo = json.load(f)
open_pdks_commit = pdk_nodeinfo['commit']['open_pdks']
pdk_commit = pdk_nodeinfo['reference'].get('skywater_pdk', pdk_nodeinfo['reference']['gf180mcu_pdk'])
pdk_commit = pdk_nodeinfo['reference'].get('skywater_pdk', pdk_nodeinfo['reference'].get('gf180mcu_pdk'))
pdks_info.write(f"Open PDKs {open_pdks_commit}\n")
pdks_info.write(f"Skywater PDK {pdk_commit}")
pdks_info.write(f"{precheck_config['pdk_path'].name.upper()} PDK {pdk_commit}")
logging.info(f"{{{{PDKs Info}}}} {precheck_config['pdk_path'].name.upper()}: {pdk_commit} | Open PDKs: {open_pdks_commit}")
except Exception as e:
logging.error(f"MPW Precheck failed to retreive {precheck_config['pdk_path'].name.upper()} PDK & Open PDKs commits: {e}")
Expand Down

0 comments on commit b5c10be

Please sign in to comment.