Skip to content

Commit 06b6dba

Browse files
use download in using to see if test exists
1 parent c3c989e commit 06b6dba

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

deps/build.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
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)
2+
#const libfasttransforms = joinpath(dirname(@__DIR__), "deps", "libfasttransforms.dylib")
3+
#download("https://github.com/MikaelSlevinsky/FastTransforms/releases/download/v0.2.3/libfasttransforms.dylib", libfasttransforms)
44
else
55
warn("Didn't build properly")
66
end

src/libfasttransforms.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
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+
if Sys.isapple()
18+
const libfasttransforms = joinpath(dirname(@__DIR__), "deps", "libfasttransforms.dylib")
19+
test = download("https://github.com/MikaelSlevinsky/FastTransforms/releases/download/v0.2.3/libfasttransforms.dylib", libfasttransforms)
20+
println(test)
21+
else
22+
warn("Didn't build properly")
23+
end
24+
1725
if Sys.isapple()
1826
const libfasttransforms = joinpath(dirname(@__DIR__), "deps", "libfasttransforms.dylib")
1927

0 commit comments

Comments
 (0)