Skip to content

Allow non-deterministic builds #13899

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

Conversation

lukebakken
Copy link
Collaborator

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

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 rabbitmq#3442
@mergify mergify bot added the make label May 16, 2025
@lukebakken
Copy link
Collaborator Author

Of course, #3442 could just be reverted.

Copy link
Collaborator

@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.

No objections to simply merging this PR instead of reverting. We keep more context in git history that way IMO.

@michaelklishin
Copy link
Collaborator

michaelklishin commented May 17, 2025

The Selenium suite fails due to limited secret access, please disregard.

@michaelklishin michaelklishin merged commit abe306e into rabbitmq:main May 17, 2025
270 of 273 checks passed
michaelklishin added a commit that referenced this pull request May 17, 2025
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.

2 participants