Displaying 20 results from an estimated 183 matches for "ocamldoc".
2015 Sep 30
3
[PATCH 1/2] ocaml: Use ocamlfind to run ocamldoc.
Using 'ocamlfind ocamldoc' is much faster than running 'ocamldoc'
directly, because ocamlfind will run the native code program
'ocamldoc.opt' if it is available.
This change approximately halves the time taken to compile the ocaml
bindings.
---
ocaml/Makefile.am | 2 +-
1 file changed, 1 insertion(+),...
2009 Jul 02
2
[LLVMdev] OCAML and ocamldoc requirements on building and installing LLVM
Jon,
LLVM seems to be now dependant by default on OCAML and ocamldoc. Can you please change this so OCAML is only built and enabled when an '--enable-ocaml' flag is set on 'configure'. As I cannot do 'make install' on Cygwin as ocamldoc is not availiable on Cygwin. Also really 95% of LLVM users are not either going to have ocaml installed or...
2008 Mar 17
4
[LLVMdev] OCaml "make install" failure
Hi all,
The OCaml stuff is failing during the "make install" command:
$ make install
llvm[0]: Installing HTML documentation
llvm[0]: Building ocamldoc documentation
make[2]: Nothing to be done for `ocamldoc'.
make[2]: Nothing to be done for `ocamldoc'.
make[2]: Nothing to be done for `ocamldoc'.
make[2]: Nothing to be done for `ocamldoc'.
make[2]: Nothing to be done for `ocamldoc'.
make[2]: Nothing to be done for `ocamldoc'...
2009 Jul 02
4
[LLVMdev] OCAML and ocamldoc requirements on building andinstalling LLVM
> On Thu, Jul 2, 2009 at 11:46 AM, Aaron
> Gray<aaronngray.lists at googlemail.com> wrote:
>> Jon,
>>
>> LLVM seems to be now dependant by default on OCAML and ocamldoc. Can you
>> please change this so OCAML is only built and enabled when an
>> '--enable-ocaml' flag is set on 'configure'. As I cannot do 'make
>> install'
>> on Cygwin as ocamldoc is not availiable on Cygwin. Also really 95% of
>> LLVM
>>...
2009 Jul 02
0
[LLVMdev] OCAML and ocamldoc requirements on building andinstalling LLVM
On Jul 2, 2009, at 1:27 PM, Aaron Gray wrote:
>> On Thu, Jul 2, 2009 at 11:46 AM, Aaron
>> Gray<aaronngray.lists at googlemail.com> wrote:
>>> Jon,
>>>
>>> LLVM seems to be now dependant by default on OCAML and ocamldoc.
>>> Can you
>>> please change this so OCAML is only built and enabled when an
>>> '--enable-ocaml' flag is set on 'configure'. As I cannot do 'make
>>> install'
>>> on Cygwin as ocamldoc is not availiable on Cygwin. Also really...
2009 Jul 02
0
[LLVMdev] OCAML and ocamldoc requirements on building and installing LLVM
On Thu, Jul 2, 2009 at 11:46 AM, Aaron
Gray<aaronngray.lists at googlemail.com> wrote:
> Jon,
>
> LLVM seems to be now dependant by default on OCAML and ocamldoc. Can you
> please change this so OCAML is only built and enabled when an
> '--enable-ocaml' flag is set on 'configure'. As I cannot do 'make install'
> on Cygwin as ocamldoc is not availiable on Cygwin. Also really 95% of LLVM
> users are not either going to have...
2010 Mar 02
1
[LLVMdev] minor issue in LLVM ocamldoc
erick--
I noticed in the OCamldoc entries for [declare_qualified_global] and [define_qualified_global] that you've given the address space parameter the name [as], which is a reserved word in OCaml. The actual code doesn't use this name, which is why it compiles, but the OCamldoc output looks weird.
—
j h woodyatt <jh...
2012 Apr 02
2
[LLVMdev] Build Error
...`/home/ryan/llvm/llvm_core/trunk/Release+Asserts/lib/ocaml/llvm.cmi',
needed by
`/home/ryan/llvm/llvm_core/trunk/bindings/ocaml/transforms/ipo/Release+Asserts/llvm_ipo.cmi'.
Stop.
gmake[4]: Leaving directory
`/home/ryan/llvm/llvm_core/trunk/bindings/ocaml/transforms/ipo'
gmake[3]: *** [ocamldoc] Error 2
gmake[3]: Leaving directory
`/home/ryan/llvm/llvm_core/trunk/bindings/ocaml/transforms'
gmake[2]: *** [ocamldoc] Error 2
gmake[2]: Leaving directory `/home/ryan/llvm/llvm_core/trunk/bindings/ocaml'
gmake[1]: *** [regen-ocamldoc] Error 2
gmake[1]: Leaving directory `/home/ryan/llvm/...
2009 Jul 03
1
[LLVMdev] OCAML and ocamldoc requirements on buildingandinstalling LLVM
> Aaron, I don't have ocaml installed and llvm builds fine for me.
Yeah, its only a problem if you have OCaML installed but not ocamldoc.
Sorry for the noise,
Aaron
2010 Mar 25
0
[LLVMdev] 2.6 Configure doesn't check if OCAMLDOC is missing
Hi LLVM,
I was installing LLVM2.6 on a system without ocamldoc.
The configure generates OCAMLDOC with value NULL without warnings,
so it got errors at 'make install'. But I did not check if 2.7 fixed
this problem.
--
Jianzhou
2015 Sep 30
1
Re: [PATCH 2/2] ocaml: Improve ocamldoc.
On Wednesday 30 September 2015 10:19:10 Richard W.M. Jones wrote:
> Miscellaneous improvements to the ocamldoc:
>
> - Generate more sub-headings.
>
> - Document the object-oriented API.
>
> - Use a common function to generate the doc for module and OO APIs.
> ---
Mostly OK, except ...
> + let generate_doc ?(indent = "") f =
> + if is_documented f then (
>...
2008 Mar 09
1
[LLVMdev] [PATCH] Make the ocaml source comments work with ocamldoc.
This patch cleans up the code so that it formats nicely with
ocamldoc. It does not yet hook into the build system, though.
---
bindings/ocaml/analysis/llvm_analysis.mli | 21 +-
bindings/ocaml/bitreader/llvm_bitreader.mli | 13 +-
bindings/ocaml/bitwriter/llvm_bitwriter.mli | 11 +-
.../ocaml/executionengine/llvm_executionengine.mli | 1...
2015 Sep 30
0
[PATCH 2/2] ocaml: Improve ocamldoc.
Miscellaneous improvements to the ocamldoc:
- Generate more sub-headings.
- Document the object-oriented API.
- Use a common function to generate the doc for module and OO APIs.
---
generator/ocaml.ml | 84 +++++++++++++++++++++++++++++++-----------------------
1 file changed, 49 insertions(+), 35 deletions(-)
diff --git a/generator...
2012 Apr 03
0
[LLVMdev] Build Error
...n/llvm/llvm_core/trunk/Release+Asserts/lib/ocaml/llvm.cmi', needed by `/home/ryan/llvm/llvm_core/trunk/bindings/ocaml/transforms/ipo/Release+Asserts/llvm_ipo.cmi'. Stop.
> gmake[4]: Leaving directory `/home/ryan/llvm/llvm_core/trunk/bindings/ocaml/transforms/ipo'
> gmake[3]: *** [ocamldoc] Error 2
> gmake[3]: Leaving directory `/home/ryan/llvm/llvm_core/trunk/bindings/ocaml/transforms'
> gmake[2]: *** [ocamldoc] Error 2
> gmake[2]: Leaving directory `/home/ryan/llvm/llvm_core/trunk/bindings/ocaml'
> gmake[1]: *** [regen-ocamldoc] Error 2
> gmake[1]: Leaving di...
2008 Mar 17
0
[LLVMdev] [PATCH] ocamldoc code needs to be added for every subdirectory in the ocaml bindings.
Here's a patch that'll fix the bug you're running into. Could someone
commit?
---
bindings/ocaml/transforms/Makefile | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d18893b2d5dd41332dd51a460882fb282c048ebb.diff
Type: text/x-patch
Size: 361 bytes
Desc: not available
URL:
2011 Apr 01
1
[LLVMdev] Fatal error
Hi Everyone,
When I compile llvm 2.8 with the option --disable-optimized
--enable-assertions on
Leopard with Ocaml 3.11, I get the following fatal error when it starts to
build
the ocaml docs.
llvm[1]: Installing HTML documentation
llvm[1]: Building ocamldoc documentation
llvm[3]: Documenting llvm.odoc
llvm[3]: Documenting llvm_bitreader.odoc
llvm[3]: Documenting llvm_bitwriter.odoc
llvm[3]: Documenting llvm_analysis.odoc
llvm[3]: Documenting llvm_target.odoc
llvm[3]: Documenting llvm_executionengine.odoc
llvm[4]: Documenting llvm_scalar_opts.odoc
Fata...
2008 Oct 22
2
[LLVMdev] r57974 & r57976 for PR2888
...008
> @@ -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, [ocamldep])
> +AC_PATH_PROGS(OCAMLDOC, [ocamldoc])
> AC_PATH_PROGS(GAS, [gas as])
>
> dnl Determine if the linker supports the -R option.
>
>
>...
2009 May 28
0
[LLVMdev] [Cygwin] possible OCAML bug on 'make install'
I am getting the following on doing a 'make install' on Cygwin platform :-
llvm[1]: Packaging HTML documentation
llvm[1]: Installing HTML documentation
llvm[1]: Building ocamldoc documentation
make[2]: Entering directory `/home/ang/build/llvm/bindings/ocaml'
make[2]: *** No rule to make target `ocamldoc'. Stop.
make[2]: Leaving directory `/home/ang/build/llvm/bindings/ocaml'
make[1]: *** [regen-ocamldoc] Error 2
make[1]: Leaving directory `/home/ang/b...
2010 Dec 22
0
[LLVMdev] the optional function return attribute and the llvm-c bindings
...function [f].
*)
val add_return_attr: llvalue -> Attribute.t -> unit
(** [remove_return_attr f a] removes the return parameter
attribute [a] from the return type of the function [f].
*)
val remove_return_attr: llvalue -> Attribute.t -> unit
I also propose to update the ocamldoc text for the following OCaml functions to reflect that the list traversed is the function *argument* list and not the parameter list:
Llvm.param
Llvm.params
Llvm.param_begin
Llvm.param_end
Llvm.param_succ
Llvm.param_pred
Llvm.iter_params
Llvm.rev_iter_params
Llvm.fold_left_params...
2010 Dec 21
2
[LLVMdev] the optional function return attribute and the llvm-c bindings
On Dec 21, 2010, at 00:43, Duncan Sands wrote:
>
> IIRC the function return value is considered to be the parameter with index 0.
> The function itself is considered to be the parameter with index ~0U.
Yes, that's what the documentation seems to say is the proper mode for indexing the return parameter, but when I set an attribute on the parameter with index zero, it gets applied to