pavels1
Deterministic Build from different base paths
Erlang compile has deterministic. The thing that is most interesting for me is Omit the options and source tuples - especially the source part. What i would like to achieve is exact .beam files, when built with the same Erlang and Elixir versions, on the same arch and OS, but from different paths. Now there is full path to the source file in the .beam so if two beams are built from the same source with everything but the source file full path the same, the .beam differs.
Is there some solution in Elixir for this?
First Post!
hauleth
You can always set :erlc_options in project configuration to use that flag. Currently Elixir compile itself to the Erlang AST and then this is compiled to BEAM code, so you can use all available flags there. Unfortunately such “hack” isn’t guaranteed to work in future.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








