Commit Graph

90 Commits

Author SHA1 Message Date
Albert Ou
7059ac3f0f toolchains: Add libgloss replacement 2019-12-21 12:11:49 -08:00
Albert Ou
f71d976114 toolchains: Build libraries with medany code model
This enables bare-metal programs to link against newlib and libgcc at
addresses above 0x80000000.
2019-12-21 12:11:48 -08:00
Jerry Zhao
72f9730cbd Allow user to specify toolchain install prefix (#334) 2019-12-13 11:40:47 -08:00
abejgonzalez
2468da282e dont ctags within toolchains/sim | only ctags scala/C/C++/python files 2019-11-23 18:56:38 -08:00
Nathan Pemberton
6d2f102a7e Shallow clone sha3 2019-11-12 19:42:36 -05:00
Nathan Pemberton
6ca1715b47 Bump firemarshal to not initialize linux by default. This bumps the sha3
generator to include the software workloads (moved from marshal). As a
result, the sha3 generator submodule is not initialized by default
(because it now has a copy of linux).
2019-11-12 17:18:02 -05:00
Howard Mao
05af2f9a9c Fix tracegen target and add to CI 2019-10-21 09:55:40 -07:00
Abraham Gonzalez
ced4d2eea0 Merge pull request #314 from ucb-bar/master
`master` fixes into `dev`
2019-10-18 21:05:29 -04:00
abejgonzalez
c87b69fcbf fix spacing in init-submodules-no-riscv-tools.sh 2019-10-15 21:14:27 -07:00
abejgonzalez
112fe43f60 add -f flag 2019-10-14 10:36:15 -07:00
abejgonzalez
33664cf11e add a specific toolchain env 2019-10-13 08:24:57 -07:00
Albert Ou
14d2cfc751 Fix SRCDIR for qemu build
RDIR (the initial working directory) is not necessarily the top of the
chipyard source tree.
2019-10-08 02:33:28 -07:00
abejgonzalez
73252f323b Merge remote-tracking branch 'origin/dev' into alon-docs-dev 2019-10-07 19:54:12 -07:00
Nathan Pemberton
151d3f16c3 typo in command for ignoring qemu submodule 2019-10-05 00:24:31 +00:00
Nathan Pemberton
8e8ce09ce9 Move qemu to chipyard from firesim 2019-10-04 19:04:08 -04:00
Nathan Pemberton
95a44ff6d0 Switch to bash optarg for cli handling in init-submodules script 2019-10-04 17:54:33 -04:00
alonamid
1e7c57f36c fix toolchains usage 2019-10-04 00:17:12 -07:00
Nathan Pemberton
dcddf2c842 Fix typo in firesim initialization in init-submodules-no-riscv-tools.sh 2019-10-03 20:20:41 -04:00
Nathan Pemberton
41c560e5a8 Add symlink to firemarshal to software/firemarshal. Marshal still lives
in firesim for now, but can be accessed from chipyard top.
2019-10-03 18:47:04 -04:00
Albert Ou
c7b252aa09 toolchains: Check for GNU make 4.x
GNU make 4.x is needed to cross-compile glibc 2.28 and newer.
This ensures the problem is caught earlier on CentOS release 7.6, whose
default make version remains 3.82.
2019-10-02 13:16:04 -07:00
Albert Ou
b4ed5eb61b toolchains: Optionally build riscv-openocd with a separate script 2019-10-02 13:16:01 -07:00
Albert Ou
2f1e5e994b toolchains: Flatten riscv-tools submodule
This allows individual components to be better maintained following the
deprecation of riscv-tools.  Eliminate non-essential submodules.

build-static-libfesvr.sh is no longer necessary since libfesvr.a is
built as part of the riscv-isa-sim build.

For simplicity, only riscv-gnu-toolchain is now pre-built instead of the
entirety of riscv-tools.
2019-10-02 13:14:05 -07:00
Albert Ou
b0b3e016e5 scripts: Remove unnecessary experimental-blocks ignore
Polluting the global .gitconfig is not appreciated in any case.
2019-10-02 13:09:43 -07:00
Harrison Liew
cfba37afc9 bump hammer, remove saed32 2019-09-19 22:50:14 -07:00
Harrison Liew
971809a546 update submodules script 2019-09-19 22:50:14 -07:00
Harrison Liew
6179a91a29 some plumbing but still need to remove sram generator target for asap7 2019-09-19 22:50:05 -07:00
Abraham Gonzalez
3083bfd442 Merge pull request #218 from ucb-bar/ignore-docs-ci
Ignore docs in CircleCI
2019-09-04 19:49:53 -07:00
Albert Ou
4963792e98 scripts: Scale number of make jobs by hardware thread count
If the hardware thread/core count cannot be determined successfully,
avoid setting the '-j' option for make.
2019-09-01 00:03:08 -07:00
Albert Ou
cff1f6b11e scripts: Eliminate unnecessary process substitution 2019-09-01 00:01:10 -07:00
Albert Ou
9e9e7dd442 scripts: Fix latent issues with env.sh
* Ensure shell metacharacters are quoted in RISCV variable assignment.
* Avoid unnecessary expansion of $RISCV and $LD_LIBRARY_PATH at
  generation time.
* Remove undefined usage of $DTCversion.
* Simplify output redirection.
2019-09-01 00:00:50 -07:00
Albert Ou
2c2f5a76e3 scripts: Fix quoting to prevent unintended word splitting 2019-08-31 15:00:32 -07:00
Albert Ou
10b708d173 scripts: Ensure non-zero exit code on error 2019-08-31 03:18:34 -07:00
Albert Ou
40a94dd08e scripts: Parse options with getopts builtin 2019-08-31 03:18:34 -07:00
Howard Mao
0e8fb52f8d add check-tracegen.sh script 2019-08-30 11:38:07 -07:00
abejgonzalez
fc380b2dda ignore docs using a github webhook 2019-08-29 23:43:08 -07:00
Abraham Gonzalez
60f603e7c8 Safer LD_LIBRARY_PATH 2019-07-25 15:19:59 -07:00
Abraham Gonzalez
495e9d2668 Do not clobber LD_LIBRARY_PATH in env.sh 2019-07-24 23:19:18 -07:00
Howard Mao
fe45d94974 make sure git submodule update --init run from top-level directories 2019-07-22 14:58:30 -07:00
alonamid
5a7ff760d1 Merge pull request #157 from ucb-bar/toolchains2
Toolchains build update
2019-07-22 14:37:38 -07:00
alonamid
72b5df057a Return to main dir 2019-07-22 17:43:51 +00:00
alonamid
e177fcd414 try to fix openocd path 2019-07-22 17:41:31 +00:00
alonamid
9e5ed591b9 try to fix CI 2019-07-22 16:54:23 +00:00
alonamid
8646283a17 colin comments 2019-07-22 16:35:15 +00:00
Abraham Gonzalez
52322376e6 Unset the init for hammer-cad-plugins
This allows the user to not run the `unset` command after the init script to update the submodules.
2019-07-19 16:44:46 -07:00
Jerry Zhao
b923617f64 Fixup init-vlsi.sh 2019-07-19 15:06:51 -07:00
Jerry Zhao
e63db54b9c Add first-time-run instructions to vlsi/README 2019-07-19 15:03:28 -07:00
alonamid
265380d960 fix install path 2019-07-19 16:59:40 +00:00
alonamid
b74b23aad0 remove global 2019-07-19 05:57:43 +00:00
alonamid
a759d64926 Merge remote-tracking branch 'origin/dev' into toolchains2 2019-07-19 01:10:50 +00:00
alonamid
121c572d72 pr comments 2019-07-19 00:54:34 +00:00