1. 21 Apr, 2017 1 commit
  2. 19 Apr, 2017 1 commit
  3. 13 Apr, 2017 1 commit
  4. 12 Apr, 2017 2 commits
  5. 11 Apr, 2017 1 commit
  6. 08 Apr, 2017 1 commit
    • Bruno Cardoso Lopes's avatar
      libdispatch: Avoid submodules for headers that should not be included · 8de6d9ff
      Bruno Cardoso Lopes authored
      libdispatch has an umbrella header, dispatch.h, that should be used for
      including all of the other headers.  This is enforced via
      __DISPATCH_INDIRECT__.
      
      Since it isn't legal to include one of the other headers on their own,
      it isn't logical to have submodules for them.  Moreover, submodules
      *should* have local visibility (be unaware of the context they're
      included from); meaning that __DISPATCH_INDIRECT__ will never be
      defined.
      
      Logically, all of the headers are part of a single module/interface.
      
      Patch by me & Duncan P. Exon Smith
      8de6d9ff
  7. 05 Apr, 2017 1 commit
  8. 04 Apr, 2017 1 commit
    • Andrew Jeffery's avatar
      lock: Avoid use of undefined DISPATCH_INTERNAL_CRASH · d53fe63e
      Andrew Jeffery authored
      Building swift-corelibs-libdispatch on powerpc64le under Linux lead to
      the following build failure:
      
      	/bin/bash ../libtool  --tag=CXX   --mode=compile /home/ubuntu/swift-dev/build/buildbot_incremental/llvm-linux-powerpc64le/bin/clang++ -DHAVE_CONFIG_H -I. -I../config  -I.. -I.. -I../private -DDISPATCH_USE_DTRACE=0 -I../libpwq/include -Wall -fvisibility=hidden -momit-leaf-frame-pointer  -isystem /usr/include/bsd -DLIBBSD_OVERLAY  -fblocks -I../src/BlocksRuntime -std=gnu++11 -fno-exceptions -O2 -c -o libdispatch_la-block.lo `test -f 'block.cpp' || echo './'`block.cpp
      	libtool: compile:  /home/ubuntu/swift-dev/build/buildbot_incremental/llvm-linux-powerpc64le/bin/clang++ -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -DDISPATCH_USE_DTRACE=0 -I../libpwq/include -Wall -fvisibility=hidden -momit-leaf-frame-pointer -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -I../src/BlocksRuntime -std=gnu++11 -fno-exce
      	ptions -O2 -c block.cpp  -fPIC -DPIC -o .libs/libdispatch_la-block.o
      	In file included from block.cpp:32:
      	In file included from ./internal.h:628:
      	In file included from ./shims.h:171:
      	./shims/lock.h:550:3: error: use of undeclared identifier 'DISPATCH_INTERNAL_CRASH'
      			DISPATCH_INTERNAL_CRASH(errno, "sys_membarrier not supported");
      			^
      	1 error generated.
      	Makefile:701: recipe for target 'libdispatch_la-block.lo' failed
      	make[2]: *** [libdispatch_la-block.lo] Error 1
      	make[2]: Leaving directory '/home/ubuntu/swift-dev/swift-corelibs-libdispatch/src'
      	Makefile:541: recipe for target 'all' failed
      	make[1]: *** [all] Error 2
      	make[1]: Leaving directory '/home/ubuntu/swift-dev/swift-corelibs-libdispatch/src'
      	Makefile:457: recipe for target 'all-recursive' failed
      	make: *** [all-recursive] Error 1
      
      Include ordering in internal.h is tightly constrained, so open-code the macro
      to avoid the dependency problem.
      Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
      d53fe63e
  9. 03 Apr, 2017 1 commit
  10. 20 Mar, 2017 1 commit
  11. 10 Mar, 2017 3 commits
  12. 06 Mar, 2017 1 commit
    • Saleem Abdulrasool's avatar
      build: add a cmake based build system · ffe98c42
      Saleem Abdulrasool authored
      This is far from complete, but is sufficient to build a Linux version of
      libdispatch.  It shows what a potential cmake based build system could
      look like, and if desired can be completed to build all the various
      flavours with cmake.
      ffe98c42
  13. 26 Feb, 2017 2 commits
  14. 24 Feb, 2017 2 commits
  15. 23 Feb, 2017 2 commits
  16. 22 Feb, 2017 9 commits
  17. 21 Feb, 2017 10 commits