Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ocaml/libs/xenctrl-ext/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
#

# K&R style indentation
INDENT += -nbad -bap -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0
INDENT += -d0 -di1 -nfc1 -i4 -ip0 -l75 -lp -npcs
INDENT += -npsl -nsc -nsob

format:
find . -name '*.[ch]' | xargs -n1 indent -nut $(INDENT)
11 changes: 11 additions & 0 deletions ocaml/libs/xenctrl-ext/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
(library
(name xenctrl_ext)
(wrapped false)
(libraries unix xenctrl)
(foreign_stubs
(language c)
(names xenctrlext_stubs)
)
(c_library_flags (-L/lib64 -lxenforeignmemory))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-L/lib64 is surely not needed.

)

File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions ocaml/xenopsd/c_stubs/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
(library
(name xapi_xenopsd_xc_c_stubs)
(wrapped false)
(libraries xenctrl)
(foreign_stubs
(language c)
(names tuntap_stubs xenctrlext_stubs)
(names tuntap_stubs)
)
(c_library_flags (-L/lib64 -lxenforeignmemory))
)

9 changes: 8 additions & 1 deletion ocaml/xenopsd/xc/dune
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
xapi_xenopsd_c_stubs
xapi_xenopsd_xc_c_stubs
xenctrl
xenctrl_ext
xenstore
xenstore_transport.unix
)
Expand All @@ -74,7 +75,8 @@
(executable
(name numa)
(modules numa)
(libraries fmt logs logs.fmt mtime mtime.clock threads.posix xenctrl xenopsd_xc unix)
(libraries fmt logs logs.fmt mtime mtime.clock threads.posix xenctrl
xenctrl_ext xenopsd_xc unix)
)

(executable
Expand All @@ -91,6 +93,7 @@
xapi-stdext-unix
xapi_xenopsd
xenctrl
xenctrl_ext
xenstore_transport.unix
xenopsd_xc
)
Expand All @@ -110,6 +113,7 @@
clock
xapi-stdext-unix
xenctrl
xenctrl_ext
xenopsd_xc
xenstore_transport.unix
)
Expand All @@ -131,6 +135,7 @@
xapi-stdext-unix
xapi_xenopsd
xenctrl
xenctrl_ext
)
)

Expand All @@ -142,6 +147,7 @@
cmdliner
ezxenstore
xenctrl
xenctrl_ext
)
)

Expand All @@ -157,6 +163,7 @@
xapi-idl.xen.interface
xapi_xenopsd
xenctrl
xenctrl_ext
xenopsd_xc
xenstore_transport.unix
)
Expand Down
Loading