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

Drop deprecated HiPE compilation #2392

Merged
merged 2 commits into from
Jun 25, 2020
Merged

Conversation

fenollp
Copy link
Contributor

@fenollp fenollp commented Jun 24, 2020

Proposed Changes

Remove all handling of OTP's HiPE AOT optimizer that was deprecated, is unusable since OTP22 and is going to be removed in OTP24

I'm unsure what the minimum supported OTP release is however the Docker images already use OTP23 (which cannot make use of HiPE).

I left uses of $RABBITMQ_SERVER_CODE_PATH in scripts/ as it is unclear if anything other than HiPE is concerned about -pa.

Types of Changes

  • Bug fix (non-breaking change which fixes issue #NNNN)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause an observable behavior change in existing systems)
  • Documentation improvements (corrections, new content, etc)
  • Cosmetic change (whitespace, formatting, etc)

Checklist

  • I have read the CONTRIBUTING.md document
  • I have signed the CA (see https://cla.pivotal.io/sign/rabbitmq)
  • All tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in related repositories

Further Comments

If this is a relatively large or complex change, kick off the discussion by
explaining why you chose the solution you did and what alternatives you
considered, etc.

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
@pivotal-issuemaster
Copy link

@fenollp Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@fenollp Thank you for signing the Contributor License Agreement!

Copy link
Member

@michaelklishin michaelklishin left a comment

Choose a reason for hiding this comment

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

Thank you, I think it's the right thing to do at this point. The docs have been saying the following about HiPE for over a year now:

HiPE support has been dropped in Erlang 22. RabbitMQ no longer supports HiPE precompilation.

We must retain the configuration schema key. There's also a CLI command which we should mark as deprecated similarly to this command and also made a no-op.

priv/schema/rabbit.schema Show resolved Hide resolved
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
@gerhard
Copy link
Contributor

gerhard commented Jun 25, 2020

Great contribution, 👍 from me, thanks!

@fenollp fenollp marked this pull request as ready for review June 25, 2020 09:14
@michaelklishin
Copy link
Member

This looks good. I will take care of the hipe_compile CLI command so that it is a no-op with an appropriate message.

michaelklishin added a commit to rabbitmq/rabbitmq-cli that referenced this pull request Jun 25, 2020
HiPE has been deprecated/only partially supported in Erlang 22
and will be removed completely in Erlang 24 next year.

Part of rabbitmq/rabbitmq-server#2392
@michaelklishin michaelklishin added this to the 3.8.6 milestone Jun 25, 2020
@michaelklishin michaelklishin merged commit b7cbd44 into rabbitmq:master Jun 25, 2020
@michaelklishin michaelklishin changed the title drop deprecated HiPE compilation Drop deprecated HiPE compilation Jun 25, 2020
@michaelklishin
Copy link
Member

Thank you!

@fenollp fenollp deleted the nohipe branch June 25, 2020 16:36
michaelklishin added a commit that referenced this pull request Jun 25, 2020
drop deprecated HiPE compilation

(cherry picked from commit b7cbd44)
@michaelklishin
Copy link
Member

Backported to v3.8.x.

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

Successfully merging this pull request may close these issues.

None yet

4 participants