Displaying 6 results from an estimated 6 matches for "344ba9bcb".
2017 Jul 24
0
[PATCH v3] common/mlstdutils: Build a bytecode version of this library.
...PACKAGES) -a $^ -o $@
+
+if HAVE_OCAMLOPT
+mlstdutils.cmxa: $(XOBJECTS)
+ $(OCAMLFIND) ocamlopt $(OCAMLPACKAGES) -a $^ -o $@
+endif
# This OCaml module has to be generated by make (configure will put
# unexpanded prefix macro in).
diff --git a/generator/Makefile.am b/generator/Makefile.am
index 344ba9bcb..1936d0898 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -114,9 +114,6 @@ sources = \
# In build dependency order.
objects = \
- $(OCAML_BYTES_COMPAT_CMO) \
- ../common/mlstdutils/guestfs_config.cmo \
- ../common/mlstdutils/std_utils.cmo \
types.cmo \
utils.cmo \
proc_...
2017 Jul 24
0
[PATCH v4] common/mlstdutils: Build a bytecode version of this library.
...PACKAGES) -a $^ -o $@
+
+if HAVE_OCAMLOPT
+mlstdutils.cmxa: $(XOBJECTS)
+ $(OCAMLFIND) ocamlopt $(OCAMLPACKAGES) -a $^ -o $@
+endif
# This OCaml module has to be generated by make (configure will put
# unexpanded prefix macro in).
diff --git a/generator/Makefile.am b/generator/Makefile.am
index 344ba9bcb..1936d0898 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -114,9 +114,6 @@ sources = \
# In build dependency order.
objects = \
- $(OCAML_BYTES_COMPAT_CMO) \
- ../common/mlstdutils/guestfs_config.cmo \
- ../common/mlstdutils/std_utils.cmo \
types.cmo \
utils.cmo \
proc_...
2017 Jul 14
0
[PATCH 01/27] build: Make OCaml compiler required for all builds.
...he test suite and some tools.
+
+OCaml is required to build libguestfs and this requirement cannot be
+removed. Using I<--disable-ocaml> only disables the bindings and
+OCaml tools.
=item B<--disable-fuse>
diff --git a/generator/Makefile.am b/generator/Makefile.am
index 3f54ad51d..344ba9bcb 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -177,8 +177,6 @@ OCAMLFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR)
noinst_PROGRAM = generator
-if HAVE_OCAML
-
generator: $(objects)
$(OCAMLFIND) ocamlc $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg $^ -o $@
@@ -196,19 +194,6 @@ de...
2017 Jul 24
3
[PATCH v4] common/mlstdutils: Build a bytecode version of this
v3 -> v4:
Use HAVE_OCAMLOPT in both places.
2017 Jul 24
3
[PATCH v3] common/mlstdutils: Build a bytecode version of this
Removed extra $(OCAML_BYTES_COMPAT_CMO).
Add if HAVE_OCAMLOPT around the call to ocamlopt.
Tested with OCaml 4.01 on RHEL 7.
Rich.
2017 Jul 14
45
[PATCH 00/27] Reimplement many daemon APIs in OCaml.
Previously posted as part of the mega utilities/inspection
series here:
https://www.redhat.com/archives/libguestfs/2017-June/msg00232.html
What I've done is to extract just the parts related to rewriting
daemon APIs in OCaml, rebase them on top of the current master, fix a
few things, and recompile and test everything.
Rich.