CrissCross (CrissCross v0.1.0) View Source

CrissCross allows for simple cross compilation using hex precompiled beam packages.

This does work only for projects, which don't have any further native dependencies besides the Erlang Runtime System (ERTS).

Usage

In your mix.exs add the following:

def project do
  [
    ,
    releases: releases()
  ]
end

def releases do
  [
    ubuntu_14: [
      include_erts: fn -> CrissCross.ubuntu(14, "OTP-23.1.2") end
    ],
    ubuntu_16: [
      include_erts: fn -> CrissCross.ubuntu(16, "OTP-23.1.2") end
    ]
  ]
end

Available OSs

  • Ubuntu 14.04
  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04

Library suggestions

  • Authentication
    • :comeonin: use :pbkdf2_elixir instead of the other implementations, as it doesn't have any NIF dependencies, but is implemented in pure elixir.

Link to this section Summary

Link to this section Functions

Link to this function

ubuntu(os_version, otp_version)

View Source

Specs

ubuntu(14 | 16 | 18 | 20, otp_version :: String.t()) :: Path.t()