# opam file:
opam-version: "2.0"
authors: "Xavier Leroy <xavier.leroy@inria.fr>"
maintainer: "Jacques-Henri Jourdan <jacques-Henri.jourdan@normalesup.org>"
homepage: "http://compcert.inria.fr/"
dev-repo: "git+https://github.com/AbsInt/CompCert.git"
bug-reports: "https://github.com/AbsInt/CompCert/issues"
license: "INRIA Non-Commercial License Agreement"
version: "3.7"
build: [
["./configure"
"amd64-linux" {os = "linux"}
"amd64-macosx" {os = "macos"}
"amd64-linux" {os = "win32"}
"-prefix" "%{prefix}%/variants/compcert64"
"-install-coqdev"
"-clightgen"
"-coqdevdir" "%{lib}%/coq-variant/compcert64/compcert"
"-ignore-coq-version"]
[make "depend"]
[make "-j%{jobs}%" {ocaml:version >= "4.06"} "proof_open_source"]
]
patches: [
"0001-Install-compcert.config-file-along-the-Coq-developme.patch"
"0002-Dual-license-aarch64-Archi.v-Cbuiltins.ml-extraction.patch"
"0003-Update-the-list-of-dual-licensed-files.patch"
"0004-Use-Coq-platform-supplied-Flocq.patch"
"0005-Import-ListNotations-explicitly.patch"
"0006-Coq-MenhirLib-explicit-import-ListNotations-354.patch"
"0007-Use-ocamlfind-to-find-menhirLib.patch"
"0008-Use-platform-supplied-menhirlib-as-suggested-by-jhjo.patch"
"0009-Don-t-build-MenhirLib-platform-version-is-used.patch"
"0010-Added-open-source-build-to-makefile.patch"
]
extra-files: [
["0001-Install-compcert.config-file-along-the-Coq-developme.patch" "sha256=62e36964ed3d06a213caea8639be51641c25df3c4ea384e01ce57d015de698d3"]
["0002-Dual-license-aarch64-Archi.v-Cbuiltins.ml-extraction.patch" "sha256=1af58e827aa24be60e115878b9f70f1bf715f83bb1b91da8e2a9d749f4195d29"]
["0003-Update-the-list-of-dual-licensed-files.patch" "sha256=bf91c7d3e2177620296838658cafbeffdd50d8d1ef56649b56a35644410e1337"]
["0004-Use-Coq-platform-supplied-Flocq.patch" "sha256=83261a1fae459c319c0288a543787d3abcadaa2cccb1c34543c9784fe645f942"]
["0005-Import-ListNotations-explicitly.patch" "sha256=c4f29203e8dcaa17c76543ad77dabefdb555588567d4f6055cd53e19a9c81081"]
["0006-Coq-MenhirLib-explicit-import-ListNotations-354.patch" "sha256=3b7f59d4736d36878bbe3c0fed80e7db1ae75b9c8a5a9c90a57df2c1a4f4ae78"]
["0007-Use-ocamlfind-to-find-menhirLib.patch" "sha256=df3f103977fa02bd339f6a8537da6bd4eaf1baa54c9675508e3bd16dbe11464e"]
["0008-Use-platform-supplied-menhirlib-as-suggested-by-jhjo.patch" "sha256=bcd2eb6eafb5a71fd0ee8ecf6f1b100b06723c636adb0ef2f915fa0ac3585c64"]
["0009-Don-t-build-MenhirLib-platform-version-is-used.patch" "sha256=77835a85124eb1e8afefdcaf9eaa5beab64ed0fea22fceab78b7fd550778c857"]
["0010-Added-open-source-build-to-makefile.patch" "sha256=0c30ba166c0687395eef15aa92dee66b02d46ee12417de74a69fc3b479ea3e4c"]
]
install: [
[make "install_open_source"]
]
depends: [
"coq" {>= "8.12" & < "8.13"}
"coq-flocq" {>= "3.2.1" & < "4~"}
"coq-menhirlib" {>= "20190626"}
"menhir" {>= "20190626"}
"ocaml" {>= "4.05.0"}
]
synopsis: "The CompCert C compiler (64 bit, only open source files + using coq-platform)"
description: "This package installs the 64 bit version of CompCert.
For coexistence with the 32 bit version, the files are installed in:
%{prefix}%/variants/compcert64/bin (ccomp and clightgen binaries)
%{prefix}%/variants/compcert64/lib/compcert (C library)
%{lib}%/coq/user-contrib/compcert64 (Coq library)
Please note that the coq module path is compcert and not compcert64,
so the files cannot be directly Required as compcert64.
Instead -Q or -R options must be used to bind the compcert64 folder
to the module path compcert. This is more convenient if one development
uses both 32 and 64 bit versions. Otherwise all files would have to
be duplicated with module paths compcert and compcert64.
Please also note that the binary folder is usually not in the path."
tags: [
"category:Computer Science/Semantics and Compilation/Compilation"
"category:Computer Science/Semantics and Compilation/Semantics"
"keyword:C"
"keyword:compiler"
"logpath:compcert64"
"date:2020-04-29"
]
url {
src: "https://github.com/AbsInt/CompCert/archive/v3.7.tar.gz"
checksum: "sha256=ceee1b2ed6c2576cb66eb7a0f2669dcf85e65c0fc68385f0781b0ca4edb87eb0"
}
trueDry install with the current Coq version:
opam install -y --show-action coq-compcert-64.3.7+8.12~coq_platform~open_source coq.opam: PACKAGES... arguments: Invalid character in package name "coq." Usage: opam install [OPTION]... [PACKAGES]... Try `opam install --help' or `opam --help' for more information.
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
opam remove -y coq; opam install -y --show-action --unlock-base coq-compcert-64.3.7+8.12~coq_platform~open_sourceFatal error: Out of memory Fatal error: Out of memory
truetrueNo files were installed.
true