Commit Graph

381 Commits

Author SHA1 Message Date
David Biancolin
e1965400f6 Use a ZSH-compatible version of BASH_SOURCE[0] 2021-06-11 05:18:01 +00:00
chick
9e1bf57466 Update reference in build.sbt.patch from
`rocket-dsptools` to `rocket-dsp-utils`
2021-06-09 11:15:46 -07:00
Abraham Gonzalez
65fae6b77c Merge pull request #883 from ucb-bar/root-dockerfile
Use root user for the Dockerfile
2021-05-13 16:41:31 -05:00
Abraham Gonzalez
86593e2948 Bump CI | Update entrypoint.sh for toolchain image 2021-05-11 17:29:07 -05:00
abejgonzalez
453b1b5d95 Fix tutorial patch 2021-05-06 22:11:02 -07:00
Abraham Gonzalez
ff02977c5c Merge pull request #874 from ucb-bar/KarlJoad-Combined
Requirement Scripts Update
2021-05-05 22:32:46 -07:00
Tim Snyder
d9900e56c1 test whether git.qemu.org rewrite still needed (#877)
In https://github.com/ucb-bar/chipyard/pull/876#issuecomment-831639151
it was requested that we add a note to build-toolchains.sh saying that the
url rewrites can be removed.  I went a step further and made it self-checking.

Once qemu is bumped far enough that none of it's submodules come from
git.qemu.org, then the test added in this commit will fail CI during the bump PR
and everyone will be reminded to remove the url renaming rules and change
module_build back to module_all for qemu.

Co-authored-by: Tim Snyder <snyder.tim@gmail.com>
2021-05-04 19:14:45 -05:00
abejgonzalez
c9e974bceb Merge remote-tracking branch 'origin/dev' into KarlJoad-Combined 2021-05-04 15:34:24 -07:00
Tim Snyder
c4e2e1246d avoid git.qemu.org (#876)
git.qemu.org seems to be down or under heavy load. Latest qemu
seems to have changed it's .gitmodules to use gitlab.  Since we're
using a github.com mirror, when cloning qemu use rewrite rules to
use github instead of git.qemu.org.  Also install the rewrite rules
recursively into the local config of qemu and it's submodules so
that any further git commands done interactively by the user
will also use github.

Co-authored-by: Tim Snyder <snyder.tim@gmail.com>
2021-05-04 08:06:18 -05:00
Abraham Gonzalez
c2977029d4 Merge remote-tracking branch 'origin/KarlJoad-update-initial-setup-scripts' into KarlJoad-Combined 2021-05-03 13:32:17 -07:00
abejgonzalez
7bbffb2c24 Merge branch 'update-initial-setup-scripts' of ssh://github.com/KarlJoad/chipyard into KarlJoad-update-initial-setup-scripts 2021-04-28 16:01:37 -07:00
abejgonzalez
76b0dd8c71 Merge branch 'update-to-python3.8' of ssh://github.com/KarlJoad/chipyard into KarlJoad-update-to-python3.8 2021-04-28 15:46:07 -07:00
Karl Hallsby
d5893adad6 Install curl in Ubuntu requirements
Ubuntu does not ship with curl by default any more. If we are to use
curl to install SBT's required information, we must ensure it is
available for use on Ubuntu.
2021-04-26 13:57:47 -05:00
Karl Hallsby
67a29f56ab Use nproc to determine number of cores in CentOS verilator build 2021-04-26 13:51:59 -05:00
Karl Hallsby
25f85ffa0e Bump installed versions of python to 3.8
Ubuntu 20.04 LTS (the most recent LTS release) stopped shipping Python
3.6 in their default repositories.

Upping it to Python 3.8 does not seem to have broken the
design/elaboration process. I tested re-building Chipyard and all its
dependencies using this new version, and everything appears to have
remained the same.
2021-04-26 13:50:33 -05:00
Karl Hallsby
7228a7f9b4 Add missing dependency for building verilator on Ubuntu 2021-04-26 12:45:55 -05:00
Karl Hallsby
f08f88aac0 Update sbt installation
Bintray has gone down. SBT's website now provides these as install commands.
2021-04-26 12:14:10 -05:00
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