Kito Cheng
e1dbc22573
Merge pull request #1287 from patrick-rivos/ci-space-saver
Remove source trees after CI build to recover disk space before packaging
3 years ago
Patrick O'Neill
f377e0efc9
Remove source trees after CI build to recover disk space
Also avoid initializing subdirectories to avoid cloning
unused trees (llvm,gcc)
3 years ago
Kito Cheng
6da3855437
Merge pull request #1271 from patrick-rivos/llvm-release-ci
Generate seperate release names for LLVM and GCC toolchain release artifacts
3 years ago
Kito Cheng
cf3055da6c
Merge pull request #1276 from alexsifivetw/alexc/newlib-llvm
Add newlib toolchain with llvm to ci and release
3 years ago
alexsifivetw
9b8bc154e9
Add newlib toolchain with llvm to ci and release
3 years ago
Kito Cheng
89268de2af
Merge pull request #1273 from alexsifivetw/alexc/newlib-llvm
Add newlib toolchain with llvm build flow
3 years ago
alexsifivetw
9027b5a78d
Add newlib toolchain with llvm build flow
Update readme about newlib toolchain flow
Co-authored-by: Yun Hsiang <yun.hsiang@sifive.com>
3 years ago
Patrick O'Neill
732d25e73e
Generate seperate release names for LLVM and GCC toolchain release artifacts
3 years ago
Kito Cheng
89f3238e9d
Merge pull request #1268 from demin-han/master
Add force flag when creating symbolic link for clang
3 years ago
Kito Cheng
1f7700211f
Merge pull request #1267 from alexsifivetw/alexc/fix_yaml_format
Add permission to qemu installation
3 years ago
demin.han
3844681969
Add force flag when creating symbolic link for clang
3 years ago
alexsifivetw
115ed88f63
Add permission to qemu installation
3 years ago
Kito Cheng
3fb2571b54
Merge pull request #1265 from alexsifivetw/alexc/fix_yaml_format
Fix yaml format
3 years ago
alexsifivetw
fa65cc4b95
Fix yaml format
3 years ago
Kito Cheng
c407fae2bc
Merge pull request #1264 from patrick-rivos/llvm-ci
Add LLVM to build CI
3 years ago
Patrick O'Neill
45e6d1b73c
Add llvm to PR ci
3 years ago
Patrick O'Neill
9f73648a47
Add gcc-linux builds back to release-ci
3 years ago
Alex Chiang
ce6d6ccc49
Merge pull request #1263 from alexsifivetw/alexc/riscv-llvm-qemu
Enable RISC-V LLVM & QEMU Build Flow
3 years ago
alexsifivetw
02a9678075
Add libc++ installation for 32-bit arch
Bump llvm to 16.0.5
3 years ago
alexsifivetw
147bb3eeca
Add prebuilt clang and qemu to release workflow
3 years ago
Alex Chiang
4cce1a047e
Merge branch 'master' into alexc/riscv-llvm-qemu
Signed-off-by: Alex Chiang <107899296+alexsifivetw@users.noreply.github.com>
3 years ago
Kito Cheng
d1dfc7c183
Merge pull request #1259 from patrick-rivos/spike-ci
Add github action ci to make-report using the spike simulator
3 years ago
alexsifivetw
9bd829ed9a
Fix typo
3 years ago
Alex Chiang
803fc9c4a2
Merge branch 'master' into alexc/riscv-llvm-qemu
Signed-off-by: Alex Chiang <107899296+alexsifivetw@users.noreply.github.com>
3 years ago
Alex Chiang
bb74af5a87
Enable riscv llvm & qemu build flow
Update readme about llvm & qemu examples
Co-authored-by: Kito Cheng <kito.cheng@sifive.com>
3 years ago
Kito Cheng
eb1ee1b149
Merge pull request #1260 from patrick-rivos/enable-rv32-ci
Enable rv32gc make-report newlib and linux testing
3 years ago
Patrick O'Neill
3ea87a1b92
Add github action ci to make-report using the spike simulator
3 years ago
Patrick O'Neill
0da1aa22c1
Enable rv32gc make-report newlib and linux testing
3 years ago
Kito Cheng
2dce4b2612
Merge pull request #1253 from patrick-rivos/ci-disable-multilib
Disable multilib ci until multilib testsuite errors are triaged
3 years ago
Kito Cheng
9becd93bc4
Merge pull request #1258 from TommyMurphyTM1234/master
Fix #1256 - git clone pk if spike used
3 years ago
Tommy Murphy
8aa1063754
If using spike then ensure that git clone done for pk before configuring/building it
3 years ago
Patrick O'Neill
89ea0a47ef
Disable multilib ci until multilib testsuite errors are triaged
3 years ago
Kito Cheng
66f3efbbc3
Merge pull request #1254 from riscv-collab/fix-1252
Install pyelftools before testing
3 years ago
Kito Cheng
9134376a5f
Install pyelftools before testing
We use some non-standard python package in #1233 , so we must make sure
it available before run the test.
Fix #1252
3 years ago
Kito Cheng
2c4d31fc60
Merge pull request #1246 from patrick-rivos/make-report-ci
Add ci jobs for make-report and make-report multilib
3 years ago
Christoph Müllner
ea26fd6cb8
Add support to build LLVM/clang with C and C++ support
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>
4 years ago
Christoph Müllner
ee1bb92270
llvm: Add new submodule
This patch adds a submodule for llvm.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
4 years ago
Kito Cheng
ac4e8ddfc4
Merge pull request #1233 from riscv-collab/attr-qemu
Set qemu cpu option from ELF attribute
3 years ago
Kito Cheng
57699f1eef
Merge pull request #1247 from patrick-rivos/multilib-dejagnu-fix
dejagnu: Bump dejagnu to include multilib fix
3 years ago
Patrick O'Neill
92b89b6894
Add make-report and make-report multilib to a subset of the existing build ci jobs
3 years ago
Patrick O'Neill
95f887e5de
Return error when no testsuite results are detected
3 years ago
Huaqi Fang
1ae4aaf187
configure: change --disable-debug-info to --enable-debug-info
--enable-debug-info will enable debug information when build library
Signed-off-by: Huaqi Fang <578567190@qq.com>
3 years ago
Huaqi Fang
57e1c66e8a
build: move the DEBUG_INFO into C/CXX/AS Flags for target variable
Signed-off-by: Huaqi Fang <578567190@qq.com>
3 years ago
tienntr
859e6d75bf
Update README.md to reflect new default ISA spec version
Default ISA spec version was bumped to 20191213 in
0ae36fce64 (#1229 )
but it's not reflected in README.md.
3 years ago
Patrick O'Neill
16e22a0d4f
dejagnu: Bump dejagnu to include multilib fix
3 years ago
Kito Cheng
7f8b34c01d
Merge pull request #1238 from riscv-mcu/feature/python3_env
env: fix python3 env not found in /usr/bin
3 years ago
Huaqi Fang
7d56124b8a
env: fix python3 env not found in /usr/bin
for centos env is in /usr/bin
for ubuntu env is in /usr/bin
Signed-off-by: Huaqi Fang <578567190@qq.com>
3 years ago
Kito Cheng
03b0122536
Merge pull request #1232 from mga-sc/mga-sc/debugInfo
[Makefile.in] glibc: Remove unnecessary -g option
3 years ago
Mark Goncharov
2d5438f77d
[Makefile.in] glibc: Remove unnecessary -g option
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...
3 years ago
Kito Cheng
5da0026b1b
Add --get-elf-class for march-to-cpu-opt
3 years ago