Commit Graph

400 Commits

Author SHA1 Message Date
abejgonzalez
12d4444e3d Check for tagged release 2022-02-11 19:48:09 +00:00
Abraham Gonzalez
0fe908bfec Merge pull request #1060 from ucb-bar/chisel-3.5-published
Bump to Chisel 3.5 RC
2022-02-10 17:09:06 -08:00
Nayiri K
f54f78504b sky130 tutorial initial modifications 2022-02-09 13:10:44 -08:00
Kevin Laeufer
534fde1c0f tracegen: execute to axe script with python2 (#1107) 2022-02-08 14:12:33 -08:00
abejgonzalez
a3f0d1ed57 Bump tutorial build.sbt patch 2022-02-01 11:06:34 -08:00
abejgonzalez
36e6a1736e Update tutorial patch | Small warning fixes to build.sbt 2022-01-17 11:26:21 -08:00
Jerry Zhao
888abc3e83 Add init-software script 2021-12-16 13:08:11 -08:00
Jerry Zhao
9215231c66 Don't initialize nvdla-workload with init-submodules
nvdla-workload is very large, results in long init times
2021-12-16 09:45:03 -08:00
David Biancolin
170994ac9d [sbt] Seperate settings assignments onto multiple lines 2021-12-08 07:28:16 +00:00
David Biancolin
1eea2c83b9 [sbt] Update comments about mandatedVersions 2021-12-07 18:19:27 +00:00
David Biancolin
a5b412cfbc Remove sriracha and generated .sbtopts 2021-12-07 04:58:54 +00:00
David Biancolin
a2d88c7140 Update tutorial patches 2021-12-04 20:12:34 +00:00
Ella Schwarz
663af1c4f6 Regenerate patch for Ibex 2021-11-21 19:27:38 -08:00
Abraham Gonzalez
15a6b9f9cf Merge pull request #1021 from quyleanh/patch-1
Add define for MAKE variable
2021-11-01 14:49:52 -07:00
Quy Le Anh
f7ab5d6260 Add define for MAKE variable
Currently there is no define for MAKE. Running script always throws `obsolete make version; need GNU make 4.x or later` error.

This config is from [`build-util.sh` script](9d055fdac6/scripts/build-util.sh (L17-L19))
2021-10-24 10:22:23 +07:00
Tynan McAuley
4516e906b3 Use GNU readlink on macOS
BSD readlink is quite different from GNU readlink, so DIR was not being
filled in with the absolute path to the 'scripts' directory on macOS.
2021-09-21 17:57:02 -07:00
Abraham Gonzalez
a2be55bd11 Merge pull request #937 from ucb-bar/qemu-disable-werror
qemu: build without -Werror
2021-08-25 21:52:17 -07:00
Kevin Läufer
17272e3e0b qemu: build without -Werror
While -Werror is nice for developer builds,
it can easily lead to breakage when people
use newer compilers which add new warnings.
2021-08-10 12:28:02 -07:00
Tingyuan LIANG
2e9fa01b64 generate the .sbtopt file during repo initialization
**Related issue**:  #932 and #880

**Type of change**: other enhancement

**Impact**: other (change a repo initialization script)

**Release Notes**
change a repo initialization script [init-submodules-no-riscv-tools-nolog.sh](https://github.com/zslwyuan/chipyard/blob/master/scripts/init-submodules-no-riscv-tools-nolog.sh) so it can generate the .sbtopt file in the Chipyard directory during repo initialization and use the absolute path for the SBT workspace variables in .sbtopts. 

Hope it can adapt to more compilation scenarios. For example, now users should be able to open the shipyard project directly using Intellij.
2021-08-02 22:02:18 +08:00
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