Alessandro Comodi
93d1ae82f7
Enable the generation of extra part-dependents files
...
This change affects the extra-db target, by adding also the generation
of other part-dependent files, such as tilegrid, tileconn, and others.
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Jake Mercer
c05b4b0406
MAKE - Format Trailing Whitespace
...
Add `make format-trailing-ws`. This recipe finds all _files_ (not
links) known to Git and uses `sed` to remove trailing whitespace.
Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-26 10:04:52 +01:00
litghost
c94cb0224c
Revert "Whitespace"
2019-10-23 14:22:17 -07:00
Jake Mercer
e2e2d41405
MAKEFILE - FORMAT - Trailing Whitespace
...
`make format` now additionally removes trailing whitespace. Also now
ignores .bit files.
Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-22 19:35:24 +01:00
Jake Mercer
638c174962
MAKEFILE - Check if Root
...
Added a check to the top-level Makefile to ensure that it has not been
invoked by ID 0 i.e. `root` or `sudo`.
Resolves #1100 .
Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-20 00:40:35 +01:00
Tim Ansell
d78b50af8b
Merge pull request #1040 from antmicro/fix-sphinx-xref-links
...
Fixing documentation cross-reference links
2019-09-25 10:29:07 -07:00
Tomasz Michalak
ba924087eb
Fix HARNESS_DIR path for db-extras-zynq7
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-09-12 09:05:25 +02:00
Tomasz Michalak
50d8c368c8
Re-enable harness generation for Zynq
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-09-09 15:12:44 +02:00
Alessandro Comodi
887c5b67a9
exclude docs in `make test`
...
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-09-04 15:44:45 +02:00
Keith Rothman
9fc7adde11
Update make line for harnesses.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-08-09 16:28:33 -07:00
Keith Rothman
6f019f58a4
Add 50 MHz harness to harness list.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-08-08 08:54:31 -07:00
Karol Gugala
caeeb04dc6
Makefile: install sdf_timing module in env target
...
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-04-28 18:53:06 -07:00
Tomasz Michalak
d07cfe457f
fuzzers: disable harness generation for artix7
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-04-23 16:25:13 -07:00
Tomasz Michalak
d908eea23e
Make Makefiles use bash shell
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-04-18 09:28:31 +02:00
Keith Rothman
36177e9599
Add make targets to build additional outputs from each database.
...
These targets are for:
- Generating additional database outputs that are part, e.g. yaml files.
- Generating harnesses
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-04-10 11:55:39 -07:00
Keith Rothman
6b4621a7d6
Fix incorrect utility name.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-26 15:23:12 -07:00
Tim 'mithro' Ansell
822b1af81d
Update the info.md on Kokoro.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-03-22 15:16:25 -07:00
Tim 'mithro' Ansell
76b5c1c9ca
Change xxxdb to db-xxx.
...
Makes it work better with tab completion, type db-<tab>
Groups the db related commands together.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-03-22 15:16:03 -07:00
Tim 'mithro' Ansell
14642f64f8
Don't use system's site-packages.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell
fc1f36f3c0
infra: Restructure.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell
745965d4de
infra: Capture test results in Kokoro.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell
4bb8ff9ebf
make: Split the formatdb / checkdb into part specific targets.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Keith Rothman
1e3a136ce1
Install FASM into environment properly.
...
This will make sure that any requirements for the FASM library are
correctly installed into the environment too.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 13:50:39 +11:00
Keith Rothman
273c240e6c
Attempt #2 to make travis happy.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-06 17:34:26 -08:00
Keith Rothman
94217d105c
Update package symlinks.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-06 17:25:11 -08:00
Tim 'mithro' Ansell
57237d185d
Makefile: Fail if formatting fails.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00
Tim 'mithro' Ansell
a0d1c98056
Adding a `make formatdb` target.
...
Target will,
* Canonicalize the database by running `./utils/sort_db.py`
* Regenerate the [`Info.md` file](database/Info.md)
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00
Tim 'mithro' Ansell
0def5b2eeb
infra: Add docs to make format.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 19:56:33 -08:00
Tim 'mithro' Ansell
96c1874131
infra: Make travis run tests
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 19:54:53 -08:00
Tim 'mithro' Ansell
136d367f99
Refactor Makefile.
...
* Split up file better.
* Add test running.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 18:48:59 -08:00
Tim 'mithro' Ansell
841905c1e0
Adding `make test` target.
...
Uses [py.test](https://pytest.org ) to collect all Python doctests and
unittests.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 18:48:48 -08:00
Tim 'mithro' Ansell
9ebaf01de6
Add fasm into the environment.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 18:48:48 -08:00
John McMaster
d3a01f5895
python => python3
...
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-23 21:09:53 -08:00
Tim 'mithro' Ansell
91a1f8ba50
Add checkdb target to top level Makefile.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-19 17:07:59 -08:00
Tim 'mithro' Ansell
9f6f134c66
Small Makefile cleanup.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 19:13:45 -08:00
Tim 'mithro' Ansell
4fb29753ca
Check yaml *inside* the environment.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 18:50:47 -08:00
Tim 'mithro' Ansell
60e3f66674
Make sure YAML is installed.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 17:03:19 -08:00
John McMaster
d92748d24e
make format: fix .git
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 14:29:48 -08:00
Tim 'mithro' Ansell
23c435aa6e
Improve `make format`.
...
* Use `yapf` from environment if it exists.
* Better way to generate exclude.
* Make TCL formatting work.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-13 18:31:10 -08:00
John McMaster
9a4e8a4084
make format: parallelize
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 17:25:43 -08:00
John McMaster
7cfdc81767
Makefile: clang format 3.9 like travis
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 17:20:40 -08:00
John McMaster
c7aacd521b
tcl: reformat tool
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-05 16:52:56 -08:00
John McMaster
ca0fbc7bb1
make format: pin clang-format ver
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-16 10:09:07 -08:00
Tim 'mithro' Ansell
4a94337c79
Add target for a Python virtualenv.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-10-12 07:03:37 -07:00
Rick Altherr
5d103c0498
Makefile rules for generating complete databases
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:35 -08:00
Rick Altherr
47811acccd
Top-level clean target
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:33 -08:00
Rick Altherr
7980e069dd
Rename 'make go' to 'make build'
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-05 17:51:32 -08:00
Rick Altherr
e139b98aca
Ignore source files under .git/ during 'make format'
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-22 14:18:02 -08:00
Rick Altherr
820c0a5d78
Use yapf instead of autopep8 for Python formatting
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-09 14:50:05 -08:00
Rick Altherr
d14fc142df
Makefile: target to format source code
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-08 17:23:42 -08:00
Tim 'mithro' Ansell
fa871cd2c4
Adding a quickstart based Makefile
...
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 23:28:33 +01:00