Skip to content
Snippets Groups Projects
Commit 3c5a9ba5 authored by Ralf Jung's avatar Ralf Jung
Browse files

upgrade to opam 2 package

parent 6a97e962
Branches
No related tags found
No related merge requests found
Pipeline #22801 passed
...@@ -29,14 +29,8 @@ build-dep: build-dep/opam phony ...@@ -29,14 +29,8 @@ build-dep: build-dep/opam phony
@# that are incompatible with our build requirements. @# that are incompatible with our build requirements.
@# To achieve this, we create a fake opam package that has our build-dependencies as @# To achieve this, we create a fake opam package that has our build-dependencies as
@# dependencies, but does not actually install anything itself. @# dependencies, but does not actually install anything itself.
@echo "# Pinning build-dep package." && \ @echo "# Installing build-dep package."
if opam --version | grep "^1\." -q; then \ @opam install $(OPAMFLAGS) build-dep/
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
# Some files that do *not* need to be forwarded to Makefile.coq # Some files that do *not* need to be forwarded to Makefile.coq
Makefile: ; Makefile: ;
......
A formal model of a Rust core langauge and type system, a logical relation for
the type system, and safety proof for some Rust libraries.
opam-version: "1.2" opam-version: "2.0"
name: "coq-lambda-rust" name: "coq-lambda-rust"
version: "dev"
maintainer: "Ralf Jung <jung@mpi-sws.org>" maintainer: "Ralf Jung <jung@mpi-sws.org>"
authors: "The RustBelt Team" authors: "The RustBelt Team"
license: "BSD" license: "BSD"
homepage: "http://plv.mpi-sws.org/rustbelt/" homepage: "https://plv.mpi-sws.org/rustbelt/"
bug-reports: "https://gitlab.mpi-sws.org/iris/lambda-rust/issues" bug-reports: "https://gitlab.mpi-sws.org/iris/lambda-rust/issues"
dev-repo: "https://gitlab.mpi-sws.org/iris/lambda-rust.git" dev-repo: "git+https://gitlab.mpi-sws.org/iris/lambda-rust.git"
build: [make "-j%{jobs}%"]
install: [make "install"] synopsis: "LambdaRust Coq formalization"
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/lrust'" ] description: """
A formal model of a Rust core langauge and type system, a logical relation for
the type system, and safety proof for some Rust libraries.
"""
depends: [ depends: [
"coq-iris" { (= "dev.2019-12-13.0.335ff6d7") | (= "dev") } "coq-iris" { (= "dev.2019-12-13.0.335ff6d7") | (= "dev") }
] ]
build: [make "-j%{jobs}%"]
install: [make "install"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment