1. 26 Sep, 2018 1 commit
  2. 16 Mar, 2018 1 commit
    • Jan Sarenik's avatar
      Makefile: Fix asort multiple definition error · 7a75cff7
      Jan Sarenik authored
      Error I experienced on Alpine Linux without this patch:
      
          In file included from ccan/generator/generator.c:8:0:
          ./ccan/generator/generator.h:23:2: error: #error Generators require coroutines
           #error Generators require coroutines
            ^~~~~
          make: *** [Makefile:32: ccan/generator/generator.o] Error 1
      7a75cff7
  3. 31 Mar, 2017 1 commit
  4. 15 Mar, 2017 1 commit
    • Rusty Russell's avatar
      Makefile: fix fastcheck. · 0ea6a212
      Rusty Russell authored
      commit 25b7406d tried to make the tests
      depend on the info file, but that broke .fast.ok, which used the same
      pattern:
      
      	%.ok: $(LINT) %info
      
      This is what happens when you're too tricky!  Simply duplicate the rule,
      and change .fast.ok to .fast-ok so it doesn't match both.
      Signed-off-by: 's avatarRusty Russell <rusty@rustcorp.com.au>
      0ea6a212
  5. 18 Jan, 2017 1 commit
    • David Gibson's avatar
      ccanlint: Allow path to gcov to be overriden · d1827b42
      David Gibson authored
      Currently ccanlint always assumes that the coverage tool can be
      invoked under the command "gcov".
      
      However, the coverage tool generally needs to be closely matched to
      the compiler version.  So, the current behaviour won't work with
      compilers other than gcc, like clang.  It won't even work for a gcc
      version which isn't the standard system one matching gcov.
      
      To address this, allow the command for the coverage tool to be
      overridden on the ccanlint command line with a new --gcov option.  We
      also allow it to be overridden for make check with a GCOV make
      variable.
      Signed-off-by: 's avatarDavid Gibson <david@gibson.dropbear.id.au>
      d1827b42
  6. 24 Dec, 2016 1 commit
  7. 22 Nov, 2016 1 commit
  8. 21 Nov, 2016 1 commit
  9. 30 Sep, 2016 1 commit
  10. 21 Sep, 2016 1 commit
    • Jon Griffiths's avatar
      Makefile: First try at rewriting the ccan Makefile. · 2ee3b7c5
      Jon Griffiths authored
      This change contains a simpler Makefile replacement with only 62 lines
      of directives, 10 rules, and a 13 line support script for dependencies. The
      build dependencies have been minimised and in some cases, corrected.
      
      FEATURES:
      * All targets can be built from a clean tree in one invocation.
      * Parallel builds (tested with -j32 on 8 cores).
      * Auto discovery of modules via _info files.
      * Hopefully complete dependencies via a simplified generator.
      * CFLAGS are respected and appended to compile flags.
      * LINTFLAGS can be set to add check options (e.g. LINTFLAGS=-v).
      * 'make clean' doesn't build anything before cleaning now.
      * 'make quiet=1' builds quietly. 'make check quiet=1 -j N' produces
        summary output like the former summary target.
      * Non-phony test targets; tests are rebuilt only when dirty. Targets are:
        check, fastcheck and fullcheck, the latter runs in non-summary mode.
      * 'make <module>.[check|fastcheck|fullcheck]' runs tests for single modules.
      
      TODO:
      * Support Makefile-web and any other scattered targets
      
      NOTES:
      * The changes to dependency generation expose a circular
        dependency between asort and order which is not fixed here.
      * Tests always run their dependent tests. With -j support and
        minimised rebuilds via tighter dependencies, its not worth avoiding.
      * Some targets have been dropped as uneeded (e.g. distclean, tools).
      Signed-off-by: 's avatarJon Griffiths <jon_p_griffiths@yahoo.com>
      2ee3b7c5
  11. 09 May, 2016 2 commits
  12. 29 Apr, 2016 2 commits
    • David Gibson's avatar
      Clean up use of 'rm' in Makefiles · f1f32a2f
      David Gibson authored
      Most of the ccan Makefiles use $(RM) to remove files.  However, 'rm' is
      traditionally considered one of the few shell tools which can be used in
      Makefiles without indirecting via a variable.
      
      rm is also typically invoked with -f in Makefiles, so that it doesn't cause
      errors if the files don't exist (because they haven't been built).  A
      number of instances in ccan were missing this.
      
      This corrects these warts.
      Signed-off-by: 's avatarDavid Gibson <david@gibson.dropbear.id.au>
      f1f32a2f
    • David Gibson's avatar
      Add missing files to make clean · 0e46d8c0
      David Gibson authored
      At present, "make clean" will not remove the module-Makefile files for
      non-top-level modules.  It also won't remove the generated config.h.
      Correct those errors.
      Signed-off-by: 's avatarDavid Gibson <david@gibson.dropbear.id.au>
      0e46d8c0
  13. 26 Apr, 2016 2 commits
  14. 27 May, 2015 1 commit
  15. 23 Oct, 2014 1 commit
    • Chris McCormick's avatar
      Changed the look of the website. Added a new logo design (source SVG... · 08f71340
      Chris McCormick authored
      Changed the look of the website. Added a new logo design (source SVG included). Fixed an issue with junkcode prefix not being set (broken links and images on current site). Removed /tmp/ccan in clean as it was preventing 'make webpages' running twice. Brought the HTML closer to standards compliance (doctype, encoding). Added meta tag for mobile device browsers to render nicely.
      08f71340
  16. 01 Apr, 2013 1 commit
  17. 06 Feb, 2013 1 commit
  18. 03 Dec, 2012 1 commit
  19. 22 Nov, 2012 4 commits
  20. 21 Nov, 2012 2 commits
  21. 27 Mar, 2012 1 commit
  22. 02 Dec, 2011 1 commit
  23. 05 Oct, 2011 1 commit
  24. 23 Sep, 2011 1 commit
  25. 30 Aug, 2011 1 commit
    • Rusty Russell's avatar
      Makefile: speed fastcheck · 8a6147a9
      Rusty Russell authored
      Rather than timeout, explicitly disable tests_pass_valgrind and
      tests_compile_coverage.  This is important now we run under valgrind
      the first time we run the tests, thus would always time out and not
      run most of the tests at all!
      
      "make check" takes 7m57s, old "make fastcheck" takes 3m28s, and this takes
      only 1m57s, but much more is run (as shown by the larger score total).
      8a6147a9
  26. 08 Jan, 2011 1 commit
  27. 10 Nov, 2010 1 commit
  28. 03 Nov, 2010 2 commits
  29. 26 Oct, 2010 1 commit
  30. 16 Aug, 2010 1 commit
  31. 09 Apr, 2010 2 commits