An Electron-based JLD2 data file viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

make.jl 552B

123456789101112131415161718192021
  1. using Pkg; Pkg.activate(@__DIR__); Pkg.instantiate()
  2. using PackageCompiler
  3. Pkg.activate(joinpath(@__DIR__, ".."), io=devnull)
  4. using JLD2View
  5. packages = :JLD2View
  6. sysimage_path = ARGS[1]
  7. @info("Creating system image",
  8. name=sysimage_path,
  9. packages)
  10. create_sysimage(
  11. packages,
  12. sysimage_path = sysimage_path,
  13. precompile_execution_file = joinpath(@__DIR__, "precomp.jl"),
  14. # Optional: generate a "portable" sysimage on x86-64 architectures
  15. cpu_target = "generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)",
  16. )