Displaying 20 results from an estimated 236 matches for "cmxa".
Did you mean:
cm8a
2016 Jul 18
2
[PATCH 1/2] build: Fix dependencies on mllib and customize.
Binaries should be rebuilt if mllib.cma/mllib.cmxa or
customize.cma/customize.cmxa change.
Fixes commit 1e2877c6f4d1d254026d38b1cac4895d8dba7d5d.
---
builder/Makefile.am | 12 ++++++++++--
customize/Makefile.am | 3 ++-
dib/Makefile.am | 5 ++++-
get-kernel/Makefile.am | 5 ++++-
mllib/Makefile.am | 15 ++++++++++++---
resize/M...
2011 May 09
1
[PATCH] Don't rely on OCaml native compiler for tests
...-Wall -c $<
TESTS_ENVIRONMENT = \
- LD_LIBRARY_PATH=$(top_builddir)/lib/.libs \
+ LD_LIBRARY_PATH=$(top_builddir)/lib/.libs:$(top_builddir)/ocaml \
$(VG)
TESTS = \
@@ -59,33 +59,33 @@ TESTS = \
t/hivex_300_fold
noinst_DATA += $(TESTS)
-t/hivex_005_load: t/hivex_005_load.cmx mlhivex.cmxa
+t/hivex_005_load: t/hivex_005_load.cmo mlhivex.cma
mkdir -p t
- $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/lib/.libs -I . -package unix -linkpkg mlhivex.cmxa $< -o $@
+ $(OCAMLFIND) ocamlc -cclib -L$(top_builddir)/lib/.libs -I . -package unix -linkpkg mlhivex.cma $< -o $@
-t/hivex_01...
2014 Mar 22
3
Re: [PATCH] Fix building on architectures where ocamlopt is not available
* Richard W.M. Jones:
>> Wouldn't a rule without commands such as
>>
>> mlguestfs.cmxa: mlguestfs.cma
>>
>> also prevent make from building the two targets in parallel?
>
> Doesn't that mean that if mlguestfs.cmxa is out of date, simply
> running the mlguestfs.cma rule will build it (which it won't)?
Not sure if I understand you.
If I cause mlguestfs....
2016 Jul 14
2
[PATCH 0/2] Build mllib and customize into libraries.
Simplifies the build a bit.
This is on top of the previous SELinux relabelling patch set, although
not related to it.
Rich.
2010 Jun 27
0
[LLVMdev] ocaml bindings + ocamlbuild problem
..."llvm_bitwriter";;
flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
I try to compile with the command line
ocamlbuild minimal.native
and get the result:
Finished, 1 target (0 cached) in 00:00:02.
+ /usr/local/bin/ocamlopt.opt llvm.cmxa llvm_bitwriter.cmxa -cc g++ unix.cmxa minimal.cmx -o minimal.native
File "_none_", line 1, characters 0-1:
Error: No implementations provided for the following modules:
Unix referenced from /usr/local/lib/ocaml/llvm_bitwriter.cmxa(Llvm_bitwriter)
Command exited with code 2.
Compi...
2014 Mar 22
2
Re: [PATCH] Fix building on architectures where ocamlopt is not available
* Richard W.M. Jones:
>> I think that an extra target (mlguestfs.cmxa: mlguestfs.cma) would make
>> the .NOTPARALLEL unnecessary.
>
> Right, I remember this was a problem now.
>
> It was fixed by:
>
> https://github.com/libguestfs/libguestfs/commit/dce94f3e266ed3f1fc634a1ef6953f2db1510963
>
> Do you think we could re-add the stamp-file /...
2011 Nov 09
6
[PATCH] Add tune2fs support to libguestfs.
At the moment OpenStack uses kpartx and nbd to resize filesystems and
inject files to guests. I sincerely hope they don't allow untrusted
users to upload guest images / AMIs :-(
To fix this I'm looking into adding libguestfs support as an optional
backend in OpenStack.
The only missing feature in libguestfs is the ability to call tune2fs
on a filesystem. This patch series adds tune2fs
2013 May 31
3
Bug#710650: xen-api: FTBFS: gcc: error: /home/blank/debian/xen/releases/xen/xen-4.2.1/debian/build/build-utils_amd64/tools/ocaml/libs/xc/../../../../tools/libxc/libxenctrl.so: No such file or directory- build ocaml/xapi rrddump.opt
...v,tapctl,vhd,xenstore,rpc-light -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ../idl -I ../idl/ocaml_backend -I ../autogen -I ../database/ -I ../xenops -I ../xva -I ../util -I ../auth -I ../license -I ../client_records -I ../rfb -I ../gpg -I ../network -I .. -o rrddump.opt ../fhs.cmxa ../util/version.cmxa ../util/vm_memory_constraints.cmxa ../util/sanitycheck.cmxa ../util/stats.cmxa ../idl/ocaml_backend/common.cmxa ../idl/ocaml_backend/client.cmxa ../idl/ocaml_backend/server.cmxa ../util/ocamltest.cmxa ../xenops/xenops.cmxa ../auth/pam.cmxa rrd.cmx rrddump.cmx -cclib -L/usr/lib6...
2014 Feb 28
6
[PATCH] Fix building on architectures where ocamlopt is not available
...ps))
+endif
+
bin_SCRIPTS = virt-builder
# -I $(top_builddir)/src/.libs is a hack which forces corresponding -L
@@ -134,12 +140,22 @@ OCAMLCLIBS = \
-pthread -lpthread \
-lncurses -lcrypt
+if HAVE_OCAMLOPT
virt-builder: $(OBJECTS)
$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) \
mlguestfs.cmxa -linkpkg $^ \
-cclib '$(OCAMLCLIBS)' \
$(OCAML_GCOV_LDFLAGS) \
-o $@
+else
+virt-builder: $(OBJECTS)
+ $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) \
+ mlguestfs.cma -linkpkg $^ \
+ -cclib '$(OCAMLCLIBS)' \
+ -custom \
+ $(OCAML_GCOV_LDFLAGS) \
+ -o $@
+endif
.mli.cmi...
2014 Feb 28
2
Re: enable build for ocaml bytecode
I believe this patch has now been superseded by Hilko's commit here:
https://github.com/libguestfs/libguestfs/commit/f75142c577255b30f2a8e1d27baa5fd185594197
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
2014 Mar 22
2
Re: [PATCH] Fix building on architectures where ocamlopt is not available
...to not build goals in this
>> +# directory in parallel.
>> +.NOTPARALLEL:
>
> ^ This makes building the OCaml subdirectory very slow (I normally
> build with MAKEFLAGS=-j9). Was there a reason for adding this?
I think I added this because both the mlguestfs.cma and mlguestfs.cmxa
targets generate libmlguestfs.a:
mlguestfs.cma: libguestfsocaml.a guestfs.cmo
$(OCAMLMKLIB) -o mlguestfs \
$(libguestfsocaml_a_OBJECTS) guestfs.cmo \
-L$(top_builddir)/src/.libs -lguestfs
mlguestfs.cmxa: libguestfsocaml.a guestfs.cmx
$(OCAMLMKLIB) -o mlguestfs \
$(libguestfsocaml_a_OBJ...
2009 Jul 29
1
[PATCH] Bugfix: ocaml: Rebuild the tests from source if the main library changes
There's a missing dependency in the ocaml subdirectory which causes
this error whenever the main library changes:
ocamlfind ocamlopt -cclib -L../src/.libs -I . unix.cmxa mlguestfs.cmxa t/guestfs_005_load.cmx -o t/guestfs_005_load
File "_none_", line 1, characters 0-1:
Error: Files t/guestfs_005_load.cmx and mlguestfs.cmxa
make inconsistent assumptions over interface Guestfs
make[3]: *** [t/guestfs_005_load] Error 2
The attached patch adds the miss...
2013 Jun 08
0
Bug#710650: Bug#710650: xen-api: FTBFS: gcc: error: /home/blank/debian/xen/releases/xen/xen-4.2.1/debian/build/build-utils_amd64/tools/ocaml/libs/xc/../../../../tools/libxc/libxenctrl.so: No such file or directory- build ocaml/xapi rrddump.opt
...e,rpc-light
> -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ../idl -I
> ../idl/ocaml_backend -I ../autogen -I ../database/ -I ../xenops -I ../xva
> -I ../util -I ../auth -I ../license -I ../client_records -I ../rfb -I
> ../gpg -I ../network -I .. -o rrddump.opt ../fhs.cmxa ../util/version.cmxa
> ../util/vm_memory_constraints.cmxa ../util/sanitycheck.cmxa
> ../util/stats.cmxa ../idl/ocaml_backend/common.cmxa
> ../idl/ocaml_backend/client.cmxa ../idl/ocaml_backend/server.cmxa
> ../util/ocamltest.cmxa ../xenops/xenops.cmxa ../auth/pam.cmxa rrd.cmx
> rrddu...
2014 Mar 23
2
Re: [PATCH] Fix building on architectures where ocamlopt is not available
* Richard W.M. Jones:
> (1) Removing .NOTPARALLEL. This fails, as expected.
>
> (2) mlguestfs.cmxa: mlguestfs.cma -- fails
>
> (3) mlguestfs.cmxa: | mlguestfs.cma -- fails after a longer time
I find it strange that (2) and (3) fail.
> (4) The attached patch which is derived from dce94f -- this ran
> without failing for 120 iterations (and still going).
The patch looks good to me...
2016 Aug 04
1
[PATCH] build: add simple custom silent rules for automake
..._builddir)/src/.libs/libguestfs.la --mode=execute \
+ $(guestfs_am_v_ocamlc)$(top_builddir)/libtool -dlopen $(top_builddir)/src/.libs/libguestfs.la --mode=execute \
$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -I . -package unix -linkpkg mlguestfs.cma $< -o $@
if HAVE_OCAMLOPT
%.opt: %.cmx mlguestfs.cmxa
- $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -cclib -L$(top_builddir)/src/.libs -I . -package unix -linkpkg mlguestfs.cmxa $< -o $@
+ $(guestfs_am_v_ocamlopt)$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -cclib -L$(top_builddir)/src/.libs -I . -package unix -linkpkg mlguestfs.cmxa $< -o $@
endif
che...
2013 Jan 14
3
enable build for ocaml bytecode
...=====================
--- libguestfs-1.20.1.orig/ocaml/Makefile.am
+++ libguestfs-1.20.1/ocaml/Makefile.am
@@ -43,10 +43,20 @@ CLEANFILES += t/*.cmi t/*.cmo t/*.cmx t/
if HAVE_OCAML
+DATA_HOOK_FILES = META *.so *.a *.cma \
+ *.cmi $(srcdir)/*.mli
+if HAVE_OCAMLOPT
+DATA_HOOK_FILES += *.cmx *.cmxa
+endif
+
OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX
OCAMLOPTFLAGS = $(OCAMLCFLAGS)
-noinst_DATA = mlguestfs.cma mlguestfs.cmxa META
+noinst_DATA = mlguestfs.cma
+if HAVE_OCAMLOPT
+noinst_DATA += mlguestfs.cmxa
+endif
+noinst_DATA += META
# Build the C part into a library, so that automake ha...
2013 Apr 24
12
[PATCH 00/12] Various patches for fixing separated builds.
This just fixes 'make'.
'make check' is still broken. Further patches for that to follow
tomorrow.
Rich.
2011 Nov 15
6
[OCAML 0/7] Xen ocaml library packaging
This is an update to the patches sent out on 25th October. I expect,
as before, that some of the larger patches won't get to the list so
they are also available here:
https://github.com/jonludlam/pkg-xen/commits/for-debian6.
Changes since last mail:
* I have split out the unrelated change to include 2 extra header files
in libxen-dev
* I have removed some instances of brace expansion
2014 Feb 26
2
Re: enable build for ocaml bytecode
...)/src/.libs/libguestfs.la --mode=execute \
+ $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) \
+ -custom \
+ mlguestfs.cma -linkpkg $^ \
+ -cclib '-lncurses -lcrypt' \
+ $(OCAML_GCOV_LDFLAGS) \
+ -o $@
+
+virt-builder.opt: $(OBJECTS_opt)
$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) \
mlguestfs.cmxa -linkpkg $^ \
-cclib '-lncurses -lcrypt' \
$(OCAML_GCOV_LDFLAGS) \
-o $@
+virt-builder: $(FINAL_BINARY)
+ cp -vf $< $@
+
.mli.cmi:
$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -c $< -o $@
.ml.cmo:
diff --git a/configure.ac b/configure.ac
index d7430db..d0063e8 100644
--- a/con...
2011 Nov 29
6
[OCAML 0/7] V4 or so of the xen ocaml packaging patches
Here is the latest version of the patches to package the ocaml libraries. Changes
since last time:
* rename the packages from libxen-4.1-ocaml* to libxen-ocaml* - we wont be
looking to install multiple concurrent versions of the same package, so
the version doesn't need to be in the package name
* Removed superfluous GENCONTROL definitions - dh_ocaml does what we need
* Removed