Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Fix build without compiled modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Nov 14, 2017
1 parent 4e5e352 commit eddd27a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ function main()
# NOTE: we need to do this manually, as the package will load & precompile after
# not having loaded a nonexistent ext.jl in the case of a failed build,
# causing it not to precompile after a subsequent successful build.
Base.compilecache("CUDAdrv")
if VERSION >= v"0.7.0-DEV.1735" ? Base.JLOptions().use_compiled_modules==1 :
Base.JLOptions().use_compilecache==1
Base.compilecache("CUDAdrv")
end

return
end
Expand Down

0 comments on commit eddd27a

Please sign in to comment.