Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add hwloc formula

  • Loading branch information...
commit f5135bbe197f22c3d2fe57d8d65f18d2c921c0eb 1 parent d3aac56
Dave Goodell authored
Showing with 17 additions and 0 deletions.
  1. +17 −0 Library/Formula/hwloc.rb
17 Library/Formula/hwloc.rb
View
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Hwloc < Formula
+ homepage 'http://www.open-mpi.org/projects/hwloc/'
+ url 'http://www.open-mpi.org/software/hwloc/v1.4/downloads/hwloc-1.4.2.tar.gz'
+ sha1 'b33421432071d1de638b16e06ad7eb5b8922a32c'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "lstopo"
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.