Skip to content
This repository

add NFFT (non-equispaced FFT) based on FFTW #18059

Closed
wants to merge 1 commit into from

2 participants

Romain Bossart Jack Nagel
Romain Bossart

Should be good now.
What surprises me is that I had to delete my repo (on GitHub) and re-fork homebrew.

Well, if someone can explain me, or give me links to some documentation.

Thanks in advance,
Romain

Romain Bossart
Library/Formula/nfft.rb
... ...
@@ -0,0 +1,24 @@
  1
+require 'formula'
  2
+
  3
+# must compile with gcc, so 'brew install --use-llvm nfft'
  4
+# this installs headers and shared+static libnfft3 libraries
  5
+
1
Jack Nagel Owner
jacknagel added a note March 07, 2013

Remove comments (the fails_with :clang will automatically switch the compiler to llvm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Library/Formula/nfft.rb
((6 lines not shown))
  6
+class Nfft < Formula
  7
+  homepage 'http://www-user.tu-chemnitz.de/~potts/nfft'
  8
+  url 'http://www-user.tu-chemnitz.de/~potts/nfft/download/nfft-3.2.2.tar.gz'
  9
+  sha1 '68c0ebc258254d823a41ff9d599dd9914eb6f6df'
  10
+
  11
+  depends_on 'fftw'
  12
+
  13
+  fails_with :clang do
  14
+    build 425
  15
+    cause "dot+=conj(x[k])*x[k] compound not yet supported by clang"
  16
+  end
  17
+
  18
+  def install
  19
+    system "./configure", "--disable-debug", "--disable-dependency-tracking",
  20
+                          "--prefix=#{prefix}"
  21
+    system "make install" # compiles with gcc (the build can parallelize)
6
Jack Nagel Owner
jacknagel added a note March 07, 2013

Remove comment

Jack Nagel Owner
jacknagel added a note March 08, 2013

Preferably you ;)

Jack Nagel Owner
jacknagel added a note March 08, 2013

Squash to a single commit, force push to the branch to update the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Romain Bossart add NFFT (non-equispaced FFT) based on FFTW
remove comments in nfft.rb, as asked by J. Nagel
9dddf05
Romain Bossart

Change pull request to homebrew-science.
Will close this now.

Romain Bossart romainbossart closed this April 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 09, 2013
Romain Bossart add NFFT (non-equispaced FFT) based on FFTW
remove comments in nfft.rb, as asked by J. Nagel
9dddf05
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 21 additions and 0 deletions. Show diff stats Hide diff stats

  1. 21  Library/Formula/nfft.rb
21  Library/Formula/nfft.rb
... ...
@@ -0,0 +1,21 @@
  1
+require 'formula'
  2
+
  3
+class Nfft < Formula
  4
+  homepage 'http://www-user.tu-chemnitz.de/~potts/nfft'
  5
+  url 'http://www-user.tu-chemnitz.de/~potts/nfft/download/nfft-3.2.2.tar.gz'
  6
+  sha1 '68c0ebc258254d823a41ff9d599dd9914eb6f6df'
  7
+
  8
+  depends_on 'fftw'
  9
+
  10
+  fails_with :clang do
  11
+    build 425
  12
+    cause "dot+=conj(x[k])*x[k] compound not yet supported by clang"
  13
+  end
  14
+
  15
+  def install
  16
+    system "./configure", "--disable-debug", "--disable-dependency-tracking",
  17
+                          "--prefix=#{prefix}"
  18
+    system "make install" 
  19
+  end
  20
+
  21
+end
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.