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

Native Elixir support in Erlang.mk (SEE DESCRIPTION BEFORE MERGE) #12922

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

lhoguin
Copy link
Contributor

@lhoguin lhoguin commented Dec 12, 2024

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.

@mergify mergify bot added the make label Dec 12, 2024
@lhoguin lhoguin changed the title WIP native Elixir DO NOT MERGE WIP native Elixir Dec 12, 2024
@lhoguin lhoguin force-pushed the loic-native-elixir branch 3 times, most recently from 727002a to 08d1e10 Compare December 17, 2024 14:34
@lhoguin

This comment was marked as outdated.

@michaelklishin michaelklishin changed the title DO NOT MERGE WIP native Elixir DO NOT MERGE WIP native Elixir compilation support in Erlang.mk Jan 2, 2025
@lhoguin lhoguin force-pushed the loic-native-elixir branch 2 times, most recently from 3d491c9 to 140ebcd Compare March 11, 2025 13:44
@lhoguin lhoguin changed the title DO NOT MERGE WIP native Elixir compilation support in Erlang.mk Native Elixir support in Erlang.mk (SEE DESCRIPTION BEFORE MERGE) Mar 11, 2025
@lhoguin lhoguin marked this pull request as ready for review March 11, 2025 14:53
@dumbbell dumbbell mentioned this pull request Mar 13, 2025
12 tasks
@lhoguin lhoguin force-pushed the loic-native-elixir branch 3 times, most recently from f2b6c0f to 8e1f43a Compare March 17, 2025 14:27
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
@lhoguin lhoguin force-pushed the loic-native-elixir branch from 8e1f43a to c5d150a Compare March 18, 2025 09:03
@lhoguin lhoguin merged commit d52b333 into main Mar 18, 2025
273 checks passed
@lhoguin lhoguin deleted the loic-native-elixir branch March 18, 2025 10:03
michaelklishin added a commit to rabbitmq/build-env-images that referenced this pull request Mar 19, 2025
@michaelklishin
Copy link
Member

@Mergifyio backport v4.1.x

Copy link

mergify bot commented Mar 25, 2025

backport v4.1.x

✅ Backports have been created

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.

2 participants