1. 14 May, 2018 1 commit
  2. 02 May, 2018 1 commit
  3. 29 Apr, 2018 1 commit
  4. 25 Apr, 2018 1 commit
    • Dennis Klein's avatar
      Install relocatable dylibs (MacOS) · 0dda6366
      Dennis Klein authored
      Problem: When building libzmq with CMake, the installed libzmq.dylib
        has a relative install name (otool -D libzmq.dylib) on MacOS. This
        is a regression against building via autotools which sets an
        absolute install name. Effectively, the CMake built libzmq.dylib
        is rendered useless if installed in non-system directories and
        used in environments without explicit DYLD_LIBRARY_PATH mgmt. For
        example running any of the installed executables currently fails:
        $ /some_install_prefix/bin/inproc_lat
        dyld: Library not loaded: libzmq.5.dylib
          Referenced from: /some_install_prefix/bin/inproc_lat
          Reason: image not found
        Trace/BPT trap: 5
      
      Solution: Best practice is to install relocatable dylibs.
        On MacOS this means setting an install name with a special prefix,
        e.g. @rpath/libzmq.dylib, and adding the relevant search paths
        to the embedded rpath list. In this patch the necessary CMake options
        are added to generate the desired relocatable dylibs. Find more
        information on: https://cmake.org/Wiki/CMake_RPATH_handling.
      0dda6366
  5. 04 Apr, 2018 1 commit
  6. 23 Mar, 2018 1 commit
  7. 21 Mar, 2018 2 commits
  8. 12 Mar, 2018 3 commits
  9. 02 Mar, 2018 1 commit
  10. 14 Feb, 2018 3 commits
  11. 13 Feb, 2018 1 commit
  12. 11 Feb, 2018 1 commit
  13. 02 Feb, 2018 2 commits
  14. 14 Jan, 2018 1 commit
  15. 13 Jan, 2018 3 commits
  16. 10 Jan, 2018 1 commit
  17. 09 Jan, 2018 1 commit
  18. 13 Dec, 2017 1 commit
  19. 12 Dec, 2017 1 commit
  20. 10 Dec, 2017 1 commit
    • Luca Boccassi's avatar
      Problem: static build broken on Win + CMake · 53e536a9
      Luca Boccassi authored
      Solution: revert the objects optimisation, and go back to building
      everything twice on Windows, as the static builds needs different
      preprocessor definitions from the shared one, so the objects have to be
      rebuilt.
      Keep the optimisation for all the other platforms.
      Fixes #2858
      53e536a9
  21. 06 Dec, 2017 1 commit
  22. 20 Nov, 2017 1 commit
  23. 18 Nov, 2017 1 commit
  24. 16 Oct, 2017 1 commit
    • f18m's avatar
      Background threads enhancements (#2778) · bfbb4ff2
      f18m authored
      * Background thread scheduling 
      
      - add ZMQ_THREAD_AFFINITY ctx option; set all thread scheduling options
      from the context of the secondary thread instead of using the main
      process thread context!
      - change ZMQ_THREAD_PRIORITY to support setting NICE of the background
      thread when using SCHED_OTHER
      bfbb4ff2
  25. 19 Aug, 2017 1 commit
  26. 18 Aug, 2017 1 commit
  27. 16 Aug, 2017 1 commit
  28. 31 Jul, 2017 1 commit
    • Brian Russell's avatar
      Add socket option BINDTODEVICE · b963542e
      Brian Russell authored
      Linux now supports Virtual Routing and Forwarding (VRF) as per:
      
      https://www.kernel.org/doc/Documentation/networking/vrf.txt
      
      In order for an application to bind or connect to a socket with an
      address in a VRF, they need to first bind the socket to the VRF device:
      
          setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, strlen(dev)+1);
      
      Note "dev" is the VRF device, eg. VRF "blue", rather than an interface
      enslaved to the VRF.
      
      Add a new socket option, ZMQ_BINDTODEVICE, to bind a socket to a device.
      In general, if a socket is bound to a device, eg. an interface, only
      packets received from that particular device are processed by the socket.
      
      If device is a VRF device, then subsequent binds/connects to that socket
      use addresses in the VRF routing table.
      b963542e
  29. 28 Jul, 2017 2 commits
  30. 14 Jun, 2017 1 commit
    • Iban Cereijo's avatar
      Problem: CMake evaluation fails with Mingw-w64 · d040dc18
      Iban Cereijo authored
      Solution: we can use 'CMAKE_SYSTEM_VERSION' instead of
      '${CMAKE_SYSTEM_VERSION}' for the 'if' clauses.
      
      CMake fails to evaluate condition when CMAKE_SYSTEM_VERSION is
      empty, which can happen with a default installation of Mingw-w64
      in Linux.
      d040dc18
  31. 20 May, 2017 1 commit
    • Tim Ebringer's avatar
      Suppress linker warning 4221 for MSVC · 293a1825
      Tim Ebringer authored
      Some #define switches cause the body of entire files to be omitted. This
      causes a linker warning on Visual Studio 2017, for example
      
          warning LNK4221: This object file does not define any previously
          undefined public symbols, so it will not be used by any link
          operation that consumes this library
      
      Since this is warning us about something that shouldn't be
      earth-shattering news, we add a linker flag to suppress this warning on
      MSVC builds.
      293a1825