summaryrefslogtreecommitdiff
path: root/homebrew/hwloc
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/hwloc')
-rw-r--r--homebrew/hwloc/.beer41
-rw-r--r--homebrew/hwloc/.make.sh-auto4
-rw-r--r--homebrew/hwloc/_metadata/description1
-rw-r--r--homebrew/hwloc/_metadata/homepage1
-rw-r--r--homebrew/hwloc/_metadata/name1
-rw-r--r--homebrew/hwloc/_metadata/version1
-rwxr-xr-xhomebrew/hwloc/download.sh1
7 files changed, 50 insertions, 0 deletions
diff --git a/homebrew/hwloc/.beer b/homebrew/hwloc/.beer
new file mode 100644
index 000000000..6871ac370
--- /dev/null
+++ b/homebrew/hwloc/.beer
@@ -0,0 +1,41 @@
+{
+ "name": "Hwloc",
+ "description": "Portable abstraction of the hierarchical topology of modern architectures",
+ "url": "https://www.open-mpi.org/software/hwloc/v2.0/downloads/hwloc-2.0.3.tar.bz2",
+ "mirror": null,
+ "homepage": "https://www.open-mpi.org/projects/hwloc/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--enable-shared\",",
+ "\"--enable-static\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--without-x\"",
+ "system \"make\", \"install\"",
+ "pkgshare.install \"tests\""
+ ],
+ "version": "2.0.3",
+ "file": "hwloc.rb"
+} \ No newline at end of file
diff --git a/homebrew/hwloc/.make.sh-auto b/homebrew/hwloc/.make.sh-auto
new file mode 100644
index 000000000..cc928109e
--- /dev/null
+++ b/homebrew/hwloc/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --enable-shared --enable-static --without-x
+make DESTDIR=${PKG_DEST} install
+pkgshare.install "tests"
diff --git a/homebrew/hwloc/_metadata/description b/homebrew/hwloc/_metadata/description
new file mode 100644
index 000000000..097a751ef
--- /dev/null
+++ b/homebrew/hwloc/_metadata/description
@@ -0,0 +1 @@
+Portable abstraction of the hierarchical topology of modern architectures
diff --git a/homebrew/hwloc/_metadata/homepage b/homebrew/hwloc/_metadata/homepage
new file mode 100644
index 000000000..b16c4c3c4
--- /dev/null
+++ b/homebrew/hwloc/_metadata/homepage
@@ -0,0 +1 @@
+https://www.open-mpi.org/projects/hwloc/
diff --git a/homebrew/hwloc/_metadata/name b/homebrew/hwloc/_metadata/name
new file mode 100644
index 000000000..7455b8d2b
--- /dev/null
+++ b/homebrew/hwloc/_metadata/name
@@ -0,0 +1 @@
+Hwloc
diff --git a/homebrew/hwloc/_metadata/version b/homebrew/hwloc/_metadata/version
new file mode 100644
index 000000000..50ffc5aa7
--- /dev/null
+++ b/homebrew/hwloc/_metadata/version
@@ -0,0 +1 @@
+2.0.3
diff --git a/homebrew/hwloc/download.sh b/homebrew/hwloc/download.sh
new file mode 100755
index 000000000..7def142ac
--- /dev/null
+++ b/homebrew/hwloc/download.sh
@@ -0,0 +1 @@
+wget https://www.open-mpi.org/software/hwloc/v2.0/downloads/hwloc-2.0.3.tar.bz2 \ No newline at end of file