An Electron-based JLD2 data file viewer
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. )