Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-98714

Create custom macos toolchain to workaround bazel bugs

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • ALL
    • 200

      The macos default toolchain uses a wrapper script which causes hang by looping on RPATH x LIBS. Due to the large number of dynamic libraries we build and the large number of RPATH cc_* rules add by default, this times out our builds.

      Also bazels built in cc_shared_library rule will deduplicate user link flags, breaking any positional arguements such as -framework options.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: