ยซ Up

coqprime-generator 1.1.1 1 m 0 s ๐Ÿ†

Context

# Packages matching: installed
# Name                   # Installed # Synopsis
base-bigarray            base
base-threads             base
base-unix                base
conf-findutils           1           Virtual package relying on findutils
conf-gmp                 4           Virtual package relying on a GMP lib system installation
coq                      8.14.0      Formal proof management system
dune                     3.7.0       Fast, portable, and opinionated build system
ocaml                    4.07.1      The OCaml compiler (virtual package)
ocaml-base-compiler      4.07.1      Official release 4.07.1
ocaml-config             1           OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.9.1       A library manager for OCaml
ocamlfind-secondary      1.9.1       Adds support for ocaml-secondary-compiler to ocamlfind
zarith                   1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "thery@sophia.inria.fr"
homepage: "https://github.com/thery/coqprime"
bug-reports: "https://github.com/thery/coqprime/issues"
dev-repo: "git+https://github.com/thery/coqprime.git"
license: "LGPL-2.1-only"
authors: ["Laurent Thรฉry"]
build: [
  # cd to a subfolder in opam is tricky, so just move gencertif to the root folder
  [ "find" "gencertif" "-type" "f" "-exec" "mv" "{}" "." ";" ]
  [ "autoreconf" "-i" "-s" ]
  [ "./configure" "--prefix" prefix
    # Optiosn for finding opam local gmp-ecm
    "CPPFLAGS=-I%{prefix}%/include"
    "LDFLAGS=-L%{lib}%"
    # Options for homebrew on Intel silicon (overwriting the above)
    "CPPFLAGS=-I%{prefix}%/include -I/opt/local/include" { os-distribution = "macports" & os = "macos" }
    "LDFLAGS=-L%{lib}% -L/opt/local/lib" { os-distribution = "macports" & os = "macos" }
    # Options for homebrew on Apple silicon (overwriting the above)
    "CPPFLAGS=-I%{prefix}%/include -I/opt/homebrew/include" { os-distribution = "homebrew" & os = "macos" & arch = "arm64"}
    "LDFLAGS=-L%{lib}% -L/opt/homebrew/lib" { os-distribution = "homebrew" & os = "macos" & arch = "arm64"}
    # Options for Windows cygwin
    "--build=%{arch}%-pc-cygwin" { os = "win32" & os-distribution = "cygwinports" }
    "--host=%{arch}%-w64-mingw32" { os = "win32" & os-distribution = "cygwinports" }
    "--target=%{arch}%-w64-mingw32" { os = "win32" & os-distribution = "cygwinports" }
  ]
  [ make "-j" "%{jobs}%" ]
]
install: [
  [make "install"]
]
depends: [
  "ocaml"
  "num"
  "conf-gmp"
  "gmp-ecm"
]
synopsis: "Certificate generator for prime numbers in Coq"
url {
  src: "https://github.com/thery/coqprime/archive/v8.14.1.tar.gz"
  checksum: "sha512=cd5d4ff31a2ac3039e5c49e9da627a0f4722ff7d9269bbe521531a162c0f0dfc190779eeafa8749d563c65dc787d17e9193fdd0664b273d01220272f3abb17ca"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-coqprime-generator.1.1.1 coq.8.14.0
Return code
0

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

Command
true
Return code
0

Install dependencies

Command
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-coqprime-generator.1.1.1 coq.8.14.0
Return code
0
Duration
3 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-coqprime-generator.1.1.1 coq.8.14.0
Return code
0
Duration
1 m 0 s

Installation size

Total: 5 M

  • 2 M ../ocaml-base-compiler.4.07.1/bin/firstprimes
  • 2 M ../ocaml-base-compiler.4.07.1/bin/pocklington
  • 271 K ../ocaml-base-compiler.4.07.1/bin/o2v

Uninstall ๐Ÿงน

Command
opam remove -y coq-coqprime-generator.1.1.1
Return code
0
Missing removes
none
Wrong removes
none