Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "cppzmq" 4.10.0 and a header only target for "libzmq" 4.3.5.bcr.1. #2425

Merged
merged 8 commits into from
Jul 15, 2024

Conversation

BYVoid
Copy link
Contributor

@BYVoid BYVoid commented Jul 13, 2024

The reasons why cppzmq does not depend on the full target of libzmq are:

  1. cppzmq is a header-only library, thus it should depend on headers only. Users of cppzmq should provide a libzmq independently, which may be another (locally patched) version.
  2. The current libzmq on Bazel registry does not build on Mac M1 (ARM).

BYVoid and others added 4 commits July 11, 2024 09:34
…on the operating system.

This change fixes the build on Mac OS X. According to the original CMakeLists.txt, "rt" is not linked on Mac OS X.

        if (NOT APPLE)
            set (WEBSOCKETPP_PLATFORM_LIBS pthread rt)
        else()
            set (WEBSOCKETPP_PLATFORM_LIBS pthread)
        endif()
The reasons why cppzmq does not depend on the full target of libzmq are:
1. cppzmq is a header-only library, thus it should depend on headers only. Users of cppzmq should provide a libzmq independently, which may be another (locally patched) version.
2. The current libzmq on Bazel registry does not build on Mac M1 (ARM).
@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (cppzmq, libzmq) have been updated in this PR. Please review the changes.

@Wyverald Wyverald added presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-url-stability-check Skip the URL stability check for the PR labels Jul 14, 2024
@meteorcloudy meteorcloudy merged commit 1140d84 into bazelbuild:main Jul 15, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-url-stability-check Skip the URL stability check for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants