File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ To build it (most of these instructions come from [here](https://gcc.gnu.org/onl
57
57
58
58
``` bash
59
59
$ git clone https://github.com/rust-lang/gcc
60
- $ sudo apt install flex libmpfr-dev libgmp-dev libmpc3 libmpc-dev dejagnu
60
+ $ sudo apt install flex libmpfr-dev libgmp-dev libmpc3 libmpc-dev
61
61
$ mkdir gcc-build gcc-install
62
62
$ cd gcc-build
63
63
$ ../gcc/configure \
@@ -70,15 +70,22 @@ $ ../gcc/configure \
70
70
$ make -j4 # You can replace `4` with another number depending on how many cores you have.
71
71
```
72
72
73
- If you want to run libgccjit tests, you will need to also enable the C++ language in the ` configure ` :
73
+ If you want to run libgccjit tests, you will need to
74
+ * Enable the C++ language in the ` configure ` step:
74
75
75
76
``` bash
76
77
--enable-languages=jit,c++
77
78
```
79
+ * Install [ dejagnu] ( https://www.gnu.org/software/dejagnu/#downloading ) to run the tests
80
+
81
+ ``` bash
82
+ $ sudo apt install dejagnu
83
+ ```
78
84
79
85
Then to run libgccjit tests:
80
86
81
87
``` bash
88
+ $ sudo apt install dejagnu
82
89
$ cd gcc # from the `gcc-build` folder
83
90
$ make check-jit
84
91
# To run one specific test:
You can’t perform that action at this time.
0 commit comments