Skip to content
  1. Feb 28, 2008
    • Gabor Greif's avatar
      Simplify and clean up "update" target. Also · 376d2ced
      Gabor Greif authored
      add an SVN-UPDATE-OPTIONS variable that controls
      the update behaviour. This allows to go to a common
      older revision of all svn directories:
      
        gmake update SVN-UPDATE-OPTIONS=-r47717
      
      would rewind both llvm and clang to a common
      revision (if clang is checked out into the llvm
      tree).
      
      llvm-svn: 47717
      376d2ced
    • Gabor Greif's avatar
      Now that targets are serialized, introduce · d71b410c
      Gabor Greif authored
      two new convenience targets:
      
      - update: svn update toplevel and try hard
                to locate updatable subdirectories
      					using cunning tricks
      - happiness: update then build and test
      
      so what one wants to do now is:
        nice gmake --jobs happiness
      
      Have fun!
      
      llvm-svn: 47716
      d71b410c
    • Gabor Greif's avatar
      Treat all targets serially at the toplevel. This allows · 76e7083f
      Gabor Greif authored
      to specify
        nice gmake --jobs all check
      and go to lunch, while a multiprocessor machine
      will build everything using spare resources
      and check the result thereafter.
      Since concurrency of make is not restricted
      in subdirectories, this should be a nearly
      optimal way to do it.
      
      Also teach the user about a configure switch.
      
      llvm-svn: 47715
      76e7083f
  2. Dec 29, 2007
  3. Dec 13, 2007
  4. 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
  5. Jul 12, 2007
    • David Greene's avatar
      · b2e2be4b
      David Greene authored
      Get rid of annoying spaces.
      
      llvm-svn: 39766
      b2e2be4b
  6. Jul 08, 2007
  7. Apr 15, 2007
  8. Mar 29, 2007
  9. Feb 21, 2007
  10. Feb 06, 2007
  11. Feb 05, 2007
  12. Nov 17, 2006
  13. Sep 04, 2006
  14. Aug 16, 2006
  15. Jul 26, 2006
  16. Jun 03, 2006
  17. Jun 01, 2006
  18. 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
  19. Apr 12, 2006
  20. 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
  21. Apr 07, 2006
  22. 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
  23. May 29, 2005
  24. May 25, 2005
  25. 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
  26. Dec 06, 2004
  27. Dec 04, 2004
  28. Nov 29, 2004
  29. Nov 25, 2004
Loading