Skip to content

Disable --//bazel:use_local_flex_bison that won't work with bazel 8 - #2449

Draft
hzeller wants to merge 1 commit into
chipsalliance:masterfrom
hzeller:feature-20250826-no-use-local-bison
Draft

Disable --//bazel:use_local_flex_bison that won't work with bazel 8#2449
hzeller wants to merge 1 commit into
chipsalliance:masterfrom
hzeller:feature-20250826-no-use-local-bison

Conversation

@hzeller

@hzeller hzeller commented Aug 26, 2025

Copy link
Copy Markdown
Collaborator

This works around #2435 : bazel 8 does not allow a simple toolchain switch with select(). If somone wants to help with bazel knowledge to re-enable this, undo this patch and send a fix on top.

Having said that, the original reason for this flag used to be that rules bison and flex didn't compile on Mac and Windows. These reasons don't seem to apply anymore.

This works around chipsalliance#2435 : bazel 8 does not allow a simple toolchain
switch with select(). If somone wants to help with bazel knowledge
to re-enable this, undo this patch and send a fix on top.

Having said that, the original reason for this flag used to be
that rules bison and flex didn't compile on Mac and Windows. These
reasons don't seem to apply anymore.

Fixes: chipsalliance#2435
@hzeller
hzeller force-pushed the feature-20250826-no-use-local-bison branch from 61386b8 to 7854b56 Compare August 26, 2025 12:36
@hzeller
hzeller marked this pull request as draft August 26, 2025 13:04
@hzeller

hzeller commented Aug 26, 2025

Copy link
Copy Markdown
Collaborator Author

sigh. Looks like for Windows, we would indeed need a toolchain switch. Converting to draft for now, waiting for someone who can tackle the bazel challenge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant