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
- 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.
Let's document how to use the environment variable RUNTESTFLAGS
for selecting the tests that should be executed.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Let's document how to run all the test suites in order to increase the
number of people that will execute the tests.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Makefile.in has support for running the regression test suite of
Binutils, GCC and others. Let's add support for running glibc tests.
To run the tests the following command can be used:
make check-glibc-linux
Tested with linux/rv64.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
This allows to specify the test cases to be run.
For example the following command can be used to restrict the testcases
that will be executed to zb*.c and sm*.c from the directory
`gcc/testsuite/gcc.target/riscv/` (which includes the file `riscv.exp`):
RUNTESTFLAGS="riscv.exp=zb*.c\ sm*.c" make report
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
A recent commit bumped the GCC version to 12.2,
but adjusting the tracking branch in .gitmodules was forgotten.
Let's fix this and set the tracking branch to gcc-12
(note, that there are no release branches for minor version releases).
Reported-by: Tommy Murphy <tommy_murphy@hotmail.com>
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
We should not encourage people to call "sudo make".
Let's drop that recommendation in case of permission errors.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
GDB still defaults to 10.1 from the (already archived)
riscv-binutils-gdb repo. Let's bump the version to 12.1
and use the upstream git repo instead.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
dejagnu still defaults to 1.6 from the (already archived)
riscv-dejagnu repo. Let's bump the version to 1.6.3
and use the upstream git repo instead.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
* The riscv-pk repo can only be built by rv32i.
* Change configure to rv32i to make SIM=spike option happy for multilib.
Signed-off-by: Pan Li <pan2.li@intel.com>