Skip to content

Commit

Permalink
iozone 3.471
Browse files Browse the repository at this point in the history
Closes #18115.

Signed-off-by: ilovezfs <[email protected]>
  • Loading branch information
ilovezfs committed Oct 5, 2017
1 parent 66f57fb commit 2e5c8dc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Formula/iozone.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
class Iozone < Formula
desc "File system benchmark tool"
homepage "http://www.iozone.org/"
url "http://www.iozone.org/src/current/iozone3_469.tar"
sha256 "0a200ec12a5b631ffb0973665f80ad563c4b00eac2e71f8acbb5176969bb5ea8"
url "http://www.iozone.org/src/current/iozone3_471.tar"
sha256 "2dd29703c251044513069e0fdad0205e117ba846a0b54b45a93a684eda58c370"

bottle do
cellar :any_skip_relocation
sha256 "5182985c07c2fcdcfd5e8096c2d175e6999e9a91cd3bfe54235e103340f7ee36" => :sierra
sha256 "39b896d0dca83fffc160be9688514dd65b7d2ce9e593e8af465b5adeaa905241" => :el_capitan
end

# Remove for > 3.471
# Upstream fix for "fileop.c:127:6: error: expected parameter declarator"
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/7e8a57a/iozone/bzero.patch"
sha256 "0121dc8a43c99727d754c9c418ca79136cbf47f5713825d176f8e9f061401f2b"
end

def install
cd "src/current" do
system "make", "macosx", "CC=#{ENV.cc}"
Expand Down

0 comments on commit 2e5c8dc

Please sign in to comment.