Skip to content

Commit

Permalink
boost-mpi: Fix build on Apple silicon
Browse files Browse the repository at this point in the history
Patch Boost's build system to build cleanly on Apple silicon. This is
a port of PR #59257 that fixes the main boost package.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
  • Loading branch information
andysan authored and BrewTestBot committed Jan 5, 2021
1 parent e9d789c commit 8066179
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Formula/boost-mpi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ class BoostMpi < Formula
depends_on "boost"
depends_on "open-mpi"

# Fix build system issues on Apple silicon. This change has aleady
# been merged upstream, remove this patch once it lands in a release.
patch do
url "https://github.com/boostorg/build/commit/456be0b7ecca065fbccf380c2f51e0985e608ba0.patch?full_index=1"
sha256 "e7a78145452fc145ea5d6e5f61e72df7dcab3a6eebb2cade6b4cfae815687f3a"
directory "tools/build"
end

def install
# "layout" should be synchronized with boost
args = %W[
Expand Down

0 comments on commit 8066179

Please sign in to comment.