Skip to content

Commit 51177ec

Browse files
builds locally on osx!
1 parent b967e6f commit 51177ec

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
docs/build/
22
docs/site/
3-
deps/FastTransforms
3+
deps/build.log
4+
deps/libfasttransforms.*

deps/build.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
if Sys.isapple()
2+
const libfasttransforms = joinpath(dirname(@__DIR__), "deps", "libfasttransforms.dylib")
3+
download("https://github.com/MikaelSlevinsky/FastTransforms/releases/download/v0.2.3/libfasttransforms.dylib", libfasttransforms)
4+
else
5+
warn("Didn't build properly")
6+
end

src/libfasttransforms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Step 4: run `make` and check the tests by running `./test_drivers 3 3 0`.
1515
# All the errors should be roughly on the order of machine precision.
1616

17-
const libfasttransforms = joinpath(dirname(@__DIR__), "deps/FastTransforms", "libfasttransforms")
17+
const libfasttransforms = joinpath(dirname(@__DIR__), "deps", "libfasttransforms")
1818

1919
if !(find_library(libfasttransforms) libfasttransforms)
2020
error("FastTransforms is not properly installed. Please run Pkg.build(\"FastTransforms\") ",

0 commit comments

Comments
 (0)