Skip to content

Remove set(CMAKE_OSX_ARCHITECTURES "x86_64") on MacOS#6162

Merged
mjjbell merged 1 commit intoProject-OSRM:masterfrom
nikmikov:bugfix/fix-build-arm-mac
Jan 9, 2022
Merged

Remove set(CMAKE_OSX_ARCHITECTURES "x86_64") on MacOS#6162
mjjbell merged 1 commit intoProject-OSRM:masterfrom
nikmikov:bugfix/fix-build-arm-mac

Conversation

@nikmikov
Copy link
Copy Markdown
Contributor

@nikmikov nikmikov commented Nov 28, 2021

Issue

When building on MacOS with M1 based ARM cpu build is failing at linking stage

Removing forced x86_64 arch in CMakeLists.txt fixes the build

Tested on: MacOS 12.0.1 with M1 Max CPU

Tasklist

Requirements / Relations

None

@mjjbell
Copy link
Copy Markdown
Member

mjjbell commented Nov 30, 2021

Looks like CI is failing with an unrelated issue for the 32 bit build.

@mjjbell mjjbell merged commit c0b79a8 into Project-OSRM:master Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants