parent
39c871b69e
commit
4a963b3710
|
@ -1,9 +1,9 @@
|
|||
class Boost < Formula
|
||||
desc "Collection of portable C++ source libraries"
|
||||
homepage "https://www.boost.org/"
|
||||
url "https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.bz2"
|
||||
mirror "https://dl.bintray.com/homebrew/mirror/boost_1_74_0.tar.bz2"
|
||||
sha256 "83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1"
|
||||
url "https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.bz2"
|
||||
mirror "https://dl.bintray.com/homebrew/mirror/boost_1_75_0.tar.bz2"
|
||||
sha256 "953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb"
|
||||
license "BSL-1.0"
|
||||
head "https://github.com/boostorg/boost.git"
|
||||
|
||||
|
@ -81,19 +81,6 @@ class Boost < Formula
|
|||
system "./b2", *args
|
||||
end
|
||||
|
||||
def caveats
|
||||
s = ""
|
||||
# ENV.compiler doesn't exist in caveats. Check library availability
|
||||
# instead.
|
||||
if Dir["#{lib}/libboost_log*"].empty?
|
||||
s += <<~EOS
|
||||
Building of Boost.Log is disabled because it requires newer GCC or Clang.
|
||||
EOS
|
||||
end
|
||||
|
||||
s
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"test.cpp").write <<~EOS
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
|
Loading…
Reference in New Issue