Skip to content
  1. Oct 03, 2008
    • Jim Grosbach's avatar
      Add support for Canadian Cross builds where the host executables are not · 009db895
      Jim Grosbach authored
      runnable on the build machine.
      
      There are a few bits that need built for the build environment (TableGen).
      This patch builds those bits, and the associated libraries, for the build
      environment as well as the (usual) host environment.
      
      Thanks to Eric C. and Devang P. for pre-commit review.
      
      llvm-svn: 56975
      009db895
  2. May 29, 2008
  3. Mar 21, 2008
  4. Feb 28, 2008
  5. Dec 29, 2007
  6. Dec 13, 2007
  7. Sep 18, 2007
    • Gordon Henriksen's avatar
      Adding ocaml language bindings for the vmcore and bitwriter libraries. These are · 37582f74
      Gordon Henriksen authored
      built atop the C language bindings, and user programs can link with them as 
      such:
      
        # Bytecode
        ocamlc -cc g++ llvm.cma llvmbitwriter.cma -o example example.ml
        # Native
        ocamlopt -cc g++ llvm.cmxa llvmbitwriter.cmxa -o example.opt example.ml
      
      The vmcore.ml test exercises most/all of the APIs thus far bound. Unfortunately,
      they're not yet numerous enough to write hello world. But:
      
        $ cat example.ml
        (* example.ml *)
        
        open Llvm
        open Llvm_bitwriter
        
        let _ =
          let filename = Sys.argv.(1) in
          let m = create_module filename in
          
          let v = make_int_constant i32_type 42 false in
          let g = define_global "hello_world" v m in
          
          if not (write_bitcode_file m filename) then exit 1;
          
          dispose_module m;
      
        $ ocamlc -cc g++ llvm.cma llvm_bitwriter.cma -o example example.ml
        File "example.ml", line 11, characters 6-7:
        Warning Y: unused variable g.
        $ ./example example.bc
        $ llvm-dis < example.bc
        ; ModuleID = '<stdin>'
        @hello_world = global i32 42            ; <i32*> [#uses=0]
      
      The ocaml test cases provide effective tests for the C interfaces.
      
      llvm-svn: 42093
      37582f74
  8. Jul 12, 2007
    • David Greene's avatar
      · b2e2be4b
      David Greene authored
      Get rid of annoying spaces.
      
      llvm-svn: 39766
      b2e2be4b
  9. Jul 08, 2007
  10. Apr 15, 2007
  11. Mar 29, 2007
  12. Feb 21, 2007
  13. Feb 06, 2007
  14. Feb 05, 2007
  15. Nov 17, 2006
  16. Sep 04, 2006
  17. Aug 16, 2006
  18. Jul 26, 2006
  19. Jun 03, 2006
  20. Jun 01, 2006
  21. May 18, 2006
    • Reid Spencer's avatar
      Make some changes suggested by Chris: · a22a5b38
      Reid Spencer authored
      1. Remove the LLVM_DO_NOT_BUILD feature (not needed any more)
      2. Ensure that lib/VMCore gets built first. This needs to be done because
         VMCore now uses tblgen to generate the Intrinsics header which are
         needed in other libraries. In parallel builds, this can cause problems.
      
      llvm-svn: 28374
      a22a5b38
  22. Apr 12, 2006
  23. Apr 08, 2006
    • Reid Spencer's avatar
      Fix recursion: · 8ac50626
      Reid Spencer authored
      1. Make setting OPTIONAL_DIRS use immediate assignment
      2. Include Makefile.config before ifeq tests and then Makefile.rules later
         instead of Makefile.common up front. This ensures that the variable
         values are set before the ifeq statements in Makefile.rules are
         evaluated.
      With this, recursion into projects/examples is corrected.
      
      llvm-svn: 27519
      8ac50626
    • Reid Spencer's avatar
      Don't build projects/examples if libs-only was specified. · 4b22fdc9
      Reid Spencer authored
      llvm-svn: 27518
      4b22fdc9
  24. Apr 07, 2006
  25. Aug 25, 2005
    • Reid Spencer's avatar
      For PR614: · 53846bcd
      Reid Spencer authored
      Move the implementation of the fix from Makefile.rules to Makefile. This
      ensures that it is only checked on a top-level rebuild, and not in every
      single subdirectory. This removes some annoying messages from the build and
      numerous executions of config.status if the .in file changes but not
      substantively enough to cause the .h file to be modified by config.status.
      
      llvm-svn: 23039
      53846bcd
  26. May 29, 2005
  27. May 25, 2005
  28. May 24, 2005
    • Reid Spencer's avatar
      Two dist-check related changes: · 13f5193f
      Reid Spencer authored
      1. Allow DIST_CHECK_CONFIG_OPTION to specify a set of options to be passed
         to the configure script during the dist-check target. This allows things
         to be passed down on a project basis so the configure doesn't fail.
      
      2. Use the tar | (cd ; tar ) idiom to copy files which is more flexible
         than using the cp command. THis allows us to exclude CVS .svn
         directories at source rather than stripping them out of the tar ball.
      
      llvm-svn: 22166
      13f5193f
  29. Dec 06, 2004
  30. Dec 04, 2004
Loading