Skip to content

Commit 4a945a8

Browse files
[fix] change stage max
1 parent df62508 commit 4a945a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/buildomat/jobs/image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ pfexec chown "$UID" /out
101101

102102
banner "P4 Codegen"
103103
# Add gcc-12 so the p4 compiler can find cpp
104-
# The tofino2 has 20 stages, but the current sidecar.p4 will fit into 14. We
104+
# The tofino2 has 20 stages, but the current sidecar.p4 will fit into 19. We
105105
# add the "--stages 14" here to detect if/when the program grows beyond that
106106
# limit. It's not necessarily a problem if we grow, but given the limited space
107107
# on the ASIC, we want to grow deliberatately and thoughtfully.
108-
PATH=/opt/gcc-12/bin:$PATH cargo xtask codegen --stages 14
108+
PATH=/opt/gcc-12/bin:$PATH cargo xtask codegen --stages 19
109109

110110
# Preserve all the diagnostics spit out by the compiler
111111
mkdir -p /out/p4c-diags

0 commit comments

Comments
 (0)