Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Tutorial POPL18
Commits
e4084880
Commit
e4084880
authored
Jan 13, 2020
by
Ralf Jung
Browse files
upgrade to opam 2
parent
702df1a2
Pipeline
#22809
canceled with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
e4084880
...
...
@@ -29,14 +29,8 @@ build-dep: build-dep/opam phony
@
# that are incompatible with our build requirements.
@
# To achieve this, we create a fake opam package that has our build-dependencies as
@
# dependencies, but does not actually install anything itself.
@
echo
"# Pinning build-dep package."
&&
\
if
opam
--version
|
grep
"^1
\.
"
-q
;
then
\
BUILD_DEP_PACKAGE
=
"
$$
(egrep "
^name:
" build-dep/opam | sed 's/^name: *"
\(
.
*
\)
" */
\1
/')"
&&
\
opam pin add
-k
path
$(OPAMFLAGS)
"
$$
BUILD_DEP_PACKAGE"
.dev build-dep
&&
\
opam reinstall
$(OPAMFLAGS)
"
$$
BUILD_DEP_PACKAGE"
;
\
else
\
opam
install
$(OPAMFLAGS)
build-dep/
;
\
fi
@
echo
"# Installing build-dep package."
@
opam
install
$(OPAMFLAGS)
build-dep/
# Some files that do *not* need to be forwarded to Makefile.coq
Makefile
:
;
...
...
README.md
View file @
e4084880
...
...
@@ -22,7 +22,7 @@ please check out the
## Installing Iris via opam
The easiest, and recommend, way of installing Iris and its dependencies is via
the OCaml package manager opam (
1.2.2
or newer). You first have to add the Coq
the OCaml package manager opam (
2.0.0
or newer). You first have to add the Coq
opam repository and the Iris development repository (if you have not already
done so earlier):
...
...
opam
View file @
e4084880
opam-version: "
1.2
"
opam-version: "
2.0
"
name: "coq-iris-tutorial-popl18"
maintainer: "The Iris Organization"
authors: "The Iris Organization"
homepage: "https://gitlab.mpi-sws.org/iris/tutorial-popl18"
bug-reports: "https://gitlab.mpi-sws.org/iris/tutorial-popl18/issues"
dev-repo: "https://gitlab.mpi-sws.org/iris/tutorial-popl18.git"
build: [make "-j%{jobs}%"]
install: [] # This repo does not install
remove: []
dev-repo: "
git+
https://gitlab.mpi-sws.org/iris/tutorial-popl18.git"
synopsis: "A collection of case studies for Iris"
depends: [
"coq-iris" { (= "dev.2019-11-21.4.d1787db2") | (= "dev") }
]
build: [make "-j%{jobs}%"]
install: [] # This repo does not install
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment