forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pocl.rb
24 lines (21 loc) · 905 Bytes
/
pocl.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Pocl < Formula
desc "MIT-licensed open source implementation of the OpenCL standard"
homepage "https://pocl.sourceforge.io/"
url "https://downloads.sourceforge.net/project/pocl/pocl-0.14.tar.gz"
sha256 "2127bf925a91fbbe3daf2f1bac0da5c8aceb16e2a9434977a3057eade974106a"
bottle do
sha256 "e840d7622cc3a4e2991cee46438f4338d3d792b880df87fd997f495c977c4fde" => :sierra
sha256 "750fd4166e8cddc574d57e283eec0d7a2e8fa50831c42d6e24a5f989fbe2e9b8" => :el_capitan
sha256 "0c57dd7d46167d461626abf00d3635cdd39086bda540c84bffd85c99fad7d2de" => :yosemite
sha256 "6a531d396319978d4c69ba6315832b3c23ee27aedb2b4296836c7c239d319a8f" => :x86_64_linux
end
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "llvm"
depends_on "hwloc"
depends_on "libtool" => :run
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
end