Skip to content

Building for mac m1(arm) #1708

Description

@hellozyemlya

Hello. I am trying to build CppSharp for mac m1, I use following commands

 1026  ./build.sh build_llvm --platform osx-arm64
 1027  ./build.sh package_llvm --platform osx-arm64
 1028  ./build.sh generate -configuration Release -platform osx-arm64

the last command failed with:

eugenechekanskiy@MacBook-Pro-Eugene build % ./build.sh generate -configuration Release -platform osx-arm64
Archive llvm-791523-macosx-osx-arm64-Release.tar.xz already exists.
Using debug LLVM build: /Users/eugenechekanskiy/Develop/CppSharp/build/llvm/llvm-791523-macosx-osx-arm64-Debug
Using release LLVM build: /Users/eugenechekanskiy/Develop/CppSharp/build/llvm/llvm-791523-macosx-osx-arm64-Release
Error: invalid value 'osx-arm64' for option 'arch'

What is the proper platform keys for each of building steps?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions