From d1df555a6a9c5f07d7a8ba6891edf7fc08fc7ace Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Fri, 14 Jun 2024 05:48:13 +0530 Subject: [PATCH] fix gcc build Signed-off-by: Amneesh Singh --- .github/workflows/clang.yml | 6 +++--- .github/workflows/gcc.yml | 6 +++--- include/cpu/cpu.hh | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clang.yml b/.github/workflows/clang.yml index 85e1a4f..0a45dae 100644 --- a/.github/workflows/clang.yml +++ b/.github/workflows/clang.yml @@ -29,8 +29,8 @@ jobs: - name: lint run: nix develop .#matar-clang -c ninja clang-tidy -C $BUILDDIR - - name: tests - run: nix develop .#matar-clang -c ninja test -C $BUILDDIR - - name: build run: nix develop .#matar-clang -c ninja -C $BUILDDIR + + - name: tests + run: nix develop .#matar-clang -c ninja test -C $BUILDDIR diff --git a/.github/workflows/gcc.yml b/.github/workflows/gcc.yml index 32aa50f..b61836a 100644 --- a/.github/workflows/gcc.yml +++ b/.github/workflows/gcc.yml @@ -23,8 +23,8 @@ jobs: - name: setup run: nix develop .#matar -c meson setup $BUILDDIR - - name: tests - run: nix develop .#matar -c ninja test -C $BUILDDIR - - name: build run: nix develop .#matar -c ninja -C $BUILDDIR + + - name: tests + run: nix develop .#matar -c ninja test -C $BUILDDIR diff --git a/include/cpu/cpu.hh b/include/cpu/cpu.hh index cb9a78d..c67e1d9 100644 --- a/include/cpu/cpu.hh +++ b/include/cpu/cpu.hh @@ -4,6 +4,7 @@ #include "bus.hh" #include "cpu/psr.hh" #include "thumb/instruction.hh" +#include #include