opam-version: "2.0"
maintainer: "stephen.dolan@cl.cam.ac.uk"
authors: ["Stephen Dolan"]
homepage: "https://github.com/stedolan/malfunction"
bug-reports: "https://github.com/stedolan/malfunction/issues"
dev-repo: "git+https://github.com/stedolan/malfunction.git"
license: "LGPL-2.0-or-later"
build: [
  [
    "jbuilder"
    "build"
    "--only-packages"
    "%{name}%"
    "--root"
    "."
    "-j"
    jobs
    "@install"
  ]
  [
    "jbuilder"
    "build"
    "--only-packages"
    "%{name}%"
    "--root"
    "."
    "-j"
    jobs
    "@runtest"
  ] {with-test}
]
depends: [
  "ocaml"
  "ocaml-variants"
    {= "4.03.0+beta1+flambda" | = "4.03.0+beta2+flambda" | = "4.03.0+flambda" |
     = "4.03.0+fp+flambda" |
     = "4.03.0+trunk+flambda" |
     = "4.03.0+trunk+fp+flambda" |
     = "4.04.0+beta1+flambda" |
     = "4.04.0+beta2+flambda" |
     = "4.04.0+flambda" |
     = "4.04.0+fp+flambda" |
     = "4.04.0+trunk+forced_lto" |
     = "4.04.1+flambda" |
     = "4.04.1+fp+flambda" |
     = "4.04.2+flambda" |
     = "4.04.2+fp+flambda" |
     = "4.05.0+beta1+flambda" |
     = "4.05.0+beta2+flambda" |
     = "4.05.0+flambda" |
     = "4.05.0+musl+static+flambda" |
     = "4.05.0+rc1+flambda" |
     = "4.05.0+trunk+flambda" |
     = "4.05.0+trunk+fp+flambda" |
     = "4.05.0+trunk+lto" |
     = "4.06.0+trunk+flambda" |
     = "4.06.0+trunk+fp+flambda"}
  "ocamlfind"
  "base-flambda"
  "jbuilder"
  "cppo" {build}
  "omd" {with-test}
  "zarith"
]
synopsis: "Compiler back-end for functional languages, based on OCaml."
description: """
Malfunction is a high-performance, low-level untyped program
representation, designed as a target for compilers of functional
programming languages."""
url {
  src: "https://github.com/stedolan/malfunction/archive/v0.2.tar.gz"
  checksum: "md5=a6d334336888a1ec3b7dd14672608878"
}
