Skip to content

Commit

Permalink
Merge pull request OCamlPro#774 from Halbaroth/lock-file
Browse files Browse the repository at this point in the history
Add a lock file for the alt-ergo-lib
  • Loading branch information
Halbaroth authored Aug 16, 2023
2 parents 01b55a6 + 03b766f commit a0b47a6
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ archi: $(EXTRA_DIR)/ocamldot/ocamldot
echo "}" >> archi.dot
dot -Tpdf archi.dot > archi.pdf

lock:
dune build ./alt-ergo-lib.opam
opam lock ./alt-ergo-lib.opam -w
# Remove OCaml compiler constraints
sed -i '/"ocaml"\|"ocaml-base-compiler"\|"ocaml-system"\|"ocaml-config"/d' ./alt-ergo-lib.opam.locked

dev-switch:
opam switch create -y . --deps-only --ignore-constraints-on alt-ergo-lib,alt-ergo-parsers

Expand All @@ -250,7 +256,7 @@ test-deps:
dune-deps:
dune-deps . | dot -Tpng -o docs/deps.png

.PHONY: archi deps test-deps dune-deps dev-switch
.PHONY: archi deps test-deps dune-deps dev-switch lock

# ===============
# PUBLIC RELEASES
Expand Down
81 changes: 81 additions & 0 deletions alt-ergo-lib.opam.locked
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
opam-version: "2.0"
name: "alt-ergo-lib"
version: "dev"
synopsis: "The Alt-Ergo SMT prover library"
description: """\
This is the core library used in the Alt-Ergo SMT solver.

Alt-Ergo is an automatic theorem prover of mathematical formulas. It was developed at LRI, and is now maintained at OCamlPro.

See more details on http://alt-ergo.ocamlpro.com/"""
maintainer: "Alt-Ergo developers"
authors: "Alt-Ergo developers"
license: ["LicenseRef-OCamlpro-Non-Commercial" "Apache-2.0"]
tags: "org:OCamlPro"
homepage: "https://alt-ergo.ocamlpro.com/"
doc: "https://ocamlpro.github.io/alt-ergo"
bug-reports: "https://github.com/OCamlPro/alt-ergo/issues"
depends: [
"base-bigarray" {= "base"}
"base-bytes" {= "base"}
"base-threads" {= "base"}
"base-unix" {= "base"}
"camlzip" {= "1.11"}
"cmdliner" {= "1.2.0"}
"conf-gmp" {= "4"}
"conf-pkg-config" {= "3"}
"conf-zlib" {= "1"}
"cppo" {= "1.6.9"}
"csexp" {= "1.5.2"}
"dolmen" {= "0.9"}
"dolmen_loop" {= "0.9"}
"dolmen_type" {= "0.9"}
"dune" {= "3.10.0"}
"dune-build-info" {= "3.10.0"}
"dune-configurator" {= "3.10.0"}
"fmt" {= "0.9.0"}
"gen" {= "1.1"}
"js_of_ocaml" {= "5.4.0"}
"js_of_ocaml-compiler" {= "5.4.0"}
"logs" {= "0.7.0"}
"lwt" {= "5.6.1"}
"menhir" {= "20230608"}
"menhirLib" {= "20230608"}
"menhirSdk" {= "20230608"}
"num" {= "1.4"}
"ocaml-compiler-libs" {= "v0.12.4"}
"ocamlbuild" {= "0.14.2"}
"ocamlfind" {= "1.9.6"}
"ocplib-endian" {= "1.2"}
"ocplib-simplex" {= "0.5"}
"pp_loc" {= "2.1.0"}
"ppx_blob" {= "0.7.2"}
"ppx_derivers" {= "1.2.1"}
"ppxlib" {= "0.30.0"}
"sedlex" {= "3.2"}
"seq" {= "base"}
"sexplib0" {= "v0.15.1"}
"spelll" {= "0.4"}
"stdlib-shims" {= "0.3.0"}
"topkg" {= "1.0.7"}
"uutf" {= "1.0.3"}
"yojson" {= "2.1.0"}
"zarith" {= "1.13"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/OCamlPro/alt-ergo.git"

0 comments on commit a0b47a6

Please sign in to comment.