Skip to content

change configure defaults #37263

Closed
Closed
@ahicks92

Description

@ahicks92

99% of the time, you want the following configure command: ./configure --enable-debug --enable-debuginfo --enable-optimize --enable-llvm-assertions --enable-debug-assertions. Current configure does not make these the default.

The consequences are twofold:

  • If you don't know, you have to ask about them. It's not obvious for at least --enable-llvm-assertions at least that what you're asking about is a configure script option.
  • If you discover that you need them, the rebuild is very expensive.

I suggest changing these to match the above command, then modifying the release infrastructure to turn them off for release mode. It may also be beneficial to add a --releasemode option that does so automatically for easy local testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions