Skip to content

Commit

Permalink
opam: add configure step for xenopsd (#6036)
Browse files Browse the repository at this point in the history
This is needed to generate the vif script and make it installable
  • Loading branch information
psafont authored Oct 2, 2024
2 parents d23597b + dd22406 commit ec0151b
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@
uutf
x509
xapi-backtrace
xapi-log
xapi-types
xapi-stdext-pervasives
xapi-stdext-unix
xen-api-client
xenctrl
xenstore_transport
xmlm
Expand Down Expand Up @@ -305,6 +310,7 @@
; because it is not in xs-opam yet
rrd-transport
xapi-tracing-export
xen-api-client
(alcotest :with-test)
(ppx_deriving_rpc :with-test)
(qcheck-core :with-test)
Expand Down Expand Up @@ -712,6 +718,7 @@ This package provides an Lwt compatible interface to the library.")
astring
base-unix
(bisect_ppx :with-test)
(clock (and (= :version) :with-test))
(fd-send-recv (>= 2.0.0))
fmt
integers
Expand Down
5 changes: 5 additions & 0 deletions xapi-debug.opam
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ depends: [
"uutf"
"x509"
"xapi-backtrace"
"xapi-log"
"xapi-types"
"xapi-stdext-pervasives"
"xapi-stdext-unix"
"xen-api-client"
"xenctrl"
"xenstore_transport"
"xmlm"
Expand Down
1 change: 1 addition & 0 deletions xapi-stdext-unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ depends: [
"astring"
"base-unix"
"bisect_ppx" {with-test}
"clock" {= version & with-test}
"fd-send-recv" {>= "2.0.0"}
"fmt"
"integers"
Expand Down
4 changes: 3 additions & 1 deletion xapi-tools.opam
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@ depends: [
"yojson"
"rrd-transport"
"xapi-tracing-export"
"xen-api-client"
"alcotest" {with-test}
"ppx_deriving_rpc" {with-test}
"qcheck-core" {with-test}
"xapi-test-utils" {with-test}
"xenstore_transport" {with-test}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
build: [
["./configure"]
["dune" "subst"] {dev}
[
"dune"
Expand All @@ -50,4 +53,3 @@ build: [
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
15 changes: 15 additions & 0 deletions xapi-tools.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
build: [
["./configure"]
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]

0 comments on commit ec0151b

Please sign in to comment.