Skip to content

Fix ./configure --disable-instrumented-runtime never disabling the instrumented runtime#11611

Merged
dra27 merged 2 commits intoocaml:trunkfrom
kit-ty-kate:fix-disable-instrumented-runtime
Oct 21, 2022
Merged

Fix ./configure --disable-instrumented-runtime never disabling the instrumented runtime#11611
dra27 merged 2 commits intoocaml:trunkfrom
kit-ty-kate:fix-disable-instrumented-runtime

Conversation

@kit-ty-kate
Copy link
Copy Markdown
Member

Calling the configure script with --disable-instrumented-runtime would never actually disable the instrumented runtime.
This should also be backported to the 5.0 branch.

@kit-ty-kate kit-ty-kate force-pushed the fix-disable-instrumented-runtime branch from 0e5af24 to 257dff1 Compare October 7, 2022 13:17
@dra27
Copy link
Copy Markdown
Member

dra27 commented Oct 7, 2022

Nice catch! Slightly "simpler" would be to revert the mistake from 78463a7 which incorrectly changed instrumented_runtime=false to instrumented_runtime=true on L66 of configure.ac (which then makes those bits of configure.ac identical between 4.14 and 5.0/trunk branches).

@dra27 dra27 added this to the 5.0 milestone Oct 7, 2022
@kit-ty-kate
Copy link
Copy Markdown
Member Author

@Engil do you have a preference whether it should be enabled or disabled by default? If everyone is fine disabling it by default i'll change the PR

@dra27
Copy link
Copy Markdown
Member

dra27 commented Oct 13, 2022

The instrumented runtime is enabled by default in 4.14 - not sure that should change (especially as it’s then mildly tricky to rebuild the compiler with it in opam)

@damiendoligez
Copy link
Copy Markdown
Member

The instrumented runtime is enabled by default in 4.14 - not sure that should change

Indeed, that shouldn't be changed in a bugfix branch.

Copy link
Copy Markdown
Member

@Octachron Octachron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A agree with the simplified fix.

@dra27 dra27 merged commit be1e1d6 into ocaml:trunk Oct 21, 2022
dra27 added a commit that referenced this pull request Oct 21, 2022
…strumented runtime (#11611)

Co-authored-by: David Allsopp <david.allsopp@metastack.com>
(cherry picked from commit be1e1d6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants