forked from coq/platform
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage-pick-8.12.sh
105 lines (83 loc) · 3.88 KB
/
package-pick-8.12.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/bin/bash
###################### COPYRIGHT/COPYLEFT ######################
# (C) 2020 Michael Soegtrop
# Released to the public under the
# Creative Commons CC0 1.0 Universal License
# See https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
###################### CONTROL VARIABLES #####################
# The two lines below are used by the package selection script
COQ_PLATFORM_VERSION_TITLE="Coq 8.12.2 (released Dec 2020) with the first package pick from Dec 2020"
COQ_PLATFORM_VERSION_SORTORDER=8
# The package list name is the final part of the opam switch name.
# It is usually either empty ot starts with ~.
# It might also be used for installer package names, but with ~ replaced by _
# It is also used for version specific file selections in the smoke test kit.
COQ_PLATFORM_PACKAGE_PICK_POSTFIX='~8.12'
# The corresponding Coq development branch and tag
COQ_PLATFORM_COQ_BRANCH='v8.12'
COQ_PLATFORM_COQ_TAG='8.12.2'
# This controls if opam repositories for development packages are selected
COQ_PLATFORM_USE_DEV_REPOSITORY='N'
# This extended descriptions is used for readme files
COQ_PLATFORM_VERSION_DESCRIPTION='This version of Coq Platform 2023.11.0 includes Coq 8.12.2 from 12/2020. '
COQ_PLATFORM_VERSION_DESCRIPTION+='The package pick is the original package pick of Coq Platform for Coq 8.12.2. '
# The OCaml version to use for this pick (just the version number - options are elaborated in a platform dependent way)
COQ_PLATFORM_OCAML_VERSION='4.10.2'
###################### PACKAGE SELECTION #####################
# - Comment out packages you do not want.
# - Packages which take a long time to build should be given last.
# There is some evidence that they are built early then.
PACKAGES="PIN.coq.8.12.2"
# GTK based IDE for Coq - alternatives are VSCoq and Proofgeneral for Emacs
if [[ "${COQ_PLATFORM_EXTENT}" =~ ^[iIfFxX] ]]
then
PACKAGES="${PACKAGES} coqide.8.12.2 lablgtk3.3.1.1"
fi
if [[ "${COQ_PLATFORM_EXTENT}" =~ ^[fFxX] ]]
then
# Some generally useful packages
PACKAGES="${PACKAGES} coq-unicoq.1.5+8.12"
PACKAGES="${PACKAGES} coq-ext-lib.0.11.2"
PACKAGES="${PACKAGES} coq-equations.1.2.3+8.12"
PACKAGES="${PACKAGES} coq-bignums.8.12.0"
PACKAGES="${PACKAGES} coq-aac-tactics.8.12.0"
PACKAGES="${PACKAGES} coq-mtac2.1.3+8.12"
PACKAGES="${PACKAGES} coq-simple-io.1.4.0"
if [[ "$OSTYPE" != cygwin ]]
then
# coq-quickchick does not work on Windows because it requires ocamlc and other tools
PACKAGES="${PACKAGES} coq-quickchick.1.4.0"
fi
# Analysis and numerics
PACKAGES="${PACKAGES} coq-flocq.3.3.1"
PACKAGES="${PACKAGES} coq-coquelicot.3.1.0"
PACKAGES="${PACKAGES} coq-gappa.1.4.4 gappa.1.3.5"
PACKAGES="${PACKAGES} coq-interval.4.0.0"
# Elpi, Coq-elpi and hierarchy builder
PACKAGES="${PACKAGES} coq-elpi.1.5.1 elpi.1.11.4-1"
PACKAGES="${PACKAGES} coq-hierarchy-builder.0.10.0"
# The standard set of mathcomp modules
PACKAGES="${PACKAGES} coq-mathcomp-ssreflect.1.11.0"
PACKAGES="${PACKAGES} coq-mathcomp-fingroup.1.11.0"
PACKAGES="${PACKAGES} coq-mathcomp-algebra.1.11.0"
PACKAGES="${PACKAGES} coq-mathcomp-solvable.1.11.0"
PACKAGES="${PACKAGES} coq-mathcomp-field.1.11.0"
PACKAGES="${PACKAGES} coq-mathcomp-character.1.11.0"
# Plus a few extra mathcomp modules
PACKAGES="${PACKAGES} coq-mathcomp-bigenough.1.0.0"
PACKAGES="${PACKAGES} coq-mathcomp-finmap.1.5.0"
PACKAGES="${PACKAGES} coq-mathcomp-real-closed.1.1.1"
# Menhir, CompCert and Princeton VST - these take longer to compile !
PACKAGES="${PACKAGES} coq-menhirlib.20200624 menhir.20200624"
case "$COQ_PLATFORM_COMPCERT" in
[yYfF]) PACKAGES="${PACKAGES} coq-compcert.3.7+8.12~coq_platform" ;;
[oO]) PACKAGES="${PACKAGES} coq-compcert.3.7+8.12~coq_platform~open_source" ;;
[nN]) true ;;
*) echo "Illegal value for COQ_PLATFORM_COMPCERT - aborting"; false ;;
esac
case "$COQ_PLATFORM_VST" in
[yY]) PACKAGES="${PACKAGES} coq-vst.2.6" ;;
[nN]) true ;;
*) echo "Illegal value for COQ_PLATFORM_VST - aborting"; false ;;
esac
fi