Skip to content

Commit 8d28c4b

Browse files
author
Avik Pal
authored
warn is a macro
1 parent 79b8ddd commit 8d28c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/build.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ if dl_info === nothing && unsatisfied
2727
# If we don't have a compatible .tar.gz to download, complain.
2828
# Alternatively, you could attempt to install from a separate provider,
2929
# build from source or something even more ambitious here.
30-
warn("Your platform (\"$(Sys.MACHINE)\", parsed as \"$(triplet(platform_key_abi()))\") is not supported by NNPACK!
31-
You will only be able to use only the default NNlib backend.")
30+
@warn "Your platform (\"$(Sys.MACHINE)\", parsed as \"$(triplet(platform_key_abi()))\") is not supported by NNPACK!
31+
You will only be able to use only the default NNlib backend."
3232
end
3333

3434
# If we have a download, and we are unsatisfied (or the version we're

0 commit comments

Comments
 (0)