github: Use distibution compilers for riscv and or1k
Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
6b4696e3e0
commit
76f7cf8b52
|
@ -36,12 +36,8 @@ jobs:
|
||||||
# Install GCC Toolchains
|
# Install GCC Toolchains
|
||||||
- name: Install GCC Toolchains
|
- name: Install GCC Toolchains
|
||||||
run: |
|
run: |
|
||||||
python3 litex_setup.py --gcc=riscv
|
sudo apt install gcc-riscv64-linux-gnu
|
||||||
sudo mkdir /usr/local/riscv
|
sudo apt install gcc-or1k-elf
|
||||||
sudo cp -r $PWD/../riscv64-*/* /usr/local/riscv
|
|
||||||
python3 litex_setup.py --gcc=openrisc
|
|
||||||
sudo mkdir /usr/local/openrisc
|
|
||||||
sudo cp -r $PWD/../openrisc-*/* /usr/local/openrisc
|
|
||||||
sudo apt install gcc-powerpc64le-linux-gnu binutils-multiarch
|
sudo apt install gcc-powerpc64le-linux-gnu binutils-multiarch
|
||||||
|
|
||||||
# Build / Install Verilator
|
# Build / Install Verilator
|
||||||
|
@ -62,6 +58,4 @@ jobs:
|
||||||
# Test
|
# Test
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
export PATH=/usr/local/riscv/bin:$PATH
|
|
||||||
export PATH=/usr/local/openrisc/bin:$PATH
|
|
||||||
python3 setup.py test
|
python3 setup.py test
|
||||||
|
|
Loading…
Reference in New Issue