hdl / conda-eda

Conda recipes for FPGA EDA tools for simulation, synthesis, place and route and bitstream generation.
https://anaconda.org/LiteX-Hub
Apache License 2.0
95 stars 26 forks source link

misc: add klayout #268

Closed proppy closed 1 year ago

proppy commented 1 year ago

Based on @klayoutmatthias's fork of https://github.com/conda-forge/staged-recipes/pull/20396.

Wanted to just build the CLI to aligned with #250 and #193 but couldn't find a build option to disable QT while still keeping klayout_main.

Fixes #175

proppy commented 1 year ago

LGTM.

Let's not merge before we get the CI passing.

proppy commented 1 year ago

@mithro yay it's green! https://github.com/hdl/conda-eda/actions/runs/3751563916/jobs/6372696825 \o/

mithro commented 1 year ago

Looks like the CI is still generally broken however?

proppy commented 1 year ago

@mithro in my experience the CI is generally flaky for some of the f4pga packages (vtr, yosys-osx) to but I don't see any issues in that runs for the silicon toolchain packages.

mithro commented 1 year ago

Merge away then?

proppy commented 1 year ago

I suspect @ajelinski will want us to audit the warnings and squash commits first!

proppy commented 1 year ago

Identified 4 cluster of warnings:

proppy commented 1 year ago

A few remaining warnings from https://github.com/hdl/conda-eda/actions/runs/3758645638/jobs/6387239942

  65630:2022-12-22T15:28:51.4619538Z WARNING (klayout,lib/libklayout_tl.so.0.28.1): Needed DSO lib/libpng16.so.16 found in ['libpng']
  65631:2022-12-22T15:28:51.4620164Z WARNING (klayout,lib/libklayout_tl.so.0.28.1): .. but ['libpng'] not in reqs/run, (i.e. it is overlinking) (likely) or a missing dependency (less likely)
  65632:2022-12-22T15:28:51.4620717Z WARNING (klayout,lib/libklayout_tl.so.0.28.1): Needed DSO lib/libexpat.so.1 found in ['expat']

those are cdt so I don't think they are required.

  65633:2022-12-22T15:28:51.4621305Z WARNING (klayout,lib/libklayout_tl.so.0.28.1): .. but ['expat'] not in reqs/run, (i.e. it is overlinking) (likely) or a missing dependency (less likely)
  65634:2022-12-22T15:28:51.4621856Z WARNING (klayout,lib/libklayout_tl.so.0.28.1): Needed DSO lib/libz.so.1 found in ['zlib']
  65635:2022-12-22T15:28:51.4622450Z WARNING (klayout,lib/libklayout_tl.so.0.28.1): .. but ['zlib'] not in reqs/run, (i.e. it is overlinking) (likely) or a missing dependency (less likely)
  65717:2022-12-22T15:28:51.4684921Z WARNING 

This probably need to be added to host/run explicitly.

(klayout,lib/klayout/lay_plugins/liblefdef_ui.so.0.28.1): $RPATH/liblefdef.so.0 not found in packages, sysroot(s) nor the missing_dso_whitelist.
  66035:2022-12-22T15:28:51.4879561Z WARNING (klayout,lib/klayout/lay_plugins/libnet_tracer_ui.so.0.28.1): $RPATH/libnet_tracer.so.0 not found in packages, sysroot(s) nor the missing_dso_whitelist.
  66063:2022-12-22T15:28:51.4896117Z WARNING (klayout,lib/klayout/lay_plugins/libpcb_ui.so.0.28.1): $RPATH/libpcb.so.0 not found in packages, sysroot(s) nor the missing_dso_whitelist.

assuming those are unused?

proppy commented 1 year ago

This probably need to be added to host/run explicitly.

Done.

proppy commented 1 year ago

and rebased.

proppy commented 1 year ago

Merging since the build is green and remaining warnings were addressed per https://github.com/hdl/conda-eda/pull/268#issuecomment-1363176244