search for: ocamlc

Displaying 20 results from an estimated 400 matches for "ocamlc".

Did you mean: ocaml
2013 Jun 22
1
Bug#713349: xen-api-libs: FTBFS: ocamlfind: Package `type-conv' not found
...s Tags: jessie sid User: debian-qa at lists.debian.org Usertags: qa-ftbfs-20130620 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: > make[2]: Entering directory `/?PKGBUILDDIR?/stdext' > ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o monad.cmi monad.mli > ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o fun.cmi fun.mli > ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid -c -o opt.cmi opt.mli > ocamlfind ocamlc -I ../xml-light2 -I ../stdext -I ../uuid...
2008 Oct 22
2
[LLVMdev] r57974 & r57976 for PR2888
...========================================== > --- llvm/trunk/autoconf/configure.ac (original) > +++ llvm/trunk/autoconf/configure.ac Wed Oct 22 07:40:40 2008 > @@ -610,10 +610,10 @@ > AC_PATH_PROG(RUNTEST, [runtest]) > DJ_AC_PATH_TCLSH > AC_PATH_PROG(ZIP, [zip]) > -AC_PATH_PROGS(OCAMLC, [ocamlc.opt ocamlc]) > -AC_PATH_PROGS(OCAMLOPT, [ocamlopt.opt ocamlopt]) > -AC_PATH_PROGS(OCAMLDEP, [ocamldep.opt ocamldep]) > -AC_PATH_PROGS(OCAMLDOC, [ocamldoc.opt ocamldoc]) > +AC_PATH_PROGS(OCAMLC, [ocamlc]) > +AC_PATH_PROGS(OCAMLOPT, [ocamlopt]) > +AC_PATH_PROGS(OCAMLDEP, [o...
2016 Aug 04
1
[PATCH] build: add simple custom silent rules for automake
Add makefile variables to enable silent rules for simple command invocations, such as ocamlc, ocamlopt, javac, and erlc. This reduces the log output when building with silent rules, still showing the full command lines otherwise. --- erlang/Makefile.am | 2 +- java/Makefile.am | 6 +++--- ocaml/Makefile.am | 14 +++++++------- subdir-rules.mk | 20 +++++++++++++++++--- 4 files ch...
2014 Sep 14
2
Re: ocamldep -all seems to break builds on platforms without a native compiler
* Richard W.M. Jones: > Yes, also this commit doesn't actually fix the problem. I still see > occasional problems building StringMap. I have reverted this commit. Here's another patch that should enable the native-code targets only if they can be built. Cheers, -Hilko
2005 Sep 30
14
pdb missing files?
...d/evtchn.d from evtchn.ml making ._d/Intel.d from Intel.ml making ._d/Util.d from Util.ml make[1]: Leaving directory `/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'' make[1]: Entering directory `/usr/src/xen-unstable.hg-20050930_orig/tools/debugger/pdb'' /usr/local/bin/ocamlc -c -g Util.ml /usr/local/bin/ocamlc -c -g Intel.ml /usr/local/bin/ocamlc -c -g evtchn.mli /usr/local/bin/ocamlc -c -g evtchn.ml /usr/local/bin/ocamlc -c -g xcs.mli /usr/local/bin/ocamlc -c -g xcs.ml /usr/local/bin/ocamlc -c -g Xen_domain.mli /usr/local/bin/ocamlc -c -g Xen_domain.ml /usr/local/bin/...
2017 Jul 14
0
[PATCH 01/27] build: Make OCaml compiler required for all builds.
...--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 @@ depend: .depend -include .depend -else - -# No OCaml compiler. Just replace the generator with a script that -# prints a warning. - -generator: - rm -f $@ $@-t - echo 'echo Warning: Install OCaml compiler in order to...
2011 May 09
1
[PATCH] Don't rely on OCaml native compiler for tests
...ESTS = \ 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_010_open: t/hivex_010_open.cmx mlhivex.cmxa +t/hivex_010_open: t/hivex_010_open.cmo mlhivex.cma mkdir -p t - $(OCAMLFIND) ocamlopt -cclib -L$(top_builddir)/lib/.libs -I . -package unix -linkpkg mlhiv...
2013 Dec 02
6
Bug#731166: Error: Syntax error: 'end' expected
...er.h usability... yes checking libdevmapper.h presence... yes checking for libdevmapper.h... yes checking linux/cdrom.h usability... yes checking linux/cdrom.h presence... yes checking for linux/cdrom.h... yes checking whether XS_RESTRICT is declared... yes checking for realpath... yes checking for ocamlc... ocamlc OCaml version is 3.11.2 OCaml library path is /usr/lib/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib chec...
2007 Oct 03
2
[LLVMdev] using "ocamlc -where" to find ocaml c headers
I've got ocaml installed in a non-standard location, and while the svn version of llvm seems to detect my ocaml binaries, it doesn't seem add "ocamlc -where" to the c include search path. This causes bindings/ocaml/llvm/llvm_ocaml.c to error out unless I run "make CFLAGS=`ocamlc -where`". Any chance that this could be added?
2008 Mar 04
5
[LLVMdev] [PATCH] Make sure ocamldep runs on all .mli files.
This is a small bug fix for the ocaml build system that allows for dependencies to be generated for ocaml interface files. --- bindings/ocaml/Makefile.ocaml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -------------- next part -------------- A non-text attachment was scrubbed... Name: 7c62c2cd93a6402e5f6ebd600e9e3ac7851b4d29.diff Type: text/x-patch Size: 994 bytes Desc: not
2015 May 12
4
[PATCH 1/2] mllib: remove spurious check_SCRIPTS from Makefile.am
Not actually useful, as TESTS defines the tests, and it breaks when oUnit is not available (as it tries to build an oUnit-based unit test). --- mllib/Makefile.am | 3 --- 1 file changed, 3 deletions(-) diff --git a/mllib/Makefile.am b/mllib/Makefile.am index 0b43684..e363f27 100644 --- a/mllib/Makefile.am +++ b/mllib/Makefile.am @@ -132,9 +132,6 @@ libdir.ml: Makefile # Tests.
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#)
2011 May 11
3
[PATCH 1/3] hivex: Use OCaml bytecode compiler for caml_raise_with_args check
...x_c.o] Error 1 `---- (Successfully tested on Debian/unstable on alpha) --- configure.ac | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5805ddd..ef19543 100644 --- a/configure.ac +++ b/configure.ac @@ -192,9 +192,9 @@ if test "x$OCAMLC" != "xno"; then echo "char $f (); char foo() { return $f (); }" > conftest.c rm -f conftest_ml.ml touch conftest_ml.ml - if $OCAMLOPT -c conftest.c 2>/dev/null && \ - $OCAMLOPT -c conftest_ml.ml 2>/dev/null && \ - $OCAM...
2019 Jun 15
2
[libnbd PATCH] build: Fix OCaml build on Fedora 29
Once ocamlfind is installed, 'make' failed for me with: ocamlfind ocamlc -g -annot -safe-string -warn-error CDEFLMPSUVYZX+52-3 -ccopt '-gdwarf' -package unix -c NBD.ml -o NBD.cmo File "NBD.ml", line 1: Error: Could not find the .cmi file for interface NBD.mli. make[2]: *** [Makefile:823: NBD.cmo] Error 2 I'm not positive that this is the perfect f...
2007 Oct 04
0
[LLVMdev] using "ocamlc -where" to find ocaml c headers
On Oct 3, 2007, at 01:28, Erick Tryzelaar wrote: > I've got ocaml installed in a non-standard location, and while the > svn version of llvm seems to detect my ocaml binaries, it doesn't > seem add "ocamlc -where" to the c include search path. This causes > bindings/ocaml/llvm/llvm_ocaml.c to error out unless I run "make > CFLAGS=`ocamlc -where`". Any chance that this could be added? Erick, Please try after this commit. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-...
2019 May 28
1
[PATCH] build: build C sources using OCaml API with CAML_NAME_SPACE
...akefile.am index 12e046c35..181cb9c5c 100644 --- a/common/mllibvirt/Makefile.am +++ b/common/mllibvirt/Makefile.am @@ -59,6 +59,7 @@ noinst_DATA = $(MLLIBVIRT_CMA) libmllibvirt_a_SOURCES = $(SOURCES_C) libmllibvirt_a_CPPFLAGS = \ + -DCAML_NAME_SPACE \ -I. \ -I$(top_builddir) \ -I$(shell $(OCAMLC) -where) diff --git a/common/mlpcre/Makefile.am b/common/mlpcre/Makefile.am index 6f04256da..1e0b7795c 100644 --- a/common/mlpcre/Makefile.am +++ b/common/mlpcre/Makefile.am @@ -49,6 +49,7 @@ noinst_DATA = $(MLPCRE_CMA) libmlpcre_a_SOURCES = $(SOURCES_C) libmlpcre_a_CPPFLAGS = \ + -DCAML_NAME_S...
2008 Jul 31
2
[LLVMdev] Status of Ocaml bindings
...cted failures 7 # of expected failures 11 It looks like some of the failures were due to the Ocaml parts of the tests: FAIL: /home/erikd/Hack/SVN/llvm/test/Bindings/Ocaml/analysis.ml Failed with unknown error (or has stderr output) at line 1 while running: /usr/bin/ocamlc.opt -cc g++ -I /home/erikd/Hack/SVN/llvm/Debug/lib/ocaml -warn-error A llvm.cma llvm_analysis.cma /home/erikd/Hack/SVN/llvm/test/Bindings/Ocaml/analysis.ml -o analysis.ml.tmp /tmp/camlprim265f17.c:911: warning: deprecated conversion from string constant to 'char*' and...
2009 May 28
0
[LLVMdev] [Cygwin] OCAML 'make check' failures
Getting the following on Cygwin :- Running /home/ang/svn/llvm/test/Bindings/Ocaml/ocaml.exp ... FAIL: /home/ang/svn/llvm/test/Bindings/Ocaml/analysis.ml Failed with exit(2) at line 1 while running: /usr/bin/ocamlc -cc g++ -I /home/ang/build/llvm/Debug/lib/ocaml - warn-error A llvm.cma llvm_analysis.cma /home/ang/svn/llvm/test/Bindings/Ocaml/a nalysis.ml -o analysis.ml.tmp 2> /dev/null child process exited abnormally FAIL: /home/ang/svn/llvm/test/Bindings/Ocaml/bitreader.ml Failed with exit(2) at line 1 wh...
2014 Feb 28
6
[PATCH] Fix building on architectures where ocamlopt is not available
...mon_utils.cmx \ @@ -109,6 +109,12 @@ OBJECTS = \ cmdline.cmx \ builder.cmx +if HAVE_OCAMLOPT +OBJECTS = $(deps) +else +OBJECTS = $(patsubst %.cmx,%.cmo,$(deps)) +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) oca...
2015 May 12
0
[PATCH 2/2] configure: simplify check for oUnit v2
...llowup of commit 46bc79109bb51cfb656863da3635f1c8da5f6412. --- configure.ac | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index 5ff151b..7a609cb 100644 --- a/configure.ac +++ b/configure.ac @@ -1135,6 +1135,7 @@ AS_IF([test "x$OCAMLC" != "xno"],[ OCAML_PKG_gettext=no OCAML_PKG_libvirt=no OCAML_PKG_oUnit=no +ounit_is_v2=no AS_IF([test "x$OCAMLC" != "xno"],[ # Create mllib/common_gettext.ml, gettext functions or stubs. @@ -1147,17 +1148,9 @@ AS_IF([test "x$OCAMLC" != "x...