Commit Graph

227 Commits

Author SHA1 Message Date
Clifford Wolf 7fc69b3095 Fixed version string for out-of-tree builds 2016-10-14 17:18:18 +02:00
Clifford Wolf 09aeb9a2aa Merge branch 'master' of github.com:cliffordwolf/yosys 2016-10-14 09:36:40 +02:00
Clifford Wolf 788e51164e Added YOSYS_VER_STR make variable 2016-10-14 09:35:18 +02:00
Salvador E. Tropea 80749f174c Ugh! extra patches got here, reverting 2016-10-13 17:57:09 -03:00
Salvador E. Tropea cc8f29a1e6 Allow to overwrite ABCEXTERNAL from the environment.
In this way Debian scripts can define it as berkeley-abc from the shell.
2016-10-13 17:51:14 -03:00
Salvador E. Tropea f263b175b5 Modified test target name (to test-all)
As this target depends on external tools, and packagers run "make test",
I think the name should be less generic.
2016-10-13 17:38:42 -03:00
Salvador E. Tropea 77ce8139a5 Added a new configuration variable GIT_REV_WHERE
It determines from where we get the gits SHA1 value. By default is HEAD,
suitable for Clifford, but for Debian we can define it as upstream/master
2016-10-13 17:34:15 -03:00
Clifford Wolf e586e5e15a Update ABV to hg rev eb6eca6807cc 2016-10-02 22:08:53 +02:00
Clifford Wolf 23594597bc Updated ABV to hg rev 6b74de13c57f 2016-10-01 12:23:24 +02:00
Clifford Wolf ca5462523e Updated ABV to hg rev 2bc57cc30593 2016-09-30 10:56:36 +02:00
Eric Smith f4240cc8a4 Add optional SEED=n command line option to Makefile, and -S n command line option to test scripts, for deterministic regression tests. 2016-09-22 11:49:29 -06:00
Clifford Wolf ceff7ecd91 Install celledges.h 2016-09-07 13:43:57 +02:00
Clifford Wolf e2570ffb87 Updated ABC to hg 8e08604f8ad3 2016-09-07 11:08:54 +02:00
Russell L Friesenhahn ee620c6a24 Relax test to see if yosys dir is a git repository in Makefile
This prevents the test from failing in the case that yosys is a
submodule of a repository since for a submodule the .git is actually a
file containing the location of the submodule's .git directory
2016-08-26 11:15:36 -05:00
Russell L Friesenhahn 23f217b166 Allow redefining of the ABC repository URL
For persons or organizations that prefer to keep their own mirrors of
repositories, users may now specify the URL of the ABC Mercurial
repository that yosys clones during build.

The URL may be set in the Makefile directly, on the
command-line, or in the environment
2016-08-26 11:14:24 -05:00
Clifford Wolf 42a971226b Fixed default build config 2016-08-16 22:44:38 +02:00
William D. Jones 5299b17056 Add MSYS2-compatible build. 2016-08-16 14:41:59 -04:00
Clifford Wolf 5531bd7578 Updated ABC to hg rev a86455b00da5 2016-08-16 09:08:26 +02:00
Clifford Wolf b4d544f0d9 Updated ABC to hg rev 760ba358e790 2016-08-16 00:56:42 +02:00
Clifford Wolf 4561586eed ABC mxe cross-build fix 2016-08-16 00:52:10 +02:00
Clifford Wolf f162b858f2 Added CellEdgesDatabase API 2016-07-24 13:59:57 +02:00
Clifford Wolf c3365034e9 Updated ABC to hg rev b5df6e2b76f0 2016-06-17 11:16:31 +02:00
Clifford Wolf 407cdea0bc Updated min GCC requirement to GCC 4.8 2016-05-11 09:31:53 +02:00
Clifford Wolf f103bfb9ba Fixes for MXE build 2016-05-07 10:53:18 +02:00
Clifford Wolf 06d35ea942 Improved TCL_VERSION detection so it does not read .tclshrc 2016-04-29 10:26:22 +02:00
Clifford Wolf 38245b6733 Added msan origins tracking 2016-04-05 13:25:05 +02:00
Sergey Kvachonok 963c0d2525 Embed DATDIR make variable value into yosys binary.
Use it as the last resort in the share/ directory location search.
2016-03-26 11:16:53 +03:00
Sergey Kvachonok d53a16e43a Allow redefining pkg-config Makefile command.
Example usage:

$ make CXX=i686-w64-mingw32-g++ PKG_CONFIG=i686-w64-mingw32-pkg-config
2016-03-25 10:35:42 +03:00
Sergey Kvachonok 972f4a9616 Allow redefining binary and data install locations.
Add three more Makefile variables in addition to PREFIX:

$ make BINDIR=/.../bin LIBDIR=/.../lib DATDIR=/.../share/yosys

The defaults are:

BINDIR = $(PREFIX)/bin
LIBDIR = $(PREFIX)/lib
DATDIR = $(PREFIX)/share/yosys
2016-03-25 10:35:42 +03:00
Clifford Wolf 4f2ea221dc Added ast.h to exported headers 2016-03-22 14:46:10 +01:00
Clifford Wolf bb9374b67c Improvements in ABCEXTERNAL handling 2016-03-19 20:02:40 +01:00
Sergey Kvachonok 2656b2c55a Support calling out to an external ABC.
$ make ABCEXTERNAL=my-abc && make ABCEXTERNAL=my-abc install

configures yosys to use an external ABC executable instead of
building and installing the in-tree ABC copy (yosys-abc).
2016-03-19 18:36:18 +03:00
Clifford Wolf c89f61c730 We are now in 0.6+ development 2016-02-26 17:24:31 +01:00
Clifford Wolf 5869d26da0 Yosys 0.6 2016-02-26 16:55:21 +01:00
Clifford Wolf 7a9257e7b5 Updated ABC to ae7d65e71adc 2016-02-15 15:30:46 +01:00
Clifford Wolf 0373bd98bb Fixed MXE ABC build 2016-02-13 15:43:23 +01:00
Clifford Wolf 840a6dc893 Updated ABC 2016-02-08 01:13:53 +01:00
Clifford Wolf e7bec9bbb8 Updated ABC 2016-02-07 08:56:32 +01:00
Clifford Wolf 7ef613ebdf Updated ABC to hg rev ee212a9e94df 2016-02-01 15:51:27 +01:00
Clifford Wolf 71f418c468 More clang sanitizer stuff 2016-01-31 19:55:48 +01:00
Clifford Wolf fe97110be0 Addedd clang sanitizers 2016-01-31 16:08:21 +01:00
Micah Elizabeth Scott 7948156abf Mac build fix, gsed -> sed
Homebrew is calling its GNU sed just 'sed' now.
2015-12-15 10:22:35 -08:00
Clifford Wolf b18f3a2974 Changes for Verific 3.16_484_32_151112 2015-11-12 19:28:14 +01:00
Ruben Undheim 978933704b Use DESTDIR as defined in https://www.gnu.org/prep/standards/html_node/DESTDIR.html
This is needed for painless packaging of yosys
2015-10-11 00:56:20 +02:00
Ruben Undheim 2792b00792 Use LDFLAGS, CXXFLAGS and CPPFLAGS from the environment when building 2015-10-11 00:47:37 +02:00
Clifford Wolf 405cf67b64 Fixed emcc build 2015-09-21 12:33:36 +02:00
Clifford Wolf aedcfd6fd3 Fixed Makefile rules for generated share files 2015-08-16 21:15:07 +02:00
Larry Doolittle 1e67b29919 Fix version strings for out-of-tree builds
Still assumes source tree is a git repository
2015-08-14 23:27:19 +02:00
Clifford Wolf fc20b1c3d2 Fixed "make clean" for out-of-tree builds 2015-08-12 16:54:30 +02:00
Clifford Wolf e4ef000b70 Adjust makefiles to work with out-of-tree builds
This is based on work done by Larry Doolittle
2015-08-12 15:04:44 +02:00