On Wed, 3 Sep 2025 14:51:31 GMT, Aleksey Shipilev <[email protected]> wrote:
> Anyhow, I believe if non-standard toolchain is involved failing the build is > far better behavior than silently disabling SVE! A common pattern for optionally supported features is to add an explicit `--enable/--disable` flag that takes 3 values: yes, no and auto, where the default is auto. There are numerous examples, but one is `--enable-precompiled-headers`. If you don't set it, it will be enabled if supported by the toolchain, otherwise not. If you explicitly enable it, then configure will fail if the toolchain doesn't support it. Perhaps that would be a good fit in this case? ------------- PR Comment: https://git.openjdk.org/jdk/pull/27073#issuecomment-3249988832
