parent
932bbfe59b
commit
8a7f7dff47
|
@ -1,10 +1,9 @@
|
||||||
class Boost < Formula
|
class Boost < Formula
|
||||||
desc "Collection of portable C++ source libraries"
|
desc "Collection of portable C++ source libraries"
|
||||||
homepage "https://www.boost.org/"
|
homepage "https://www.boost.org/"
|
||||||
url "https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.bz2"
|
url "https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2"
|
||||||
sha256 "953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb"
|
sha256 "f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41"
|
||||||
license "BSL-1.0"
|
license "BSL-1.0"
|
||||||
revision 3
|
|
||||||
head "https://github.com/boostorg/boost.git"
|
head "https://github.com/boostorg/boost.git"
|
||||||
|
|
||||||
livecheck do
|
livecheck do
|
||||||
|
@ -24,20 +23,6 @@ class Boost < Formula
|
||||||
uses_from_macos "bzip2"
|
uses_from_macos "bzip2"
|
||||||
uses_from_macos "zlib"
|
uses_from_macos "zlib"
|
||||||
|
|
||||||
# Reduce INTERFACE_LINK_LIBRARIES exposure for shared libraries. Remove with the next release.
|
|
||||||
patch do
|
|
||||||
url "https://github.com/boostorg/boost_install/commit/7b3fc734242eea9af734d6cd8ccb3d8f6b64c5b2.patch?full_index=1"
|
|
||||||
sha256 "cd96f5c51fa510fa6cd194eb011c0a6f9beb377fa2e78821133372f76a3be349"
|
|
||||||
directory "tools/boost_install"
|
|
||||||
end
|
|
||||||
|
|
||||||
# Fix build on 64-bit arm
|
|
||||||
patch do
|
|
||||||
url "https://github.com/boostorg/build/commit/456be0b7ecca065fbccf380c2f51e0985e608ba0.patch?full_index=1"
|
|
||||||
sha256 "e7a78145452fc145ea5d6e5f61e72df7dcab3a6eebb2cade6b4cfae815687f3a"
|
|
||||||
directory "tools/build"
|
|
||||||
end
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# Force boost to compile with the desired compiler
|
# Force boost to compile with the desired compiler
|
||||||
open("user-config.jam", "a") do |file|
|
open("user-config.jam", "a") do |file|
|
||||||
|
|
Loading…
Reference in New Issue