Aaron Gray
2009-Jul-02 20:27 UTC
[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 >> users are not either going to have ocaml installed or are going to be >> using >> it. >> >> Could you please atand to this within a week or so as I have to do Cygwin >> testing for the 2.6 release. >> > Hi Aaron, > > Would you be able to come up with a patch that does this? This would > help matters, because you run Cygwin, and would be the best person to > know if the patch works or not.Bill, Really its not only a Cygwin patch, its a patch for anyone who does not want to have to install OCAML and its documentation tool in order to use LLVM. Its really just a matter of adding a switch to configure and conditionally building ocaml stuff based on its setting. I really hate the bash configure script and really dont want to do it. Really it should be on the OCAML writers list of finishing things to do out of courtesy for other users. Aaron
Bill Wendling
2009-Jul-02 20:47 UTC
[LLVMdev] OCAML and ocamldoc requirements on building andinstalling LLVM
On Thu, Jul 2, 2009 at 1:27 PM, Aaron Gray<aaronngray.lists at googlemail.com> wrote:>> On Thu, Jul 2, 2009 at 11:46 AM, Aaron >> Gray<aaronngray.lists at googlemail.com> wrote: >> Hi Aaron, >> >> Would you be able to come up with a patch that does this? This would >> help matters, because you run Cygwin, and would be the best person to >> know if the patch works or not. > > Bill, > > Really its not only a Cygwin patch, its a patch for anyone who does not want > to have to install OCAML and its documentation tool in order to use LLVM. > Its really just a matter of adding a switch to configure and conditionally > building ocaml stuff based on its setting. I really hate the bash configure > script and really dont want to do it. Really it should be on the OCAML > writers list of finishing things to do out of courtesy for other users. >Well, perhaps in a perfect world. :-) But this is an open source project, so it's at the mercy of people's spare time. With that in mind, I don't have ocaml or ocamldoc on my system, and I compile and install just fine. It never tries to build the OCaml bindings. Of course, I'm not on Cygwin. Are you using CMake or the Makefiles? -bw
Chris Lattner
2009-Jul-02 21:47 UTC
[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 95% >>> of >>> LLVM >>> users are not either going to have ocaml installed or are going to >>> be >>> using >>> it. >>> >>> Could you please atand to this within a week or so as I have to do >>> Cygwin >>> testing for the 2.6 release. >>> >> Hi Aaron, >> >> Would you be able to come up with a patch that does this? This would >> help matters, because you run Cygwin, and would be the best person to >> know if the patch works or not. > > Bill, > > Really its not only a Cygwin patch, its a patch for anyone who does > not want > to have to install OCAML and its documentation tool in order to use > LLVM. > Its really just a matter of adding a switch to configure and > conditionally > building ocaml stuff based on its setting. I really hate the bash > configure > script and really dont want to do it. Really it should be on the OCAML > writers list of finishing things to do out of courtesy for other > users.Aaron, I don't have ocaml installed and llvm builds fine for me. -Chris
Aaron Gray
2009-Jul-02 22:35 UTC
[LLVMdev] OCAML and ocamldoc requirements on buildingandinstalling 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 95% >>>> of >>>> LLVM >>>> users are not either going to have ocaml installed or are going to >>>> be >>>> using >>>> it. >>>> >>>> Could you please atand to this within a week or so as I have to do >>>> Cygwin >>>> testing for the 2.6 release. >>>> >>> Hi Aaron, >>> >>> Would you be able to come up with a patch that does this? This would >>> help matters, because you run Cygwin, and would be the best person to >>> know if the patch works or not. >> >> Bill, >> >> Really its not only a Cygwin patch, its a patch for anyone who does >> not want >> to have to install OCAML and its documentation tool in order to use >> LLVM. >> Its really just a matter of adding a switch to configure and >> conditionally >> building ocaml stuff based on its setting. I really hate the bash >> configure >> script and really dont want to do it. Really it should be on the OCAML >> writers list of finishing things to do out of courtesy for other >> users. > > Aaron, I don't have ocaml installed and llvm builds fine for me.Hi Chris, Okay, its another possible Cygwin anomoly, maybe I'll try uninstalling OCaml and that might do it ? I'll report back when I have had a chance to test it. Thanks, Aaron
Seemingly Similar Threads
- [LLVMdev] OCAML and ocamldoc requirements on building andinstalling LLVM
- [LLVMdev] OCAML and ocamldoc requirements on building and installing LLVM
- [LLVMdev] OCAML and ocamldoc requirements on building and installing LLVM
- [LLVMdev] OCAML and ocamldoc requirements on buildingandinstalling LLVM
- [PATCH 1/2] ocaml: Use ocamlfind to run ocamldoc.