Skip to content

Commit

Permalink
update opam and Travis for 8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog committed Oct 6, 2019
1 parent f512bfc commit f0c7659
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 36 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ opam: &OPAM
set -ex # -e = exit on failure; -x = trace for debug
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev
opam update -y
opam pin add ${CONTRIB_NAME} . -y --no-action
opam pin add ${CONTRIB_NAME} . -y -n -k path
opam install ${CONTRIB_NAME} -y -j ${NJOBS} --deps-only
opam config list
opam repo list
Expand All @@ -40,6 +40,11 @@ matrix:
- CONTRIB_NAME=coq-cheerios
- NJOBS=2
<<: *OPAM
- env:
- COQ_IMAGE=coqorg/coq:8.10
- CONTRIB_NAME=coq-cheerios
- NJOBS=2
<<: *OPAM
- env:
- COQ_IMAGE=coqorg/coq:dev
- CONTRIB_NAME=coq-cheerios
Expand Down
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# sets COQVERSION
include Makefile.detect-coq-version

# sets MLTREE, etc.
include Makefile.ml-files

ifeq (,$(filter $(COQVERSION),8.6 8.7 8.8 8.9 8.10 dev))
$(error "Cheerios is only compatible with Coq version 8.6.1 or later")
endif

COQPROJECT_EXISTS := $(wildcard _CoqProject)

ifeq "$(COQPROJECT_EXISTS)" ""
Expand Down
12 changes: 0 additions & 12 deletions Makefile.detect-coq-version

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Runtime:
Building
--------

The easiest way to install Cheerios is via [OPAM](http://opam.ocaml.org/doc/Install.html):
The easiest way to build and install Cheerios is via [OPAM](http://opam.ocaml.org/doc/Install.html):
```
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev
opam install coq-cheerios
Expand Down
12 changes: 8 additions & 4 deletions cheerios-runtime.opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ dev-repo: "git+https://github.com/uwplse/cheerios.git"
bug-reports: "https://github.com/uwplse/cheerios/issues"
license: "BSD-2-Clause"
synopsis: "Cheerios serialization framework runtime library"
description: """
OCaml support library for the Coq library Cheerios,
enabling running extracted verified serialization code.
"""

build: [ make "-j%{jobs}%" "-C" "runtime" ]
build: [make "-j%{jobs}%" "-C" "runtime"]
depends: [
"ocaml" {>= "4.02.3"}
"ocamlbuild" {build}
]

authors: [
"Keith Simmons"
"Doug Woos"
"James R. Wilcox"
"Justin Adsuara"
"Karl Palmskog"
"Keith Simmons"
"James R. Wilcox"
"Doug Woos"
]
22 changes: 11 additions & 11 deletions coq-cheerios.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ homepage: "https://github.com/uwplse/cheerios"
dev-repo: "git+https://github.com/uwplse/cheerios.git"
bug-reports: "https://github.com/uwplse/cheerios/issues"
license: "BSD-2-Clause"
synopsis: "Coq library for serialization"
synopsis: "Coq library for verified serialization"
description: """
Cheerios is a formally verified serialization library for Coq,
which defines a typeclass for serializable types and defines instances
for many built-in types.
A formally verified serialization library for Coq
which defines a typeclass for serializable types and instances
for many standard library types.
"""

build: [
[ "./configure" ]
[ make "-j%{jobs}%" ]
["./configure"]
[make "-j%{jobs}%"]
]
install: [ make "install" ]
install: [make "install"]
depends: [
"ocaml"
"coq" {(>= "8.6.1" & < "8.10~") | (= "dev")}
"coq" {(>= "8.6.1" & < "8.11~") | (= "dev")}
"coq-struct-tact" {= "dev"}
]

Expand All @@ -30,9 +30,9 @@ tags: [
"logpath:Cheerios"
]
authors: [
"Keith Simmons"
"Doug Woos"
"James R. Wilcox"
"Justin Adsuara"
"Karl Palmskog"
"Keith Simmons"
"James R. Wilcox"
"Doug Woos"
]

0 comments on commit f0c7659

Please sign in to comment.