Skip to content

Commit

Permalink
Update build.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ludvigak committed Apr 29, 2019
1 parent dfab503 commit b42c253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ buildfile = joinpath(rootdir, "lib", "libfinufft.so")

# "FFTWOMPSUFFIX=threads" because Conda doesn't supply libfftw3_omp
if Sys.KERNEL == :Darwin
buildcmd = `make lib/libfinufft.so LIBRARY_PATH=$lib CPATH=$inc FFTWOMPSUFFIX=threads CXX=g++-8 CC=gcc-8`
buildcmd = `make lib/libfinufft.so LIBRARY_PATH=$lib CPATH=$inc FFTWOMPSUFFIX=threads CXX=g++-8 CC=gcc-8 OMPLIBS=/usr/local/lib/libgomp.a`
else
buildcmd = `make lib/libfinufft.so LIBRARY_PATH=$lib CPATH=$inc FFTWOMPSUFFIX=threads`
end
Expand Down

0 comments on commit b42c253

Please sign in to comment.