2.1 Invocation

--j-erlc

Maximum number of parallel compiler jobs

By default this value is set to the number of online schedulers.

Default value

Type

pos_integer() when
  pos_integer() :: 1..inf.
--erlc-profile

Default profile used by eligible Erlang-related targets

NOTE: this profile is also used for the runtime/compile-time BEAM dependencies, such as parse transforms and behavior definitions, even for the code compiled in a different profile.

While ANVL can build code with multiple profiles simultaneously, it can load only one version of the code. This limitation stems from the BEAM VM.

For example, anvl @erlc -p test foo will use parse transforms compiled with the default profile to build foo and its dependencies, and, conversely, anvl --erlc-profile test @erlc -p default foo will compile foo using parse transforms compiled with the test profile.

Changing this parameter re-builds the relevant code.

Default value

default

Type

anvl_erlc:profile() when
  anvl_erlc:profile() :: atom().
JavaScript license information