1
0
mirror of synced 2026-01-23 19:17:15 +00:00
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
..
2024-09-17 10:46:20 +02:00
2024-09-17 10:46:20 +02:00
2024-09-18 16:55:02 +02:00
2022-05-27 12:37:03 +02:00
2024-09-17 10:46:20 +02:00
2024-08-21 11:01:09 +01:00
2024-09-05 11:17:12 +02:00
2021-10-08 15:44:07 +02:00
2024-08-16 04:30:31 +12:00
2024-09-24 17:47:46 +02:00
2024-08-21 11:04:11 +01:00
2024-09-17 10:46:20 +02:00
2024-09-17 10:46:20 +02:00
2024-02-06 18:01:26 +01:00
2024-02-06 18:01:26 +01:00
2024-07-18 16:02:11 +02:00
2023-04-17 10:53:05 -07:00
2023-01-11 18:07:16 +01:00