Skip to content

wabt does not build on Apple M1 computers #1688

Closed

Description

@raydelto

I'm trying to build wabt on an apple M1 computer running Big Sur 11.3.1 and I get this error message:

CMake Warning at CMakeLists.txt:197 (message):
Unknown target architecture!

Activity

  1. Sentinent commented on Feb 5, 2022

    @Sentinent

    Looks like file is reporting dummy: Mach-O 64-bit executable arm64 which doesn't match the ARM line. Relevant line (since MATCH is case sensitive). A dumb workaround that worked for me was just changing
    elseif (${FILE_OUTPUT} MATCHES "ARM") => elseif (${FILE_OUTPUT} MATCHES "ARM" OR ${FILE_OUTPUT} MATCHES "arm").

  2. added a commit that references this issue on Sep 28, 2022
    623fe37
  3. added a commit that references this issue on Dec 16, 2022
    f702e8c
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