bazel-contrib / rules_foreign_cc

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)
https://bazel-contrib.github.io/rules_foreign_cc
Apache License 2.0
680 stars 249 forks source link

Using `configure_make`'s `autogen` option appears to skip running `configure` #1281

Closed calebzulawski closed 2 months ago

calebzulawski commented 2 months ago

I am building a project that requires running a bootstrap script before configure. I set the following options:

autogen = True,
autogen_command = "bootstrap",
configure_in_place = True,

This appears to add a NOCONFIGURE=1 environment variable and skip running configure entirely. The documentation for autogen seems to disagree with this behavior: "Set to True if 'autogen.sh' should be invoked before 'configure', currently requires configure_in_place to be True."

calebzulawski commented 2 months ago

Apologies, of course once I file the issue I see where it is later called :)