Skip to content

Commit 581e0da

Browse files
authored
Merge pull request #1619 from riscv-software-src/ubuntu-22.04
Bump GitHub Actions runners to Ubuntu 22.04
2 parents 567e687 + 5395961 commit 581e0da

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
jobs:
1919
test:
2020
name: Test Spike build (Ubuntu)
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-22.04
2222
steps:
2323
- uses: actions/checkout@v2
2424
with:

.github/workflows/debug-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
test:
1515
name: Test debug (Ubuntu)
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- uses: actions/checkout@v2
1919

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ install_exes_dir := $(INSTALLDIR)/bin
6969
sprojs := @subprojects@
7070
sprojs_enabled := @subprojects_enabled@
7171

72-
sprojs_include := -I. -I$(src_dir) $(addprefix -I$(src_dir)/, $(sprojs_enabled))
72+
sprojs_include := -iquote . -I$(src_dir) $(addprefix -iquote $(src_dir)/, $(sprojs_enabled))
7373
VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled))
7474

7575
#-------------------------------------------------------------------------

fdt/fdt.mk.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ fdt_c_srcs = \
1515
fdt_empty_tree.c \
1616
fdt_addresses.c \
1717
fdt_overlay.c \
18+
19+
fdt_CFLAGS = -I$(src_dir)/fdt

riscv/interactive.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ void sim_t::interactive_run(const std::string& cmd, const std::vector<std::strin
413413
step(1);
414414

415415
if (actual_steps < steps) {
416-
next_interactive_action = [=](){ interactive_run(cmd, {std::to_string(steps - actual_steps)}, noisy); };
416+
next_interactive_action = [=, this](){ interactive_run(cmd, {std::to_string(steps - actual_steps)}, noisy); };
417417
return;
418418
}
419419

@@ -766,7 +766,7 @@ void sim_t::interactive_until(const std::string& cmd, const std::vector<std::str
766766
step(1);
767767
}
768768

769-
next_interactive_action = [=](){ interactive_until(cmd, args, noisy); };
769+
next_interactive_action = [=, this](){ interactive_until(cmd, args, noisy); };
770770
}
771771

772772
void sim_t::interactive_dumpmems(const std::string& cmd, const std::vector<std::string>& args)

riscv/riscv.mk.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ riscv_subproject_deps = \
77
fesvr \
88
softfloat \
99

10-
riscv_CFLAGS = -fPIC
10+
riscv_CFLAGS = -fPIC -I$(src_dir)/fdt
1111

1212
riscv_install_shared_lib = yes
1313

0 commit comments

Comments
 (0)