Simon Danisch / Sep 03 2018

Makie Base 1.0

apt-get update
apt-get upgrade -y
apt-get install build-essential -y
apt-get install -y cmake mesa-utils
apt-get install -y libxrandr-dev libxinerama-dev libxcursor-dev mesa-utils
apt-get install -y ffmpeg
ENV["DISPLAY"] = ":0"
Pkg.pkg"add Makie ImageMagick"
Pkg.pkg"test Makie"
#using PackageCompiler
#userimg = Pkg.dir("Makie", "test", "precompile", "makie_precompile.jl")
#println(isfile(userimg))
#image_path = PackageCompiler.sysimg_folder()
#PackageCompiler.build_sysimg(image_path, userimg, compilecache = "yes")
# force sysimg
#using Libdl
#syspath = joinpath(PackageCompiler.default_sysimg_path(false), "sys.$(Libdl.dlext)")
#backup = syspath * ".packagecompiler_backup"
#mv(syspath, backup)
#imgfile = joinpath(image_path, "sys.$(Libdl.dlext)")
#cp(imgfile, syspath)