From 76f7cf8b52338f7a0b00208f93f9b02c90aa1109 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Mon, 21 Nov 2022 14:47:53 +1030 Subject: [PATCH] github: Use distibution compilers for riscv and or1k Signed-off-by: Joel Stanley --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7843fe87b..1a4d3d416 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,12 +36,8 @@ jobs: # Install GCC Toolchains - name: Install GCC Toolchains run: | - python3 litex_setup.py --gcc=riscv - sudo mkdir /usr/local/riscv - 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-riscv64-linux-gnu + sudo apt install gcc-or1k-elf sudo apt install gcc-powerpc64le-linux-gnu binutils-multiarch # Build / Install Verilator @@ -62,6 +58,4 @@ jobs: # Test - name: Run Tests run: | - export PATH=/usr/local/riscv/bin:$PATH - export PATH=/usr/local/openrisc/bin:$PATH python3 setup.py test