Skip to content

Allow non-deterministic builds (backport #13899) #13901

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

Merged
merged 1 commit into from
May 17, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented May 17, 2025

Building from source using this command:

make RMQ_ERLC_OPTS= FULL=1

... then starting RabbitMQ via make run-broker, allows re-compilation from the erl shell:

1> c(rabbit).
Recompiling /home/lbakken/development/rabbitmq/rabbitmq-server/deps/rabbit/src/rabbit.erl
{ok,rabbit}

When +deterministic is passed to erlc, the compile data in each modules' information is missing the source path for the module.

Follow-up to #3442


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

Building from source using this command:

```
make RMQ_ERLC_OPTS= FULL=1
```

... then starting RabbitMQ via `make run-broker`, allows re-compilation
from the erl shell:

```
1> c(rabbit).
Recompiling /home/lbakken/development/rabbitmq/rabbitmq-server/deps/rabbit/src/rabbit.erl
{ok,rabbit}
```

When `+deterministic` is passed to `erlc`, the `compile` data in each
modules' information is missing the source path for the module.

Follow-up to #3442

(cherry picked from commit eae657f)
@mergify mergify bot added the make label May 17, 2025
@michaelklishin michaelklishin merged commit 0cb27fe into v4.1.x May 17, 2025
270 of 271 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13899 branch May 17, 2025 07:40
@michaelklishin michaelklishin added this to the 4.1.1 milestone May 17, 2025
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