« Up

linearscan 1.1.0 Not compatible 👼

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.18.0      The Coq Proof Assistant
coq-core              8.18.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.18.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.18.0      The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
ocaml-config          3           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "johnw@newartisans.com"
homepage: "https://github.com/jwiegley/linearscan"
dev-repo: "git+https://github.com/jwiegley/linearscan.git"
bug-reports: "https://github.com/jwiegley/linearscan/issues"
license: "BSD-3-Clause"
synopsis: "A linear scan register allocator in Coq"
description: """
An implementation in Coq of register allocator described in the paper
Optimized Interval Splitting in a Linear Scan Register Allocator by Christian
Wimmer and Hanspeter Mӧssenbӧck.
"""
build: [make "-j%{jobs}%" ]
install: [make "install"]
depends: [
  "coq" {(>= "8.14" & < "8.17~") | (= "dev")}
  "coq-haskell" {(>= "1.1" & < "1.2~") | (= "dev")}
  "coq-mathcomp-ssreflect" {(>= "1.12" & < "1.16~") | (= "dev")}
]
url {
  src: "https://github.com/jwiegley/linearscan/archive/refs/tags/1.1.0.tar.gz"
  checksum: "sha256=1dfa22c9c5b3a1a76d069a23fdf9ed3c7950006d8689d18ea7c01903ddbec9c6"
}
tags: [
  "keyword: register allocator"
  "category:Computer Science/Semantics and Compilation/Compilation"
  "date: 2022-07-23"
  "logpath: Linearscan"
]
authors: [
  "John Wiegley"
]

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-linearscan.1.1.0 coq.8.18.0
Return code
5120
Output
[NOTE] Package coq is already installed (current version is 8.18.0).
[ERROR] Package conflict!
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler >= 5.1.1 -> ocaml = 5.1.1
    - coq-linearscan -> coq (< 8.17~ | >= dev) -> ocaml < 4.02.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler >= 5.1.1
    - coq-linearscan -> coq (< 8.17~ | >= dev) -> ocaml < 4.02.0 -> ocaml-base-compiler < 3.07+1
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.1.1 -> base-nnp
    - coq-linearscan -> coq (< 8.17~ | >= dev)
  * Missing dependency:
    - coq-linearscan -> coq (< 8.17~ | >= dev) -> ocaml < 4.02.0 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
No solution found, exiting

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
opam remove -y coq; opam install -y --show-action --unlock-base coq-linearscan.1.1.0
Return code
0

Install dependencies

Command
true
Return code
0
Duration
0 s

Install 🚀

Command
true
Return code
0
Duration
0 s

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none