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

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@bosr

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

@bosr
@jacknagel jacknagel commented on an outdated diff Mar 7, 2013
Library/Formula/nfft.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+# must compile with gcc, so 'brew install --use-llvm nfft'
+# this installs headers and shared+static libnfft3 libraries
+
@jacknagel
jacknagel Mar 7, 2013

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

@jacknagel jacknagel and 1 other commented on an outdated diff Mar 7, 2013
Library/Formula/nfft.rb
+class Nfft < Formula
+ homepage 'http://www-user.tu-chemnitz.de/~potts/nfft'
+ url 'http://www-user.tu-chemnitz.de/~potts/nfft/download/nfft-3.2.2.tar.gz'
+ sha1 '68c0ebc258254d823a41ff9d599dd9914eb6f6df'
+
+ depends_on 'fftw'
+
+ fails_with :clang do
+ build 425
+ cause "dot+=conj(x[k])*x[k] compound not yet supported by clang"
+ end
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install" # compiles with gcc (the build can parallelize)
@jacknagel
jacknagel Mar 7, 2013

Remove comment

@bosr
bosr Mar 8, 2013
@jacknagel
jacknagel Mar 8, 2013

Preferably you ;)

@bosr
bosr Mar 8, 2013
@jacknagel
jacknagel Mar 8, 2013

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

@bosr
bosr Mar 9, 2013
Romain Bossart add NFFT (non-equispaced FFT) based on FFTW
remove comments in nfft.rb, as asked by J. Nagel
9dddf05
@bosr

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

@bosr bosr closed this Apr 18, 2013
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.