Skip to content
Snippets Groups Projects
Commit b5770fd6 authored by erwan's avatar erwan
Browse files

Build: try to set-up an opam package

parent f29ea5d2
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,9 @@ install:
reinstall:install
uninstall:
dune uninstall
.PHONY:test
test:
make
......
......@@ -18,7 +18,7 @@ Basically, one needs to provide:
1. a topology, made of nodes and channels (via a dot file)
2. the algorithms attached to nodes (via =ocaml= programs)
Now, suppose you a topology defined in =g.dot=, that refers to an
Now, suppose you have a topology defined in =g.dot=, that refers to an
algorithm defined in the ocaml program =p.ml=, you can simulate it as
follows:
......@@ -388,10 +388,8 @@ script]].
** Via opam (not yet working)
#+BEGIN_SRC sh :tangle sh/install-opam.sh :noweb yes :tangle-mode (identity #o444)
# optional
opam repo add verimag-sync-repo "http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository"
opam update -y
opam depext -y sasa
opam install -y sasa
#+END_SRC
......
;; Time-stamp: <modified the 15/03/2019 (at 23:07) by Erwan>
;; Time-stamp: <modified the 24/05/2019 (at 10:51) by Erwan Jahier>
(executable
(name sasaMain)
......
opam-version: "1.2"
maintainer: "erwan.jahier@univ-grenoble-alpes.fr"
authors: [ "Erwan Jahier" ]
license: "CeCILL"
homepage: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
dev-repo: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa.git"
bug-reports: "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/sasa"
build: [make "build"]
install: [make "install"]
remove: [make "uninstall"]
depends: [ "ocaml" "ocamlfind" "dune" "ocamlgraph"]
available: [ ocaml-version >= "4.02" ]
post-messages: ["The last version can be obtained via (opam repo add) http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository/ "]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment