Krystine Sherwin
3bef122a3f
WIP docs: Proto log_help
...
Define `PrettyHelp` class with methods for declaring different parts of help message.
Currently able to produce standard help messages as expected.
Updates chformal to use (only) the new help_v2.
Currently makes use of a global static to track the current help context, allowing register.h to live in blissful ignorance and instead rely on help_v2 implementations calling `auto *help = PrettyHelp::get_current();` and `return true;` to minimise impact on rebuilds (i.e. not requiring every source file to be recompiled).
2025-07-21 10:34:11 +12:00
Krystine Sherwin
3718f916f3
Makefile: Add cmds.json to docs/prep
2025-07-21 10:33:31 +12:00
Krystine Sherwin
804e18e0c6
Docs: WIP dump_cmds_json
2025-07-21 10:32:51 +12:00
Krystine Sherwin
fe3adfd960
Docs: Remove unused write_cell_rst function
...
The `help -write-rst-cells-manual` approach was made redundant by `help -dump-cells-json`.
2025-07-21 10:32:09 +12:00
github-actions[bot]
aa1daa7023
Bump version
2025-07-18 00:25:48 +00:00
github-actions[bot]
af0b263557
Bump version
2025-07-16 00:25:58 +00:00
Catherine
62c270a38b
Allow installing headers and `yosys-config` without the rest.
...
This is useful to be able to build a plugin like `yosys-slang` without
having to build the entirety of Yosys, which can save a lot of time.
2025-07-15 01:28:09 +00:00
github-actions[bot]
e57a2b9442
Bump version
2025-07-11 00:25:36 +00:00
Emil J
9334a5c275
Merge pull request #5216 from YosysHQ/emil/publish-libparse-header
...
Install libparse.h for use in plugins
2025-07-09 14:28:59 +02:00
github-actions[bot]
7566af4a4b
Bump version
2025-07-09 00:25:57 +00:00
Emil J. Tywoniak
ad80e2bd39
libparse: install headers for use in plugins
2025-07-08 13:39:03 +02:00
github-actions[bot]
e60cf3e2fa
Bump version
2025-07-08 00:25:06 +00:00
Miodrag Milanovic
8af60b7e17
Next dev cycle
2025-07-07 12:40:53 +02:00
Miodrag Milanovic
60f126cd00
Release version 0.55
2025-07-07 11:26:04 +02:00
github-actions[bot]
99f7d79abb
Bump version
2025-07-05 00:23:55 +00:00
github-actions[bot]
67583fee48
Bump version
2025-06-30 00:27:10 +00:00
github-actions[bot]
a0a77cd1d0
Bump version
2025-06-24 00:24:55 +00:00
github-actions[bot]
44aa313ba9
Bump version
2025-06-20 00:24:40 +00:00
Jiahui Xu
059228dd4e
Makefile: remove hardcoded -soname for libyosys.so
2025-06-19 18:47:48 +02:00
github-actions[bot]
cd71f190cd
Bump version
2025-06-14 00:24:06 +00:00
github-actions[bot]
c561ba84e3
Bump version
2025-06-10 00:24:41 +00:00
Miodrag Milanovic
c16cc539d4
Next dev cycle
2025-06-09 08:12:26 +02:00
Miodrag Milanovic
db72ec3bde
Release version 0.54
2025-06-09 07:23:54 +02:00
github-actions[bot]
2a25d92413
Bump version
2025-06-07 00:24:11 +00:00
github-actions[bot]
50b63c6481
Bump version
2025-06-05 00:24:30 +00:00
github-actions[bot]
86282027c0
Bump version
2025-05-31 00:23:36 +00:00
github-actions[bot]
e046e3cdbf
Bump version
2025-05-28 00:24:34 +00:00
github-actions[bot]
4f968c6695
Bump version
2025-05-27 00:24:03 +00:00
Emil J
4f7ea38b49
Merge pull request #5127 from RonxBulld/refine_strip
...
Disable STRIP operations when appropriate.
2025-05-26 15:03:34 +02:00
github-actions[bot]
209df95fb9
Bump version
2025-05-24 00:23:33 +00:00
github-actions[bot]
6c67b29bbb
Bump version
2025-05-23 00:24:38 +00:00
RonxBulld
64a115e6f0
Disable STRIP operations when appropriate.
2025-05-18 01:07:06 +08:00
github-actions[bot]
388955031f
Bump version
2025-05-17 00:23:43 +00:00
Emil J
3823157c25
Merge pull request #5080 from akashlevy/muldiv_c
...
Add `muldiv_c` peepopt
2025-05-15 11:03:25 +02:00
github-actions[bot]
ae47c49af5
Bump version
2025-05-15 00:22:59 +00:00
github-actions[bot]
e3ae7b1400
Bump version
2025-05-13 00:24:04 +00:00
KrystalDelusion
c590c0c12c
Merge pull request #5111 from YosysHQ/krys/config_python
...
Makefile: Conditional assignment of python exe
2025-05-13 09:54:26 +12:00
github-actions[bot]
6900818105
Bump version
2025-05-10 00:22:55 +00:00
KrystalDelusion
1e2d6508d0
Makefile: Conditional assignment of python exe
...
Using `:=` while providing an override (either in Makefile.conf or on the command line) does not correctly apply the override in other simply expanded variables (using `:=`). Instead, passing an explicit `PYTHON_EXECUTABLE=python3.15` while leaving `PYTHON_CONFIG` implicitly defined results in it being set to `python3-config` instead of the expected `python3.15-config`.
2025-05-10 09:09:30 +12:00
github-actions[bot]
55bd950af4
Bump version
2025-05-09 00:27:47 +00:00
github-actions[bot]
8da97d0044
Bump version
2025-05-07 00:24:00 +00:00
Miodrag Milanovic
20921ad908
Next dev cycle
2025-05-06 08:26:46 +02:00
Miodrag Milanovic
53c22ab7c0
Release version 0.53
2025-05-06 07:45:16 +02:00
github-actions[bot]
5924f2de7b
Bump version
2025-05-06 00:23:55 +00:00
github-actions[bot]
765485a375
Bump version
2025-05-04 00:26:28 +00:00
github-actions[bot]
aa30589c12
Bump version
2025-05-01 00:26:28 +00:00
KrystalDelusion
4213f75caa
Merge pull request #4969 from YosysHQ/krys/check_yosys_git
...
Makefile: Test yosys git status in check-git-abc
2025-05-01 10:09:08 +12:00
Akash Levy
4bd91fbb11
Add `muldiv_c` peepopt pass
2025-04-30 08:06:59 -07:00
github-actions[bot]
58e7cfa559
Bump version
2025-04-27 00:25:27 +00:00
Krystine Sherwin
1e8adc6bd0
Makefile: Redirect all git output
...
For some platforms (Arch Linux, at least), `git status` reports errors on stdout instead of stderr, so we need to redirect that to `/dev/null` too. This also prevents `git status` from logging output when the yosys directory is a git repo, but is missing the abc folder.
2025-04-26 10:59:24 +12:00
github-actions[bot]
94af24c801
Bump version
2025-04-25 00:23:50 +00:00
github-actions[bot]
c550c301dc
Bump version
2025-04-24 00:23:08 +00:00
github-actions[bot]
bf20bc0848
Bump version
2025-04-23 00:23:08 +00:00
Emil J
a628f84ec0
Merge pull request #5044 from RonxBulld/main
...
Fixed the problem of not calling abc correctly when using libyosys.so
2025-04-22 12:38:07 +02:00
github-actions[bot]
1788ffcaf7
Bump version
2025-04-22 00:23:01 +00:00
RonxBulld
a8ae6f05ea
Fixed the problem of not calling abc correctly when using libyosys.so library (it will try to call yosys-abc as command line instead of calling abc::Abc_RealMain)
2025-04-22 00:54:51 +08:00
github-actions[bot]
08b3a9fc7b
Bump version
2025-04-17 00:22:57 +00:00
github-actions[bot]
c894685f26
Bump version
2025-04-16 00:23:21 +00:00
github-actions[bot]
ea2c1e7ac7
Bump version
2025-04-15 00:23:32 +00:00
Miodrag Milanović
9f25f972dc
Merge pull request #5008 from donn/wheel_builds_fix
...
wheels: fix builds, add linux aarch64 to ci
2025-04-14 15:10:37 +02:00
Donn
b7062143e1
hotfix: fix CHECK_BOOST_PYTHON missing libpython
2025-04-14 14:54:38 +02:00
Donn
c18f1310a5
Revert #4901
...
Partially reverts commit 9c5bffcf93 .
The reasoning behind this is that setup.py is intended to strictly consume the Makefile and not be consumed by it. The attempt at using them recursively has caused a number of issues and has rendered Pyosys unusable to some users: See https://github.com/YosysHQ/yosys/issues/5012
Additionally, unlike the previous pyosys installation target, the wheel installation does not respect PREFIX=, only venvs.
For installation inside a venv, the intended method should remain a user manually executing `pip3 install .` instead of relying on the Makefile.
2025-04-14 14:45:41 +02:00
github-actions[bot]
9d3d0a4336
Bump version
2025-04-12 00:22:23 +00:00
github-actions[bot]
33c57937cd
Bump version
2025-04-10 00:22:42 +00:00
Emil J
a5e8f52ce5
Merge pull request #4976 from Logikable/main
...
Support array ranges for identifiers in the Liberty parser.
2025-04-09 22:49:52 +02:00
Donn
2bc2105d82
wheels: fix builds, add linux aarch64 to ci
...
Essentially, something is attempting to build the Yosys EXE when you build libyosys.so now. With `ENABLE_PYTHON_CONFIG_EMBED=0`, the Yosys EXE will always fail to build.
Furthermore, because `ENABLE_PYOSYS` now attempts to build a wheel, building a wheel has become recursive.
This commit uses a supplementary set of libs for the EXE (EXE_LIBS) so it and libyosys.so can be built simultaneously, as well as a new Makefile flag, `ENABLE_WHEEL`, to prevent the aforementioned recursion.
I also enabled aarch64 Linux in the CI because it's publicly available now.
2025-04-09 10:42:40 +02:00
Miodrag Milanovic
a2c0847667
Next dev cycle
2025-04-09 08:21:08 +02:00
Miodrag Milanovic
fee39a3284
Release version 0.52
2025-04-09 07:38:42 +02:00
github-actions[bot]
f602248a2e
Bump version
2025-04-09 00:22:49 +00:00
Miodrag Milanovic
a9656455b1
Update to latest ABC
2025-04-08 17:39:41 +02:00
github-actions[bot]
857baf2031
Bump version
2025-04-08 00:22:31 +00:00
github-actions[bot]
331952f78d
Bump version
2025-04-05 00:22:08 +00:00
KrystalDelusion
40c5694650
Merge pull request #4901 from akashlevy/pyosys_copy_abc
...
Copy `abc` stuff for pyosys to enable use of the `abc` pass
2025-04-05 10:57:02 +13:00
Akash Levy
9c0da98531
Updates
2025-04-03 17:47:48 -07:00
Sean Luchen
bdcbbf2db6
Fix existing tests/liberty tests, and add them to Makefile.
2025-04-03 09:56:24 -07:00
KrystalDelusion
1cfe1e2813
Merge pull request #4974 from YosysHQ/micko/config_exitcode
...
yosys-config: Propagate exit code for help command
2025-04-03 09:56:13 +13:00
github-actions[bot]
f03b44959b
Bump version
2025-04-02 00:23:07 +00:00
Miodrag Milanovic
66d7ffb2c5
yosys-config: redirect to stderr/stdout depending of exit code
2025-04-01 08:39:11 +02:00
github-actions[bot]
c08f72b806
Bump version
2025-04-01 00:26:08 +00:00
github-actions[bot]
314842d2a0
Bump version
2025-03-29 00:22:03 +00:00
KrystalDelusion
80dc946499
Makefile: Test yosys git status in check-git-abc
...
As in #4986 , `check-git-abc` is misleading if Yosys itself isn't a git repository.
So check `git status` before suggesting `git` based solutions, providing alternative suggestions for using ABCEXTERNAL (which bypasses `check-git-abc`), or downloading release tar (noting that the 'Source code' archives won't work, which is probably how they ended up in this situtation).
2025-03-29 12:29:55 +13:00
Akash Levy
ca57e14819
Address review feedback
2025-03-27 15:53:50 -07:00
github-actions[bot]
d3aec12fe9
Bump version
2025-03-26 00:22:20 +00:00
github-actions[bot]
59602740ee
Bump version
2025-03-25 00:23:05 +00:00
KrystalDelusion
cce7aaedf7
Merge pull request #4939 from DanielG/rsync-fallback
...
mk: Fall back to cp if rsync is not available
2025-03-25 10:41:27 +13:00
Daniel Gröber
2b67ad78bf
mk: Fall back to cp if rsync is not available
2025-03-24 18:06:17 +01:00
KrystalDelusion
8bde6ac17c
Merge pull request #4940 from DanielG/fix-help-rebuild
...
mk: Avoid broken rebuild if program --help fails
2025-03-21 10:01:13 +13:00
KrystalDelusion
b06a661913
Merge pull request #4834 from YosysHQ/emil/gzip-refactor
...
Memory-efficient zlib usage across Liberty file consumers
2025-03-21 10:01:00 +13:00
github-actions[bot]
f92ad7d900
Bump version
2025-03-20 00:21:55 +00:00
Emil J. Tywoniak
813f909460
gzip: istream
2025-03-19 13:43:44 +01:00
Emil J. Tywoniak
4f3fdc8457
io: refactor string and file work into new unit
2025-03-19 13:43:42 +01:00
Akash Levy
9c5bffcf93
Use wheel
2025-03-17 17:56:02 -07:00
github-actions[bot]
0c689091e2
Bump version
2025-03-18 00:21:58 +00:00
Akash Levy
0abe8bfee8
Merge branch 'YosysHQ:main' into pyosys_copy_abc
2025-03-17 16:50:14 -07:00
Daniel Gröber
de11624f42
mk: Avoid broken rebuild if program --help fails
...
Make will happily consider a target available if it's zero sized.
When writing output files with shell redirections for commands that usually
succeed we can apply the `|| rm $@` pattern.
For commands where --help exits with failure we always rerun the recipe
instead.
2025-03-16 10:53:55 +01:00
github-actions[bot]
e44d1d404a
Bump version
2025-03-13 00:22:18 +00:00
Miodrag Milanovic
1b07d204bb
Next dev cycle
2025-03-12 09:11:41 +01:00
Miodrag Milanovic
c4b5190229
Release version 0.51
2025-03-12 08:31:37 +01:00
github-actions[bot]
d1222c57af
Bump version
2025-03-12 00:21:49 +00:00
github-actions[bot]
6462cd2167
Bump version
2025-03-11 00:22:03 +00:00