| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
Suppress warning during initial clone of ABC repo
|
| |
| |
| |
| |
| |
| |
| | |
9dedac50 introduced this harmless but disconcerting warning, which was emitted
when abc/ did not yet exist and was about to be cloned:
/bin/sh: line 0: cd: abc: No such file or directory
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
This PR works around #2011.
|
|\
| |
| | |
Add WASI platform support
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This includes the following significant changes:
* Patching ezsat and minisat to disable resource limiting code
on WASM/WASI, since the POSIX functions they use are unavailable.
* Adding a new definition, YOSYS_DISABLE_SPAWN, present if platform
does not support spawning subprocesses (i.e. Emscripten or WASI).
This definition hides the definition of `run_command()`.
* Adding a new Makefile flag, DISABLE_SPAWN, present in the same
condition. This flag disables all passes that require spawning
subprocesses for their function.
|
|\ \
| |/
|/| |
Explain how to do out-of-tree builds in README
|
| | |
|
|/
|
|
| |
Enabling modifications
|
|\
| |
| | |
Suppress output of Makefile.conf when printing source versions
|
| |
| |
| |
| |
| |
| |
| |
| | |
The make targets echo-yosys-ver, echo-git-ver and echo-abc-rev can be
used to programmatically extract contents of make variables for external
scripts. Unfortunately, when a Makefile.conf exists, its contents would
also be echoed, making the output almost unusable. This patch
selectively disables this functionality for these special targets.
|
|/
|
|
|
|
|
|
| |
By operating at a layer of abstraction over the rather clumsy Intel primitives,
we can avoid special hacks like `dffinit -highlow` in favour of simple techmapping.
This also makes the primitives much easier to manipulate, and more descriptive
(no more cyclonev_lcell_comb to mean anything from a LUT2 to a LUT6).
|
| |
|
| |
|
|
|
|
|
| |
This commit adds a basic implementation that isn't very performant
but implements most of the planned features.
|
|
|
|
|
| |
If this is not present in the install, #include-ing most yosys
headers will fail in rtlil.h:380.
|
|\
| |
| | |
Enable ENABLE_LIBYOSYS when ENABLE_PYOSYS is set (closes #1813)
|
| | |
|
|/
|
|
| |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
`rev-parse --short` output may have a different abbreviated hash length than
ABCREV, so a simple string comparison always fails, even if the correct
commit is checked out. Pass both commits through rev-parse and then
compare the full hashes instead.
Add an `echo-abc-rev` target so that packaging scripts can set ABCPULL=0 and
handle all the git nastiness themselves.
|
| |
|
|
|
|
| |
This reverts commit 2a746234fec2f6d14e9bfa40fd7f3478cdd539ea.
|
|
|
|
| |
This reverts commit 90404e1969443a1b8a767ab8f3dc311709c5fe9d.
|
|\
| |
| | |
Makefile improvements for packaging scripts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`rev-parse --short` output may have a different abbreviated hash length than
ABCREV, so a simple string comparison always fails, even if the correct
commit is checked out. Pass both commits through rev-parse and then
compare the full hashes instead.
Add an `echo-abc-rev` target so that packaging scripts can set ABCPULL=0 and
handle all the git nastiness themselves.
|
| |
| |
| |
| |
| |
| | |
- libyosys.so is now only installed to LIBDIR instead of LIBDIR, BINDIR
and PYTHON_DESTDIR
- replace mkdir/cp for single files with `install`
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
Signed-off-by: Rodrigo Alejandro Melo <rodrigomelo9@gmail.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The behaviour of python-config --libs has changed in Python 3.8.
For example, compare the output of it with Python 3.7 and 3.8 on an
ArchLinux system:
$ python3.7-config --libs
-lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
$ python3.8-config --libs
-lcrypt -lpthread -ldl -lutil -lm -lm
$
The lack of -lpython in the latter case causes the linker to fail when
attempting to build Yosys against Python 3.8.
Passing the new --embed flag to python-config adds -lpython, just like
earlier versions of Python:
$ python3.8-config --embed --libs
-lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
$
This commit adds code for automatically detecting support for the
--embed flag. If it is supported, it is passed to all python-config
invocations. This fixes building against Python 3.8.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On some architectures, notably on Windows, the official name for the
Python binary from python.org is `python`. The build system assumes
that python is called `python3`, which breaks under this architecture.
There is already infrastructure in place to determine the name of the
Python binary when building PYOSYS. Since Python is now always required
to build Yosys, enable this check universally which sets the
`PYTHON_EXECUTABLE` variable.
Then, reuse this variable in other Makefiles as necessary, rather than
hardcoding `python3` everywhere.
Signed-off-by: Sean Cross <sean@xobs.io>
|
| |
|
|\ |
|
| |\ |
|
| | |\ |
|