search for: dcaml_name_space

Displaying 7 results from an estimated 7 matches for "dcaml_name_space".

2019 May 28
1
[PATCH] build: build C sources using OCaml API with CAML_NAME_SPACE
...5 insertions(+) diff --git a/builder/Makefile.am b/builder/Makefile.am index b564fadd6..c7caec5cb 100644 --- a/builder/Makefile.am +++ b/builder/Makefile.am @@ -135,6 +135,7 @@ bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ + -DCAML_NAME_SPACE \ -I$(builddir) -I$(srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \ @@ -156,6 +157,7 @@ XOBJECTS = $(BOBJECTS:.cmo=.cmx) virt_builder_repository_SOURCES = $(REPOSITORY_SOURCES_C) virt_builder_repository_CPPFLAGS = \ + -DCAML_NAME_SPACE \ -I$(build...
2019 Dec 13
1
[common PATCH] mlv2v: build as OCaml library
...s and OCaml objects and link them into the OCaml library. +# This C library is never used. + +noinst_LIBRARIES = libmlv2v.a + +if !HAVE_OCAMLOPT +MLV2V_CMA = mlv2v.cma +else +MLV2V_CMA = mlv2v.cmxa +endif + +noinst_DATA = $(MLV2V_CMA) + +libmlv2v_a_SOURCES = $(SOURCES_C) +libmlv2v_a_CPPFLAGS = \ + -DCAML_NAME_SPACE \ + -I. \ + -I$(top_builddir) \ + -I$(shell $(OCAMLC) -where) +libmlv2v_a_CFLAGS = \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) \ + -fPIC + +BOBJECTS = $(SOURCES_ML:.ml=.cmo) +XOBJECTS = $(BOBJECTS:.cmo=.cmx) + +OCAMLPACKAGES = \ + -package str,unix \ + -I $(builddir) +OCAMLPACKAGES_TESTS = $(MLV2V_CMA) + +...
2019 Jun 27
1
[libnbd PATCH] maint: Use $(NULL) for all Makefile.am macro lists
...nbd-c.c + nbd-c.c \ + $(NULL) EXTRA_DIST = \ - $(generator_built) + $(generator_built) \ + $(NULL) CLEANFILES += *.annot *.cmi *.cmo *.cmx *.o *.a *.so @@ -71,18 +73,21 @@ endif libnbdocaml_a_CPPFLAGS = \ -I$(top_builddir) -I$(OCAMLLIB) -I$(top_srcdir)/ocaml \ -I$(top_srcdir)/include \ - -DCAML_NAME_SPACE + -DCAML_NAME_SPACE \ + $(NULL) libnbdocaml_a_CFLAGS = \ $(WARNINGS_CFLAGS) \ - -fPIC + -fPIC \ + $(NULL) libnbdocaml_a_SOURCES = \ nbd-c.c \ nbd-c.h \ buffer.c \ handle.c \ - helpers.c + helpers.c \ + $(NULL) %.bc: %.cmo mlnbd.cma $(top_builddir)/libtool -dlopen $(top_builddir)/l...
2019 Dec 19
1
[PATCH] daemon: reorder internal static libs to fix linking
....o \ $(ACL_LIBS) \ $(CAP_LIBS) \ @@ -236,7 +233,10 @@ guestfsd_LDADD = \ $(TSK_LIBS) \ $(RPC_LIBS) \ $(YARA_LIBS) \ - $(OCAML_LIBS) + $(OCAML_LIBS) \ + ../common/errnostring/liberrnostring.la \ + ../common/protocol/libprotocol.la \ + ../common/utils/libutils.la guestfsd_CPPFLAGS = \ -DCAML_NAME_SPACE \ -- 2.24.1
2020 Mar 10
2
ANNOUNCE: libguestfs 1.42 - tools for accessing and modifying virtual machine disk images
...ngs Python ≥ 2.7 is required. Python bindings are now more extensively tested (Hiroyuki Katsura). Python bindings should now work with Python ≥ 3.8. Multiple fixes to avoid crashes in the Python bindings (Sam Eiderman). OCaml bindings are compiled with "-DCAML_NAME_SPACE" to ensure no non-caml_-namespaced symbols are used (Pino Toscano). OCaml bindings should now work with OCaml 4.09 and 4.10. Erlang has deprecated the old "erl_interface" library which we use for Erlang bindings. It will be removed in OTP 22, which will...
2019 Dec 16
4
[PATCH 0/2] Move ocaml-augeas copy to libguestfs repo
ocaml-augeas is used only by virtlibguestfs, so move it to this repository, instead of having it around in the common submodule. The removal from common will happen later. Pino Toscano (2): Bundle the ocaml-augeas library for use by libguestfs build: switch embedded copy of ocaml-augeas .gitignore | 1 + 3rdparty/ocaml-augeas/COPYING.LIB | 515
2019 Dec 16
3
[v2v PATCH 0/2] Move libvirt-ocaml copy to v2v repo
libvirt-ocaml is used only by virt-v2v, so move it to this repository, instead of having it around in the common submodule. The removal from common will happen later. Pino Toscano (2): common: Bundle the libvirt-ocaml library for use by virt-v2v build: switch embedded copy of libvirt-ocaml .gitignore | 2 + 3rdparty/libvirt-ocaml/Makefile.am |