Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Mar 25, 2025

I would recommend not merging this until after 4.1 is released, or at least to keep this in main.

The related Erlang.mk PR is at ninenines/erlang.mk#1020 and is currently not merged, therefore the Erlang.mk in this PR is experimental. It would be good to have some feedback before merging into Erlang.mk, and RabbitMQ main is a good candidate for that as it has a low impact compared to release branches.


This is an automatic backport of pull request #12922 done by Mergify.

This avoids using Mix while compiling which simplifies
a number of things and let us do further build improvements
later on.

Elixir is only enabled from within rabbitmq_cli currently.

Eunit is disabled since there are only Elixir tests.

Dialyzer will force-enable Elixir in order to process
Elixir-compiled beam files.

This commit also includes a few changes that are
related:

 * The Erlang distribution will now be started for parallel-ct

 * Many unnecessary PROJECT_MOD lines have been removed

 * `eunit_formatters` has been removed, it provides little value

 * The new `maybe_flock` Erlang.mk function is used where possible

 * Build test deps when testing rabbitmq_cli (Mix won't do it anymore)

 * rabbitmq_ct_helpers now use the early plugins to have Dialyzer
   properly set up

(cherry picked from commit c5d150a)
@mergify mergify bot added the make label Mar 25, 2025
@michaelklishin michaelklishin changed the title Native Elixir support in Erlang.mk (SEE DESCRIPTION BEFORE MERGE) (backport #12922) Native Elixir support in Erlang.mk (backport #12922) Mar 25, 2025
@michaelklishin michaelklishin merged commit 14793d9 into v4.1.x Mar 25, 2025
273 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-12922 branch March 25, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants