Skip to content

Commit e23130f

Browse files
vaibhav92huth
authored andcommitted
travis.yml: Add missing 'flex', 'bison' packages to 'GCC (user)' job
Since commit fd8171f("target/hexagon: import lexer for idef-parser") the hexagon target uses 'flex', 'bison' to generate idef-parser. However default travis builder image for 'focal' may not have these pre-installed, consequently following error is seen with travis when trying to execute the 'GCC (user)' job that also tries to build hexagon user binary: <snip> export CONFIG="--disable-containers --disable-system" <snip> Program flex found: NO ../target/hexagon/meson.build:179:4: ERROR: Program 'flex' not found or not executable <snip> Fix this by explicitly add 'flex' and 'bison' to the list of addon apt-packages for the 'GCC (user)' job. Signed-off-by: Vaibhav Jain <[email protected]> Message-Id: <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
1 parent a53be66 commit e23130f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ jobs:
237237
- libglib2.0-dev
238238
- libgnutls28-dev
239239
- ninja-build
240+
- flex
241+
- bison
240242
env:
241243
- CONFIG="--disable-containers --disable-system"
242244

0 commit comments

Comments
 (0)