Skip to content

Commit f81afb0

Browse files
authored
Merge pull request #3440 from rabbitmq/deterministic-compiler-flag-mix
Use the deterministic compiler flag for elixir/rabbitmq_cli
2 parents 7d5591f + 6a16147 commit f81afb0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

deps/rabbitmq_cli/rabbitmqctl.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def _impl(ctx):
8585
fi
8686
8787
export DEPS_DIR={mix_deps_dir}
88+
export ERL_COMPILER_OPTIONS=deterministic
8889
mix local.hex --force
8990
mix local.rebar --force
9091
mix make_all

deps/rabbitmq_cli/rabbitmqctl_test.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def _impl(ctx):
7878
fi
7979
8080
export DEPS_DIR={mix_deps_dir}
81+
export ERL_COMPILER_OPTIONS=deterministic
8182
mix local.hex --force
8283
mix local.rebar --force
8384
mix make_deps

0 commit comments

Comments
 (0)