Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-41281

Couchbase Server arm64/aarch64 support for macOS

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Cheshire-Cat, 6.6.0
    • 7.2.0
    • build
    • 1

    Description

      With MacOS hardware moving from Intel x86 to Apple Silicon aka ARM,  we need to build a aarch64 MacOS version of Couchbase Server to enable developers to continue to use Couchbase Server in development environments. 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            My thinking was that part of supporting ARM/Mac is to handle the new ASM, having access to a machine with the same ASM could make that easier. I was not suggesting support or setting a whole new build system, more how does couchbase work on ARM/linux. Iron out the bumps before Mac Arm become the norm, like I said that's a easier platform to get access too.

            If you just want to play around with it yourself that's cool, but we wouldn't be doing anything infrastructure-related for that.

            I did try this out many moons ago.

            pvarley Patrick Varley added a comment - My thinking was that part of supporting ARM/Mac is to handle the new ASM, having access to a machine with the same ASM could make that easier. I was not suggesting support or setting a whole new build system, more how does couchbase work on ARM/linux. Iron out the bumps before Mac Arm become the norm, like I said that's a easier platform to get access too. If you just want to play around with it yourself that's cool, but we wouldn't be doing anything infrastructure-related for that. I did try this out many moons ago.

            The problem is that doing any useful testing would involve re-creating all the existing cbdeps packages (more than 20 of them); at least some of them will probably have severe issues building for Linux ARM. There's the requirement to create a new build toolchain image as well. As I said, it's a ton of work. It'll be a big enough pain doing all of that for MacOS ARM. That MacOS work is getting started already, FYI (likely with an SDK focus at first but all of the experience gained will play into Server work as well).

            ceej Chris Hillery added a comment - The problem is that doing any useful testing would involve re-creating all the existing cbdeps packages (more than 20 of them); at least some of them will probably have severe issues building for Linux ARM. There's the requirement to create a new build toolchain image as well. As I said, it's a ton of work. It'll be a big enough pain doing all of that for MacOS ARM. That MacOS work is getting started already, FYI (likely with an SDK focus at first but all of the experience gained will play into Server work as well).
            ming.ho Ming Ho added a comment -

            just fyi, I have provisioned 172.23.122.56.  This is the apple-transition-kit IT setup.  I have patched it with big sur 11.0 beta 9 & xcode 12.2-beta and installed homebrew packages for couchbase server.  it is hooked up to server.jenkins.couchbase.com in case if you want to access it.

            ming.ho Ming Ho added a comment - just fyi, I have provisioned 172.23.122.56.  This is the apple-transition-kit IT setup.  I have patched it with big sur 11.0 beta 9 & xcode 12.2-beta and installed homebrew packages for couchbase server.  it is hooked up to server.jenkins.couchbase.com in case if you want to access it.
            drigby Dave Rigby added a comment -

            Ian McCloy Would it be acceptable for macOS/arm64 support to require macOS 12.0 (Monterey)?

            I ask because that's currently the SDK version we target for macOS/arm64 - mostly due to some issues we hit with tests (e.g. MB-54725).

            drigby Dave Rigby added a comment - Ian McCloy Would it be acceptable for macOS/arm64 support to require macOS 12.0 (Monterey)? I ask because that's currently the SDK version we target for macOS/arm64 - mostly due to some issues we hit with tests (e.g. MB-54725 ).
            ianmccloy Ian McCloy added a comment -

            As a brand new platform, that's fine if there's genuine reasons for us to scope it this way. 

            ianmccloy Ian McCloy added a comment - As a brand new platform, that's fine if there's genuine reasons for us to scope it this way. 

            People

              ming.ho Ming Ho
              ianmccloy Ian McCloy
              Votes:
              5 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty