userspace-rcu 0.9.1

This commit is contained in:
Tomasz Pajor 2015-12-21 09:47:18 +01:00 committed by Andrew Janke
parent 5dbe4952d3
commit 1526365979

View file

@ -1,8 +1,8 @@
class UserspaceRcu < Formula
desc "Library for userspace RCU (read-copy-update)"
homepage "https://lttng.org/urcu"
url "https://www.lttng.org/files/urcu/userspace-rcu-0.8.7.tar.bz2"
sha256 "b523f22c4726ca6bb77a77d258e76d8c33c89724433bd65313024b98e55c4295"
url "https://www.lttng.org/files/urcu/userspace-rcu-0.9.1.tar.bz2"
sha256 "f8d278e9d95bec97c9ba954fc4c3fb584936bc0010713a8fe358b916bafd8715"
bottle do
cellar :any
@ -21,6 +21,9 @@ class UserspaceRcu < Formula
args << "--build=#{Hardware::CPU.arch_64_bit}"
end
# workaround broken syscall.h detection
inreplace "urcu/syscall-compat.h", "defined(__sun__)", "defined(__APPLE__)"
system "./configure", *args
system "make"
system "make", "install"