Permalink
Browse files

various modifications to lwt and the compiler descriptions to suit Mi…

…rage
  • Loading branch information...
1 parent 88b5401 commit 9756d55c7dc6078fc9ea29f00abbbc6cff59ad06 @avsm committed Jun 19, 2012
Showing with 9 additions and 4 deletions.
  1. +2 −2 compilers/3.12.1+mirage-xen.comp
  2. +2 −1 compilers/3.12.1.comp
  3. +5 −1 opam/lwt.2.3.2.opam
@@ -1,5 +1,5 @@
opam-version: "1"
name: "3.12.1"
src: "http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.1.tar.gz"
-build: [ ["./configure" "-prefix" "%{prefix}%"] ["sh" "-c" "sed -i.bak -e 's/OTHERLIBRARIES=.*/OTHERLIBRARIES=/g' config/Makefile"] ["make" "world"] ["make" "world.opt"] ["make" "install"] ]
-packages: [ "lwt"]
+build: [ ["./configure" "-prefix" "%{prefix}%"] ["make" "world"] ["make" "world.opt"] ["make" "install"] ["sh" "-c" "rm %{lib}%/ocaml/bigarray.*"] ]
+packages: [ "lwt" ]
View
@@ -1,4 +1,5 @@
opam-version: "1"
name: "3.12.1"
src: "http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.1.tar.gz"
-make: [ "world" "world.opt" ]
+make: [ "world" "world.opt" ]
+packages : [ "base-unix" "base-bigarray" ]
View
@@ -7,6 +7,9 @@ package "lwt" {
[ "./configure"
"--%{conf-libev:enable}%-libev"
"--%{react:enable}%-react"
+ "--%{base-unix:enable}%-unix"
+ "--%{base-unix:enable}%-preemptive"
+ "--%{base-unix:enable}%-extra"
]
[ "make" "build" ]
[ "make" "install" ]
@@ -18,5 +21,6 @@ package "lwt" {
depopts: [
"react"
"conf-libev"
+ "base-unix"
]
-}
+}

0 comments on commit 9756d55

Please sign in to comment.