Commit Graph

364 Commits

Author SHA1 Message Date
Chick Markley
70afebae9f Runs make clean after make-install to reduce used disk (#855)
* Runs `make clean` after `make-install` to reduce used disk
Make install leaves many .o and other files
Fixes problems with disk space on github actions runner

* Create a flag --clean-after-install that can be passed as the second argument to `make_build` function.

* Create a flag --clean-after-install that can be passed as the second argument to `make_build` function.
Ups tools-cache-version to v7

* Now running clean after install just depends on adding an environment variable when using scripts
that call `module_make` or `module_build`. Those two bash functions will check CLEANAFTERINSTALL and if
it is non-empty, they will call `make clean` after other `make` calls.

* build-toolchains.sh gets new flag
--clean-after-install to turn enable
`make clean` in `module_make` and `module_run`
2021-04-19 14:57:34 -07:00
Abraham Gonzalez
ab57b7d2ed Enable add-apt-repo 2021-03-31 19:00:59 -07:00
Abraham Gonzalez
3b26d6a9f9 Bump requirements to get newer Git version (for CI) 2021-03-31 17:04:42 -07:00
Darius Rad
8cd104ddc2 Support specifying architecture when building tools.
Add --arch option to build-toolchains.sh to support building
other toolchain variants (e.g., rv32gc).
2021-02-22 17:49:28 -05:00
Abraham Gonzalez
a86f80190c Merge pull request #771 from ucb-bar/update-dockerfiles
Update dockerfiles
2021-02-20 16:54:32 -08:00
Albert Ou
025d43cc08 scripts: Fix parsing of --ignore-qemu option 2021-02-09 13:04:09 -08:00
Ella Schwarz
e95e033e5e Updated dockerfile comments and updated dockerfile readme. Removed ci-dockerfile
Added python
2021-02-04 01:13:30 -08:00
Ella Schwarz
e13266bc82 Install python 2021-01-27 19:01:29 -08:00
Ella Schwarz
925bace660 fixed merge conflict 2021-01-20 21:19:56 -08:00
Ella Schwarz
49a76a606b Updated ci dockerfile. Moved dockerfiles to outer directory. Updated comments for entrypoint.sh 2021-01-20 18:59:38 -08:00
Albert Ou
36fe690204 scripts: Ensure git config changes are reverted on failure
Fixes #595
2021-01-14 13:09:13 -08:00
Ella Schwarz
fe1f7feba7 changed permissions of entrypoint.sh 2021-01-08 21:32:17 -08:00
Ella Schwarz
8141c717fc entrypoint.sh sets environment variables correctly. Dockerfile has all necessary steps, still needs to be cleaned up 2021-01-08 21:32:16 -08:00
Abel Joseph John
53386efb8e added gettext dependency for qemu build 2021-01-08 21:32:16 -08:00
alonamid
b4403a4b33 Merge remote-tracking branch 'origin/dev' into hammer-docs 2021-01-08 20:11:51 -08:00
Abraham Gonzalez
d1d7bb8f52 Merge pull request #747 from ucb-bar/local-fpga-support
Local FPGA Support - Arty/VCU118
2021-01-08 17:51:57 -08:00
Abraham Gonzalez
6d8627f36d Merge pull request #739 from ucb-bar/libgloss
Disable CC and CXX overrides for libgloss build
2020-12-30 16:16:50 -07:00
abejgonzalez
ca723f1323 Merge branch 'dev' into local-fpga-support 2020-12-27 20:57:57 -08:00
Jerry Zhao
36b9bf86ff Update MINGIT version to 1.8.5 (#745)
1.8.5 is necessary for `git -C` to work.
2020-12-22 22:45:58 -08:00
Albert Ou
0754c1e52b toolchains: Disable CC and CXX overrides for libgloss build 2020-12-14 15:10:24 -08:00
abejgonzalez
02f22e0061 Bump build.sbt.patch [ci skip] 2020-12-13 09:37:48 -08:00
alonamid
fef06f2f97 Merge remote-tracking branch 'origin/dev' into hammer-docs 2020-11-16 17:07:31 -08:00
alonamid
1c0707b25b Merge remote-tracking branch 'origin' into hammer-docs 2020-11-16 17:06:33 -08:00
Abraham Gonzalez
f54dce13d6 Merge pull request #709 from ucb-bar/small-backwards-compat
Bump Dromajo | Optional ignore QEMU toolchain flag
2020-11-15 14:07:31 -08:00
abejgonzalez
43e64ded93 Readd ignore fpga-shells in main submodule setup 2020-11-05 15:13:09 -08:00
abejgonzalez
356fa70c3c Update fpga-shells submodule | Fix Arty Makefile lines 2020-11-05 11:16:17 -08:00
abejgonzalez
c619df2c00 Merge branch 'local-fpga-temp' into local-fpga-support 2020-11-05 11:01:56 -08:00
Abraham Gonzalez
9052b41328 Re-ignore QEMU from gnu-toolchain | Avoid piping make version in toolchain build 2020-11-04 20:59:14 -08:00
Abraham Gonzalez
94eceeb624 Use empty variable instead of t/f 2020-11-04 15:54:09 -08:00
abejgonzalez
a2ebbee2ac Rename Ariane to CVA6 2020-11-04 15:42:30 -08:00
Abraham Gonzalez
5e3d1a605d Add --ignore-qemu flag to toolchains | Prepare QEMU when it builds 2020-11-04 11:57:23 -08:00
David Biancolin
57a0bc5dfc Fix zsh compatibility in init-submodules-no-rv-tools (#705) 2020-11-03 12:14:02 -05:00
Abraham Gonzalez
a07369acaf Merge remote-tracking branch 'ch/lazy-iobinders' into local-fpga-temp 2020-10-20 21:23:11 -07:00
abejgonzalez
341a6cc48d Merge remote-tracking branch 'origin/lazy-harnessbinders' into local-fpga-temp 2020-10-13 16:23:41 -07:00
Jerry Zhao
d958b8e1aa [ci skip] Update smartelf2hex to use MemSiz instead of FileSiz
elf2hex writes zeros to a segment for which MemSize > FileSize, which adheres to the ELF spec.
Thus, we should calculate the total size of the file from the MemSize of the last segment, rather than the FileSize.
2020-10-12 17:48:08 -07:00
Zitao Fang
942766ad86 Merge branch 'dev' of github.com:ucb-bar/chipyard into sodor-integrate 2020-09-25 11:41:40 -07:00
Jerry Zhao
d5660c01f3 Bump esp-isa-sim for loadmem-fix add TLS segments to smartelf2hex 2020-09-22 12:58:34 -07:00
Jerry Zhao
6c297e3179 Fix smartelf2hex.sh creating files 64x the minimum size 2020-09-22 11:08:52 -07:00
Zitao Fang
5506f77679 Add CircleCI check and update Sodor config 2020-09-14 09:14:57 -07:00
James Dunn
3b6d584672 Adding submodule update script for FPGA tools. 2020-09-02 13:27:31 -07:00
Abraham Gonzalez
f8a0757eee Remove extra mem_size line [ci skip] 2020-08-24 11:24:28 -07:00
Abraham Gonzalez
543136db8c Port numa_prefix to python2 [ci skip] 2020-08-24 11:04:28 -07:00
abejgonzalez
425b8ce850 Add support for multi-threaded verilator 2020-08-20 23:37:17 -07:00
Abraham Gonzalez
4ae1dfb14b Merge pull request #649 from ucb-bar/dir-eval
Change DIR evaluation strategy
2020-08-20 16:28:00 -07:00
Jacob Gadikian
aca96a7f4d Update ubuntu-req.sh (#645)
Use more cores when we can, and fewer when we can't use more
2020-08-18 11:49:15 -07:00
Abraham Gonzalez
d402825e7f Change eval. strategy 2020-08-17 17:15:05 -07:00
Colin Schmidt
edbb86ef98 Move elf2hex preprocessing into separate script 2020-08-05 11:23:48 -07:00
Jerry Zhao
661038f992 Deduplicate across Chiypard configs into a ChipyardBaseConfig 2020-07-06 17:54:24 -07:00
David Biancolin
5e4d2103cc [setup] Don't re-init firesim in firesim-setup.sh 2020-06-21 23:26:25 +00:00
David Biancolin
f7e0f6eab2 Merge pull request #593 from ucb-bar/re-re-bar
Update reference to 'REBAR' in script
2020-06-17 00:15:51 -07:00