Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel Compatibility Issue: Unknown argument to config_setting: constraint_values #3285

Open
pauldruce opened this issue Nov 4, 2024 · 0 comments

Comments

@pauldruce
Copy link

Hello, when trying to use a version fo GoogleTest more recent that 1.8.1 (August 2018), you are faced with the following error when trying to follow the example outlined in the please-build/cc-rules repo:

I've created a minimal example here: https://github.com/pauldruce/please-demos/tree/gtest-fail-contraint-values

Build stopped after 710ms. 1 target failed:
    ///gtest/gtest//:gtest_main
Unknown argument to config_setting: constraint_values

I've attached the output when I run the build with the flag -v 4.
debug-logs.txt

The error seems to stem from please code directly rather than from the cc-rules. But please let me know if I've created this in the wrong area.

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

No branches or pull requests

1 participant