[GH-ISSUE #799] macOS ARM build #633

Closed
opened 2026-05-05 06:48:51 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @torarnv on GitHub (Jul 17, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/799

I was able to build barrier's command line tools for Apple Silicone Mac's by doing:

CMAKE_OSX_ARCHITECTURES=arm64 cmake .. -DBARRIER_BUILD_GUI=OFF -DBARRIER_BUILD_INSTALLER=OFF

But I also had to manually comment out all the OpenSSL/SecureSocket stuff. Would be nice if the secure part was a build option, e.g. BARRIER_BUILD_SECURE_SOCKET=OFF

Originally created by @torarnv on GitHub (Jul 17, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/799 I was able to build barrier's command line tools for Apple Silicone Mac's by doing: `CMAKE_OSX_ARCHITECTURES=arm64 cmake .. -DBARRIER_BUILD_GUI=OFF -DBARRIER_BUILD_INSTALLER=OFF` But I also had to manually comment out all the OpenSSL/SecureSocket stuff. Would be nice if the secure part was a build option, e.g. `BARRIER_BUILD_SECURE_SOCKET=OFF`
Author
Owner

@shymega commented on GitHub (Jul 17, 2020):

Disabling OpenSSL would break the security aspect. It would make
Barrier plain text, and work would be required to make other Barrier
instances work with or without SSL (IIRC?), so no, I don't think this
will be possible. Apologies!

On this date - Fri, Jul 17, 2020 at 08:52:19AM -0700, Tor Arne Vestbø wrote:

I was able to build barrier's command line tools for Apple Silicone Mac's by doing:

CMAKE_OSX_ARCHITECTURES=arm64 cmake .. -DBARRIER_BUILD_GUI=OFF -DBARRIER_BUILD_INSTALLER=OFF

But I also had to manually comment out all the OpenSSL/SecureSocket stuff. Would be nice if the secure part was a build option, e.g. BARRIER_BUILD_SECURE_SOCKET=OFF

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/debauchee/barrier/issues/799

--
Kind regards,
Dom Rodriguez (shymega)

<!-- gh-comment-id:660261544 --> @shymega commented on GitHub (Jul 17, 2020): Disabling OpenSSL would break the security aspect. It would make Barrier plain text, and work would be required to make other Barrier instances work with or without SSL (IIRC?), so no, I don't think this will be possible. Apologies! On this date - Fri, Jul 17, 2020 at 08:52:19AM -0700, Tor Arne Vestbø wrote: > I was able to build barrier's command line tools for Apple Silicone Mac's by doing: > > `CMAKE_OSX_ARCHITECTURES=arm64 cmake .. -DBARRIER_BUILD_GUI=OFF -DBARRIER_BUILD_INSTALLER=OFF` > > But I also had to manually comment out all the OpenSSL/SecureSocket stuff. Would be nice if the secure part was a build option, e.g. `BARRIER_BUILD_SECURE_SOCKET=OFF` > > -- > You are receiving this because you are subscribed to this thread. > Reply to this email directly or view it on GitHub: > https://github.com/debauchee/barrier/issues/799 -- Kind regards, Dom Rodriguez (shymega)
Author
Owner

@torarnv commented on GitHub (Jul 17, 2020):

No worries, I realized I could just use the x86_64 package through Rosetta, which worked fine :)

<!-- gh-comment-id:660262078 --> @torarnv commented on GitHub (Jul 17, 2020): No worries, I realized I could just use the x86_64 package through Rosetta, which worked fine :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#633
No description provided.