-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2716 from xavierleroy/compcert-32-3.13
CompCert 3.13 (32 bits)
- Loading branch information
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
released/packages/coq-compcert-32/coq-compcert-32.3.13/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
opam-version: "2.0" | ||
name: "coq-compcert-32" | ||
synopsis: "The CompCert C compiler (32 bit)" | ||
description: """\ | ||
This package installs the 32 bit version of CompCert. | ||
For coexistence with the 64 bit version, the files are installed in: | ||
%{prefix}%/variants/compcert32/bin (ccomp and clightgen binaries) | ||
%{prefix}%/variants/compcert32/lib/compcert (C library) | ||
%{lib}%/coq-variant/compcert32/compcert (Coq library) | ||
Please note that the coq module path is compcert and not compcert32, | ||
so the files cannot be directly Required as compcert32. | ||
Instead -Q or -R options must be used to bind the compcert32 folder | ||
to the module path compcert. This is more convenient if one development | ||
supports both 32 and 64 bit versions. Otherwise all files would have to | ||
be duplicated with module paths compcert and compcert32. | ||
Please also note that the binary folder is usually not in the path.""" | ||
maintainer: "Xavier Leroy" | ||
authors: "Xavier Leroy <[email protected]>" | ||
license: "INRIA Non-Commercial License Agreement" | ||
tags: [ | ||
"category:Computer Science/Semantics and Compilation/Compilation" | ||
"category:Computer Science/Semantics and Compilation/Semantics" | ||
"keyword:C" | ||
"keyword:compiler" | ||
"logpath:compcert32" | ||
"date:2023-07-04" | ||
] | ||
homepage: "https://compcert.org/" | ||
bug-reports: "https://github.com/AbsInt/CompCert/issues" | ||
depends: [ | ||
"coq" {>= "8.12.0" & < "8.18~"} | ||
"menhir" {>= "20190626" & != "dev"} | ||
"ocaml" {>= "4.05.0" & < "5~"} | ||
"coq-flocq" {>= "4.1.0" & < "5~"} | ||
"coq-menhirlib" {>= "20190626"} | ||
] | ||
available: os != "macos" & os != "cygwin" & os != "win32" | ||
build: [ | ||
[ | ||
"./configure" | ||
"ia32-linux" {os = "linux"} | ||
"-prefix" | ||
"%{prefix}%/variants/compcert32" | ||
"-install-coqdev" | ||
"-clightgen" | ||
"-use-external-Flocq" | ||
"-use-external-MenhirLib" | ||
"-coqdevdir" | ||
"%{lib}%/coq-variant/compcert32/compcert" | ||
"-ignore-coq-version" | ||
] | ||
[make "-j%{jobs}%" {ocaml:version >= "4.06"}] | ||
] | ||
install: [make "install"] | ||
dev-repo: "git+https://github.com/AbsInt/CompCert.git" | ||
url { | ||
src: "https://github.com/AbsInt/CompCert/archive/v3.13.tar.gz" | ||
checksum: | ||
"sha512=a1d493ad9d85c54cd3b5f6cbf0a01b4568044a5df1357366bc18afc82ceefec8bb431d163ab4743e2962d5c77f9becdbffec79604f3cf738ee6b21b35a7fadf7" | ||
} |