Skip to content

Commit c1dae3e

Browse files
mattam82yforster
andauthored
Release changes 8.14 (#732)
* Fix opam files and add make-opam-files script * Update authors * Release changes 8.15 (#731) * coqdocjs * coqdocjs * Release changes (#729) * Set version in opam files * Fix equations dependency * Fix build.yml * Fix opam files and add make-opam-files script * Update version bounds * Back to 8.16.dev versions * Opam make tests (#730) *  Make test-suite and examples also installable from the opam package * Test the "with-test" targets of the opam file * Plugin-demo building * Missing MetaCoq prefix in test-suite/plugin * The opam files actually require bash * Missing includes for local build of examples/test-suite * Fix opam build * Fix configure.h Co-authored-by: Yannick Forster <yannick.forster@inria.fr> * Add Kenji to the authors Co-authored-by: Yannick Forster <yannick.forster@inria.fr>
1 parent 5d2f136 commit c1dae3e

27 files changed

+658
-49
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
sudo chown -R coq:coq . # <--
4949
opam exec -- ocamlfind list
5050
endGroup
51+
before_install: |
52+
startGroup "Print opam config"
53+
opam config list; opam repo list; opam list
54+
endGroup
5155
script: |
5256
startGroup "Build project"
5357
opam exec -- ./configure.sh --enable-${{matrix.target}}

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,3 +352,13 @@ erasure/src/eEnvMap.ml
352352
erasure/src/eEnvMap.mli
353353
erasure/src/eGlobalEnv.mli
354354
erasure/src/eGlobalEnv.ml
355+
Makefile.conf
356+
test-suite/plugin-demo/src/META.coq-metacoq-demo-plugin
357+
pcuic/src/META.coq-metacoq-pcuic
358+
examples/_CoqProject
359+
test-suite/_CoqProject
360+
examples/metacoq-config
361+
test-suite/metacoq-config
362+
test-suite/plugin-demo/_CoqProject
363+
test-suite/plugin-demo/_PluginProject
364+
test-suite/plugin-demo/metacoq-config

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ uninstall: all
1919
$(MAKE) -C translations uninstall
2020

2121
html: all
22-
"coqdoc" -toc -utf8 -interpolate -l -html \
22+
"coqdoc" --multi-index -toc -utf8 -interpolate -html \
23+
--with-header ./html/resources/header.html --with-footer ./html/resources/footer.html \
2324
-R template-coq/theories MetaCoq.Template \
2425
-R pcuic/theories MetaCoq.PCUIC \
2526
-R safechecker/theories MetaCoq.SafeChecker \
@@ -104,7 +105,7 @@ ci-quick:
104105

105106
ci-opam:
106107
# Use -v so that regular output is produced
107-
opam install -v -y .
108+
opam install --with-test -v -y .
108109
opam remove -y coq-metacoq coq-metacoq-template
109110

110111
checktodos:

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
</p>
66

77
[![Build status](https://github.com/MetaCoq/metacoq/actions/workflows/build.yml/badge.svg?branch=coq-8.14)](https://github.com/MetaCoq/metacoq/actions) [![MetaCoq Chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://coq.zulipchat.com)
8-
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/metacoq/metacoq)
8+
[![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc
9+
)](https://open.vscode.dev/metacoq/metacoq)
910

1011
MetaCoq is a project formalizing Coq in Coq and providing tools for
1112
manipulating Coq terms and developing certified plugins
@@ -250,14 +251,17 @@ alt="Yannick Forster" width="150px"/>
250251
src="https://github.com/MetaCoq/metacoq.github.io/raw/master/assets/meven-lennon-bertrand.jpeg"
251252
alt="Meven Lennon-Bertrand" width="150px"/><br/>
252253
<img
254+
src="https://github.com/MetaCoq/metacoq.github.io/raw/master/assets/kenji-maillard.jpg"
255+
alt="Kenji Maillard" width="150px"/>
256+
<img
253257
src="https://github.com/MetaCoq/metacoq.github.io/raw/master/assets/gregory-malecha.jpg"
254258
alt="Gregory Malecha" width="150px"/>
255259
<img
256260
src="https://github.com/MetaCoq/metacoq.github.io/raw/master/assets/jakob-botsch-nielsen.png"
257-
alt="Jakob Botsch Nielsen" width="150px"/>
261+
alt="Jakob Botsch Nielsen" width="150px"/><br/>
258262
<img
259263
src="https://github.com/MetaCoq/metacoq.github.io/raw/master/assets/matthieu-sozeau.png"
260-
alt="Matthieu Sozeau" width="150px"/><br/>
264+
alt="Matthieu Sozeau" width="150px"/>
261265
<img
262266
src="https://github.com/MetaCoq/metacoq.github.io/raw/master/assets/nicolas-tabareau.jpg"
263267
alt="Nicolas Tabareau" width="150px"/>
@@ -274,6 +278,7 @@ MetaCoq is developed by (left to right)
274278
<a href="https://github.com/CohenCyril">Cyril Cohen</a>,
275279
<a href="https://github.com/yforster">Yannick Forster</a>,
276280
<a href="https://www.meven.ac">Meven Lennon-Bertrand</a>,
281+
<a href="https://github.com/kyoDralliam">Kenji Maillard</a>,
277282
<a href="https://github.com/gmalecha">Gregory Malecha</a>,
278283
<a href="https://github.com/jakobbotsch">Jakob Botsch Nielsen</a>,
279284
<a href="https://github.com/mattam82">Matthieu Sozeau</a>,
@@ -288,6 +293,7 @@ Copyright (c) 2015-2022 Abhishek Anand, Matthieu Sozeau
288293
Copyright (c) 2017-2022 Simon Boulier, Nicolas Tabareau, Cyril Cohen
289294
Copyright (c) 2018-2022 Danil Annenkov, Yannick Forster, Théo Winterhalter
290295
Copyright (c) 2020-2022 Jakob Botsch Nielsen, Meven Lennon-Bertrand
296+
Copyright (c) 2022 Kenji Maillard
291297
```
292298

293299
This software is distributed under the terms of the MIT license.

configure.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ then
2121
SAFECHECKER_DEPS="-R ../pcuic/theories MetaCoq.PCUIC"
2222
ERASURE_DEPS="-R ../safechecker/theories MetaCoq.SafeChecker"
2323
TRANSLATIONS_DEPS=""
24+
EXAMPLES_DEPS="-I ../safechecker/src -I ../erasure/src -R ../erasure/theories MetaCoq.Erasure"
25+
TEST_SUITE_DEPS="-I ../safechecker/src -I ../erasure/src -R ../erasure/theories MetaCoq.Erasure"
26+
PLUGIN_DEMO_DEPS="-I ../../template-coq/build -R ../../template-coq/theories MetaCoq.Template -I ../../template-coq/"
27+
echo "METACOQ_CONFIG = local" > Makefile.conf
2428
else
2529
echo "Building MetaCoq globally (default)"
2630
# The safechecker and erasure plugins depend on the extractable template-coq plugin
@@ -30,17 +34,28 @@ then
3034
SAFECHECKER_DEPS=""
3135
ERASURE_DEPS=""
3236
TRANSLATIONS_DEPS=""
37+
EXAMPLES_DEPS=""
38+
TEST_SUITE_DEPS=""
39+
PLUGIN_DEMO_DEPS="-I ${COQLIB}/user-contrib/MetaCoq/Template"
40+
echo "METACOQ_CONFIG = global" > Makefile.conf
3341
fi
3442

3543
echo "# DO NOT EDIT THIS FILE: autogenerated from ./configure.sh" > pcuic/metacoq-config
3644
echo "# DO NOT EDIT THIS FILE: autogenerated from ./configure.sh" > safechecker/metacoq-config
3745
echo "# DO NOT EDIT THIS FILE: autogenerated from ./configure.sh" > erasure/metacoq-config
3846
echo "# DO NOT EDIT THIS FILE: autogenerated from ./configure.sh" > translations/metacoq-config
47+
echo "# DO NOT EDIT THIS FILE: autogenerated from ./configure.sh" > examples/metacoq-config
48+
echo "# DO NOT EDIT THIS FILE: autogenerated from ./configure.sh" > test-suite/metacoq-config
49+
echo "# DO NOT EDIT THIS FILE: autogenerated from ./configure.sh" > test-suite/plugin-demo/metacoq-config
3950

4051
echo ${PCUIC_DEPS} >> pcuic/metacoq-config
4152
echo ${PCUIC_DEPS} ${SAFECHECKER_DEPS} >> safechecker/metacoq-config
4253
echo ${PCUIC_DEPS} ${SAFECHECKER_DEPS} ${ERASURE_DEPS} >> erasure/metacoq-config
4354
echo ${PCUIC_DEPS} ${TRANSLATIONS_DEPS} >> translations/metacoq-config
55+
echo ${PCUIC_DEPS} ${SAFECHECKER_DEPS} ${ERASURE_DEPS} ${TRANSLATIONS_DEPS} ${EXAMPLES_DEPS} >> examples/metacoq-config
56+
echo ${PCUIC_DEPS} ${SAFECHECKER_DEPS} ${ERASURE_DEPS} ${TRANSLATIONS_DEPS} ${TEST_SUITE_DEPS} >> test-suite/metacoq-config
57+
echo ${PLUGIN_DEMO_DEPS} >> test-suite/plugin-demo/metacoq-config
58+
4459
else
4560
echo "Error: coqc not found in path"
4661
fi

coq-metacoq-erasure.opam

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,25 @@ opam-version: "2.0"
22
version: "8.14.dev"
33
maintainer: "matthieu.sozeau@inria.fr"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
8+
"Danil Annenkov <danil.v.annenkov@gmail.com>"
89
"Simon Boulier <simon.boulier@inria.fr>"
910
"Cyril Cohen <cyril.cohen@inria.fr>"
1011
"Yannick Forster <forster@ps.uni-saarland.de>"
1112
"Fabian Kunze <fkunze@fakusb.de>"
13+
"Meven Lennon-Bertrand <Meven.Bertrand@univ-nantes.fr>"
14+
"Kenji Maillard <kenji.maillard@inria.fr>"
1215
"Gregory Malecha <gmalecha@gmail.com>"
16+
"Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>"
1317
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
1418
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
1519
"Théo Winterhalter <theo.winterhalter@inria.fr>"
1620
]
1721
license: "MIT"
1822
build: [
19-
["sh" "./configure.sh"]
23+
["bash" "./configure.sh"]
2024
[make "-j" "%{jobs}%" "-C" "erasure"]
2125
]
2226
install: [

coq-metacoq-pcuic.opam

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,25 @@ opam-version: "2.0"
22
version: "8.14.dev"
33
maintainer: "matthieu.sozeau@inria.fr"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
8+
"Danil Annenkov <danil.v.annenkov@gmail.com>"
89
"Simon Boulier <simon.boulier@inria.fr>"
910
"Cyril Cohen <cyril.cohen@inria.fr>"
1011
"Yannick Forster <forster@ps.uni-saarland.de>"
1112
"Fabian Kunze <fkunze@fakusb.de>"
13+
"Meven Lennon-Bertrand <Meven.Bertrand@univ-nantes.fr>"
14+
"Kenji Maillard <kenji.maillard@inria.fr>"
1215
"Gregory Malecha <gmalecha@gmail.com>"
16+
"Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>"
1317
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
1418
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
1519
"Théo Winterhalter <theo.winterhalter@inria.fr>"
1620
]
1721
license: "MIT"
1822
build: [
19-
["sh" "./configure.sh"]
23+
["bash" "./configure.sh"]
2024
[make "-j" "%{jobs}%" "-C" "pcuic"]
2125
]
2226
install: [

coq-metacoq-safechecker.opam

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,25 @@ opam-version: "2.0"
22
version: "8.14.dev"
33
maintainer: "matthieu.sozeau@inria.fr"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
8+
"Danil Annenkov <danil.v.annenkov@gmail.com>"
89
"Simon Boulier <simon.boulier@inria.fr>"
910
"Cyril Cohen <cyril.cohen@inria.fr>"
1011
"Yannick Forster <forster@ps.uni-saarland.de>"
1112
"Fabian Kunze <fkunze@fakusb.de>"
13+
"Meven Lennon-Bertrand <Meven.Bertrand@univ-nantes.fr>"
14+
"Kenji Maillard <kenji.maillard@inria.fr>"
1215
"Gregory Malecha <gmalecha@gmail.com>"
16+
"Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>"
1317
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
1418
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
1519
"Théo Winterhalter <theo.winterhalter@inria.fr>"
1620
]
1721
license: "MIT"
1822
build: [
19-
["sh" "./configure.sh"]
23+
["bash" "./configure.sh"]
2024
[make "-j" "%{jobs}%" "-C" "safechecker"]
2125
]
2226
install: [

coq-metacoq-template.opam

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,33 @@ opam-version: "2.0"
22
version: "8.14.dev"
33
maintainer: "matthieu.sozeau@inria.fr"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#master"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
77
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
8+
"Danil Annenkov <danil.v.annenkov@gmail.com>"
89
"Simon Boulier <simon.boulier@inria.fr>"
910
"Cyril Cohen <cyril.cohen@inria.fr>"
1011
"Yannick Forster <forster@ps.uni-saarland.de>"
1112
"Fabian Kunze <fkunze@fakusb.de>"
13+
"Meven Lennon-Bertrand <Meven.Bertrand@univ-nantes.fr>"
14+
"Kenji Maillard <kenji.maillard@inria.fr>"
1215
"Gregory Malecha <gmalecha@gmail.com>"
16+
"Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>"
1317
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
1418
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
1519
"Théo Winterhalter <theo.winterhalter@inria.fr>"
1620
]
1721
license: "MIT"
1822
build: [
19-
["sh" "./configure.sh"]
23+
["bash" "./configure.sh"]
2024
[make "-j" "%{jobs}%" "template-coq"]
2125
]
2226
install: [
2327
[make "-C" "template-coq" "install"]
2428
]
2529
depends: [
2630
"ocaml" {>= "4.07.1"}
31+
"stdlib-shims"
2732
"coq" { >= "8.14" & < "8.15~" }
2833
"coq-equations" { >= "1.3" }
2934
]

coq-metacoq-translations.opam

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,25 @@ opam-version: "2.0"
22
version: "8.14.dev"
33
maintainer: "matthieu.sozeau@inria.fr"
44
homepage: "https://metacoq.github.io/metacoq"
5-
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
5+
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.16"
66
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
7-
authors: ["Simon Boulier <simon.boulier@inria.fr>"
7+
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
8+
"Danil Annenkov <danil.v.annenkov@gmail.com>"
9+
"Simon Boulier <simon.boulier@inria.fr>"
810
"Cyril Cohen <cyril.cohen@inria.fr>"
11+
"Yannick Forster <forster@ps.uni-saarland.de>"
12+
"Fabian Kunze <fkunze@fakusb.de>"
13+
"Meven Lennon-Bertrand <Meven.Bertrand@univ-nantes.fr>"
14+
"Kenji Maillard <kenji.maillard@inria.fr>"
15+
"Gregory Malecha <gmalecha@gmail.com>"
16+
"Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>"
917
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
1018
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
1119
"Théo Winterhalter <theo.winterhalter@inria.fr>"
1220
]
1321
license: "MIT"
1422
build: [
15-
["sh" "./configure.sh"]
23+
["bash" "./configure.sh"]
1624
[make "-j" "%{jobs}%" "-C" "translations"]
1725
]
1826
install: [

0 commit comments

Comments
 (0)