arm64/aarch64 support for macOS

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 6.0.0-rc0
    • Affects Version/s: 4.4.0
    • Component/s: Build
    • Fully Compatible
    • Dev Platform 2022-04-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Looks like mongodb 4.4.0 supports x86_64 on Linux and macOS, and arm64/aarch64 on Linux but not yet on macOS; I get this error:

      <built-in>:1:10: fatal error: 'js-confdefs.h' file not found
      #include "js-confdefs.h"
       ^~~~~~~~~~~~~~~

      I see lots of js-confdefs.h files, just not in an aarch64/macOS directory:

      % find . -name js-confdefs.h
      ./src/third_party/mozjs-60/platform/ppc64le/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/s390x/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/aarch64/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/macOS/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/freebsd/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/windows/build/js-confdefs.h

      So we need to add a ./src/third_party/mozjs-60/platform/aarch64/macOS directory with all of its contents. I can try to do it, if you'll let me know how the existing directories were created.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Ryan Schmidt
            Votes:
            14 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved: