# PackageCompile system image for different computers

**URL:** <https://discourse.julialang.org/t/packagecompile-system-image-for-different-computers/47319>\
**Category:** New to Julia\
**Created:** [September 26, 2020, 3:14pm UTC](https://discourse.julialang.org/t/packagecompile-system-image-for-different-computers/47319 "2020-09-26T15:14:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [September 26, 2020, 10:33pm UTC](https://discourse.julialang.org/t/packagecompile-system-image-for-different-computers/47319/2 "2020-09-26T22:33:34Z")

</div>

related thread:

> [@Sysimage incompatible between Intel and AMD x86\_64?](https://discourse.julialang.org/t/sysimage-incompatible-between-intel-and-amd-x86-64/42716):
>
> I’m using PackageCompiler to provide colleagues with a batteries included package (Julia + pre-compiled Julia code) that they just unzip and run. This process worked perfectly so far for Intel based computers. Trying to run the package on a computer with AMD processor throws the error ERROR: Unable to find compatible target in system image. Julia is started like this: julia.exe -J "path\to\sysimage.dll". Is this to be expected? sysimage.dll is compiled on an Intel i5-8265U. The error occurs o…

TLDR: something like this should give you the same kind of portability as official julia images:

```julia
create_sysimage(..., cpu_target="generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)")

```

---

_[View the full topic](https://discourse.julialang.org/t/packagecompile-system-image-for-different-computers/47319)._
