Skip to content

Instantly share code, notes, and snippets.

@ahogen
Created November 14, 2017 17:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahogen/374d577a86bce658c691773a5e383cf4 to your computer and use it in GitHub Desktop.
Save ahogen/374d577a86bce658c691773a5e383cf4 to your computer and use it in GitHub Desktop.
Build system-specific Julia image
# From: #7 http://www.stochasticlifestyle.com/7-julia-gotchas-handle/
Pkg.update()
if is_windows()
Pkg.add("WinRPM");
using WinRPM
WinRPM.install("gcc", yes=true)
WinRPM.install("winpthreads-devel", yes=true)
end
include(joinpath(dirname(JULIA_HOME),"share","julia","build_sysimg.jl")); build_sysimg(force=true)
@ahogen
Copy link
Author

ahogen commented Nov 14, 2017

I've only tried this on my Windows machine. Haven't tried Linux yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment