3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00
Commit graph

153 commits

Author SHA1 Message Date
Akash Levy
9d3b7f7474
Merge branch 'YosysHQ:main' into main 2025-02-26 09:51:44 -08:00
Krystine Sherwin
68e9317f1f
libs/fst: Patch wx_len overread 2025-02-25 17:18:15 +13:00
Krystine Sherwin
67a0248186
libs/fst: Update from upstream
Fixes stringop-overread warning
2025-02-25 17:15:41 +13:00
Akash Levy
aa515e8847 Bump backward-cpp dep 2025-02-13 17:47:01 -08:00
Akash Levy
993b23e747 Merge upstream 2025-02-03 09:33:16 -08:00
Martin Povišer
212d2a6d6e lib/fst: Remove unaligned pointer access 2025-02-03 11:13:07 +01:00
Akash Levy
bd439fc524 Reapply "Merge upstream"
This reverts commit e73d51dbf0.
2025-01-23 13:40:32 -08:00
Akash Levy
e73d51dbf0 Revert "Merge upstream"
This reverts commit c58a50f880, reversing
changes made to a1c3c98773.
2025-01-21 05:28:36 -08:00
Akash Levy
c58a50f880 Merge upstream 2025-01-21 04:36:34 -08:00
Gabriel Somlo
fe79a77e39 Fix undefined type error in libs/json11/json11.cpp
Under certain conditions, compilation errors out with
the following message:

    "error: ‘uint8_t’ does not name a type"

Explicitly including <cstdint> prevents that situation.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2025-01-16 20:09:58 -05:00
Alain Dargelas
0e82550429 Support for backtrace 2024-12-05 13:29:27 -08:00
Akash Levy
4356eae4c9 Yosys sync 2024-12-04 14:16:55 -08:00
Krystine Sherwin
16a595004c
libs/fst: Fix Cygwin compat 2024-12-03 12:48:48 +13:00
Akash Levy
f855b39dbb
Merge branch 'YosysHQ:main' into main 2024-11-21 00:34:49 -08:00
Martin Povišer
1184418cc8
Merge pull request #4739 from hzeller/feature-20241113-stdlib-for-abort
Include stdlib.h for `abort()`
2024-11-20 10:19:31 +01:00
Alain Dargelas
62958591c4 Add liberty json parsing to stats command 2024-11-18 11:16:14 -08:00
Henner Zeller
a750c94c38 Include stdlib.h for abort() 2024-11-13 13:05:01 -08:00
Emil J
0aa2f0efdf
Merge pull request #4715 from hzeller/feature-20241106-use-stdlib-for-free
Include cstdlib for free()
2024-11-08 19:07:42 +01:00
Henner Zeller
285fd5b83a Include cstdlib for free() 2024-11-06 17:35:00 -08:00
Krystine Sherwin
a370c116d5
libs/fst: Use unbuffered IO flag 2024-10-18 07:25:29 +13:00
Krystine Sherwin
2157f67184
libs/fst: Patch more _MSC_VER checks 2024-10-17 07:05:24 +13:00
Krystine Sherwin
827e5baca7
libs/fst: Update from upstream 2024-10-17 07:05:23 +13:00
Krystine Sherwin
5f83d4d9da
libs/fst: Patch <io.h>
I think what's happening here is that the _WIN64 fix is correct for 64bit windows, but (for whatever reason) the visual studio build is targeting 32bit windows, so the fix is unnecessary, but the upstream fix doesn't expect to be targeting 32bit windows and assumes all windows builds are 64bit... so fix that.
2024-10-17 07:05:23 +13:00
Krystine Sherwin
a54721aa39
libs/fst: Patch for zlib on windows 2024-10-17 07:05:23 +13:00
Krystine Sherwin
c4a0845207
libs/fst: Fix filename references 2024-10-17 07:05:23 +13:00
Krystine Sherwin
2edb9397c3
libs/fst: Update from upstream
Add shell script (based on minisat lib) to clone and copy relevant files.
Unclear if there are any changes lost that we need to patch back in.
2024-10-17 07:05:23 +13:00
Emil J. Tywoniak
575415ade2 driver: switch to cxxopts, replace -B 2024-10-09 15:21:34 +02:00
Krystine Sherwin
e9f909aa25
minisat: Record changes in patch 2024-08-17 10:01:25 +12:00
Krystine Sherwin
55307a5452
minisat: Check for gcc 2024-08-16 04:30:37 +12:00
Krystine Sherwin
eb02ab07da
minisat: Use reallocarray
Avoid gcc warning about non-trivial copying.
2024-08-16 04:30:37 +12:00
Krystine Sherwin
d34833d177
Better snprintf size handling 2024-08-16 04:30:37 +12:00
Krystine Sherwin
636ce9ac2c
snprintf 2024-08-16 04:30:36 +12:00
Krystine Sherwin
7b47f645d7
Address warnings
- Setting default values
- Fixing mismatched types
- Guarding unused var
2024-08-16 04:30:31 +12:00
Roland Coeurjoly
4a2fb18718 Changes in libs, passes and tests Makefiles. LDLIBS -> LIBS. LDFLAGS -> LINKFLAGS. CXX is clang++ or g++, not clang and gcc 2024-02-25 17:23:56 +01:00
N. Engelhardt
d87bd7ca3f
Merge pull request #3887 from kivikakk/env-bash
tests: use /usr/bin/env for bash.
2023-12-18 16:33:35 +01:00
Jannis Harder
2f82e8eaed
Merge pull request #3906 from DanielG/fix-fstGetUint32-mips64el 2023-08-28 16:11:53 +02:00
Daniel Gröber
e4189ddfd1 Fix fstGetUint32 crash on mips64el due to misaligned access
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025307
2023-08-27 15:05:41 +02:00
Daniel Gröber
e017f6603c Fix i386 FP excess-precision issue in fstapi (Fixes: #3898)
Likely related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323#c225

Thanks to @jix for digging this up
2023-08-27 11:32:53 +02:00
Charlotte
d130f7fca2 tests: use /usr/bin/env for bash. 2023-08-12 11:59:39 +10:00
Miodrag Milanovic
05218ec900 Add dlfcn library for win32 2022-10-28 16:15:30 +02:00
Lloyd Parkes
7dcc9c664e And another place we need to lseek() after dup(). 2022-10-16 12:50:49 +13:00
Lloyd Parkes
635aa2a3fc Forcibly set the current seek location of gz files that we are accessing
via dup(fileno());gzdopen() because stdio might have buffered data from
the underlying file meaning that the underlying seek position isn't what
we think it is.
2022-10-16 12:36:00 +13:00
Josuah Demangeon
793b9ade56 extends the list of platforms without <alloca.h>
This permits to fix a compilation bug on OpenBSD

https://www.gnu.org/software/gnulib/manual/html_node/alloca_002eh.html
> This header file is missing on some platforms:
> FreeBSD 6.0, NetBSD 9.0, OpenBSD 6.7, mingw, MSVC 14.
2022-07-18 21:51:18 +02:00
Miodrag Milanovic
0d31aa6008 Proper std::move 2022-05-27 11:04:16 +02:00
Maciej Pasternacki
0302e97ebc Fix build on FreeBSD, which has no alloca.h 2022-04-24 19:35:50 +02:00
Miodrag Milanovic
4a30c9cb94 Fix Visual Studio build 2022-02-02 11:46:06 +01:00
Miodrag Milanovic
7101df62f8 Fix for limit_range_end when not writing vcd 2022-01-28 12:15:14 +01:00
Miodrag Milanovic
c811a71301 Cleanup of config to support platforms 2022-01-26 09:58:27 +01:00
Miodrag Milanovic
9e9083bbe9 Add FST library 2022-01-25 09:53:41 +01:00
Claire Xenia Wolf
72787f52fc Fixing old e-mail addresses and deadnames
s/((Claire|Xen|Xenia|Clifford)\s+)+(Wolf|Xen)\s+<(claire|clifford)@(symbioticeda.com|clifford.at|yosyshq.com)>/Claire Xenia Wolf <claire@yosyshq.com>/gi;
s/((Nina|Nak|N\.)\s+)+Engelhardt\s+<nak@(symbioticeda.com|yosyshq.com)>/N. Engelhardt <nak@yosyshq.com>/gi;
s/((David)\s+)+Shah\s+<(dave|david)@(symbioticeda.com|yosyshq.com|ds0.me)>/David Shah <dave@ds0.me>/gi;
s/((Miodrag)\s+)+Milanovic\s+<(miodrag|micko)@(symbioticeda.com|yosyshq.com)>/Miodrag Milanovic <micko@yosyshq.com>/gi;
s,https?://www.clifford.at/yosys/,http://yosyshq.net/yosys/,g;
2021-06-08 00:39:36 +02:00