aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-05-23Merge pull request #1254 from riscv-collab/fix-12522023.05.24Kito Cheng1-1/+5
Install pyelftools before testing
2023-05-19Install pyelftools before testingKito Cheng1-1/+5
We use some non-standard python package in #1233, so we must make sure it available before run the test. Fix #1252
2023-05-18Merge pull request #1246 from patrick-rivos/make-report-ci2023.05.19Kito Cheng3-2/+60
Add ci jobs for make-report and make-report multilib
2023-05-17Add support to build LLVM/clang with C and C++ supportChristoph Müllner4-19/+142
We currently have a stale "llvm" branch, that does not build. However, there is clear demand in the RISC-V toolchain community for a working LLVM on top of a recent GNU toolchain. In order to build such a toolchain, quite some LLVM and clang know-how is required to avoid path issues at LLVM build time or later when using clang. The main purpose of this commit is to demonstrate a way to combine the RISC-V GNU toolchain repo with LLVM, with the intent to save others hours of frustration, debugging time or support time. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2023-05-17llvm: Add new submoduleChristoph Müllner2-0/+4
This patch adds a submodule for llvm. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2023-05-13Merge pull request #1233 from riscv-collab/attr-qemu2023.05.14Kito Cheng3-6/+61
Set qemu cpu option from ELF attribute
2023-05-13Merge pull request #1247 from patrick-rivos/multilib-dejagnu-fixKito Cheng1-0/+0
dejagnu: Bump dejagnu to include multilib fix
2023-05-11Add make-report and make-report multilib to a subset of the existing build ↵Patrick O'Neill2-1/+59
ci jobs
2023-05-11Return error when no testsuite results are detectedPatrick O'Neill1-1/+1
2023-05-11configure: change --disable-debug-info to --enable-debug-infoHuaqi Fang2-9/+10
--enable-debug-info will enable debug information when build library Signed-off-by: Huaqi Fang <578567190@qq.com>
2023-05-11build: move the DEBUG_INFO into C/CXX/AS Flags for target variableHuaqi Fang1-7/+7
Signed-off-by: Huaqi Fang <578567190@qq.com>
2023-05-11Update README.md to reflect new default ISA spec versiontienntr1-1/+1
Default ISA spec version was bumped to 20191213 in 0ae36fce64a1f9a45747e35583c8f3f6bc482693 (#1229) but it's not reflected in README.md.
2023-05-04dejagnu: Bump dejagnu to include multilib fixPatrick O'Neill1-0/+0
2023-04-28Merge pull request #1238 from riscv-mcu/feature/python3_env2023.04.29Kito Cheng1-1/+1
env: fix python3 env not found in /usr/bin
2023-04-28env: fix python3 env not found in /usr/binHuaqi Fang1-1/+1
for centos env is in /usr/bin for ubuntu env is in /usr/bin Signed-off-by: Huaqi Fang <578567190@qq.com>
2023-04-24Merge pull request #1232 from mga-sc/mga-sc/debugInfo2023.04.25Kito Cheng3-4/+36
[Makefile.in] glibc: Remove unnecessary -g option
2023-04-24[Makefile.in] glibc: Remove unnecessary -g optionMark Goncharov3-4/+36
Using llvm-objdump I found warning if file was compiled using riscv-gcc. Examples: warning: failed to find source riscv-glibc/csu/elf-init.c It concerned with compilation glibc with debug info that is unnecessary operation. If user want to have debug info, than it's easy to pass -g. This option wasn't touched more than 7 years...
2023-04-24Add --get-elf-class for march-to-cpu-optKito Cheng2-4/+17
2023-04-24Change /usr/bin/python3 to /usr/bin/env python3Kito Cheng1-1/+1
2023-04-24Set qemu cpu option from ELF attributeKito Cheng3-5/+47
This could help multi-lib testing, but the price is slightly increase the testing time since it will need to extract ELF attribute from binary before running qemu. But I think the cost is acceptable compare to make build system more complicate, and actually we already use this approach in our internal stuffs for years.
2023-04-20Merge pull request #1235 from amitch1999/master2023.04.21Kito Cheng1-9/+9
changed riscv-gcc references to gcc in README
2023-04-20changed riscv-gcc references to gccachernia1-9/+9
2023-04-20Merge pull request #1234 from riscv-collab/dejagnu-1.6.2Kito Cheng1-0/+0
dejagnu: Rollback version to 1.6.2
2023-04-20dejagnu: Rollback version to 1.6.2Kito Cheng1-0/+0
Christoph has a fix on the road of upstream, but it not get merge yet, so let rollback for now, and upgrade when upstream done. Workaround for #1201
2023-04-18Merge pull request #1229 from pz9115/master2023.04.18Kito Cheng2-8/+10
Update --with-isa-spec default option.
2023-04-17Update --with-isa-spec default option.Jiawei2-8/+10
2023-04-17Merge pull request #1224 from amitch1999/masterKito Cheng1-3/+3
Fix mayberelsrcdir after gcc folder name change
2023-03-29fix mayberelsrcdir after gcc folder name changeachernia1-3/+3
2023-03-13Merge pull request #1207 from mga-sc/master2023.03.14Kito Cheng1-1/+7
[NEWLIB][Cross-build]: Fix merge-newlib-nano.
2023-03-13[NEWLIB][Cross-build]: Fix merge-newlib-nano.mga-sc1-1/+7
There is no $(NEWLIB_TUPLE)-gcc in install directory during cross-compilation process. For example, to compile for Windows, we has to have riscv64-unknown-elf-gcc in our PATH and we has to use it with print-multi-lib to find multilib configuration, because install folder contains only .exe files (can not be executed) This bugfix is to check: whether compiler we already have for host - in the install directory or in the PATH.
2023-02-24Merge pull request #1182 from xmzzz/update-readme-os-x2023.02.25Kito Cheng1-7/+5
Docs: Update README.md
2023-02-24Merge pull request #1187 from mga-sc/masterKito Cheng2-0/+10
[GCC]: Pass extra flags to gcc build.
2023-02-24[GCC]: Pass extra flags to gcc build.mga-sc2-0/+10
There is no way to pass extra flags to gcc though riscv-gnu-toolchain Makefile. This is neccesary for me, because I has to rewrite gmp, isl, mpfr, mpc folders in source of gcc project. Moreover, I don't want to rebuild them with gcc. Also I think, the opportunity to pass extra flags will be convenient for many development purposes.
2023-02-20Update the Binutils branch commits.2023.02.21Jiawei1-0/+0
2023-02-20Update Binutils commits.Jiawei1-0/+0
2023-02-20Bump Binutils version to 2.40.Jiawei2-1/+1
2023-02-20dejagnu: Fix typo in varChristoph Müllner1-2/+2
There is a typo in a previous commit that introduced src-dir-override for DejaGnu. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2023-02-20dejagnu: Allow source dir overrideChristoph Müllner3-1/+31
We have this feature for all other packages. It is particularly useful to avoid pointless internet downloads for automatic builds. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2023-02-20Merge pull request #1194 from cmuellner/bump-glibcKito Cheng1-0/+0
Bump glibc to 2.37
2023-02-19Bump glibc to 2.37Christoph Müllner1-0/+0
glibc 2.37 has been released on February 1st, 2023. We still use 2.33 in this repo. Let's make a huge step forward to the latest upstream release. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2023-02-12Docs: Update README.mdMingzheng Xing1-7/+5
This patch contains three minor updates: 1. Added texinfo to OS X dependency package 2. Brew tap discoteq/discoteq is no longer required to install the flock 3. Added tip in "Installation (Newlib)" to keep similar to the description in "Installation (Linux)" and fixed a typo. Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
2023-01-19Readme: install path +that is writeable 2023.01.31Carl Karsten1-3/+3
Add a tip so blindly following the instructions is more likely to just work. Issue #1169 Signed-off-by: Carl Karsten <CFKarsten@gmail.com>
2022-12-16Merge pull request #1168 from riscv-collab/march-to-cpu-opt-unittest2023.01.042023.01.032022.12.17Christoph Müllner1-1/+16
Add unittest to march-to-cpu-opt
2022-12-16Merge pull request #1121 from Incarnation-p-lee/panli/fix-sim-build-for-pk32Kito Cheng1-1/+2
Quick fix sim pk build failure for RV32.
2022-12-16Update README.md长柳1-1/+1
ubuntu20.04 make it need "clang ninja-build" Signed-off-by: 长柳 <110147328+changliuxy@users.noreply.github.com>
2022-12-16Merge pull request #1162 from riscv-collab/fix-zhinxKito Cheng1-0/+9
Support testing zdinx/zfinx/zhinx.
2022-12-16Add unittest to march-to-cpu-optKito Cheng1-1/+16
https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1167 has found some bug, and I realized the testing of march-to-cpu-opt is...not well, so spend some time to improve that a little bit, it's not complete testing, but at least it's a start :P
2022-12-16Merge pull request #1167 from KwangSon/vector_bugKito Cheng1-2/+2
Fix wrong parse script
2022-12-16Fix wrong parse scriptKwanghoon Son1-2/+2
If test --with-arch=rv32imc_zve128x NameError: name 'arch' is not defined Signed-off-by: Kwanghoon Son <kwangson@yahoo.com>
2022-12-02Support testing zdinx/zfinx/zhinx.Kito Cheng1-0/+9
- We don't set correct qemu option for zdinx/zfinx/zhinx, this patch is fixing the march-to-cpu-opt, which is a script translate -march string to qemu options.