yosys/misc
Mohamed Gaber 3d6b8b8e1a
wheels: fix missing yosys-abc/share directory
* `misc/__init__.py`:
  * checks if there's a `yosys-abc` in the same directory - if yes, sets the variable `sys._pyosys_abc`
  * checks if there's a `share` in the same directory - if yes, sets the variable `sys._pyosys_share_dirname`
* `yosys.cc::init_share_dirname`: check for `sys._pyosys_share_dirname`, use it at the highest priority if Python is enabled
* `yosys.cc::init_abc_executable_name`: check for `sys._pyosys_abc`, use it at at the highest priority if Python is enabled
* `Makefile`: add new target, `share`, to only create the extra targets
* `setup.py`: compile libyosys.so, yosys-abc and share, and copy them all as part of the pyosys build
* `test/arch/ecp5/add_sub.py`: ported `add_sub.ys` to Python to act as a test for the share directory and abc with Python wheels, used in CI
2024-10-09 13:09:14 +03:00
..
yosysjs Update WaveDrom script URLs 2021-09-18 16:24:40 +02:00
__init__.py wheels: fix missing yosys-abc/share directory 2024-10-09 13:09:14 +03:00
create_vcxsrc.sh Use alternate location for VS build required files 2024-07-09 14:19:33 +02:00
jny.schema.json chore: fix master branch refs 2024-03-24 00:41:54 -04:00
launcher.c msys2: launcher: fix warnings and errors under g++ 2019-09-08 15:50:24 +08:00
py_wrap_generator.py py_wrap_generator: Handle const-qualified callbacks 2024-02-05 17:25:55 +01:00
yosys-config.in Fix help of yosys-config.in and provide backward compatibility 2024-02-25 18:48:21 +01:00