You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/devdocs/pkgimg.md
+1-13Lines changed: 1 addition & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,7 @@ To that effect we link with `-undefined dynamic_lookup`.
36
36
37
37
Similar to [multi-versioning](@ref sysimg-multi-versioning) for system images, package images support multi-versioning. This allows creating package caches that can run efficiently on different CPU architectures within the same environment.
38
38
39
-
### Usage and constraints
40
-
41
-
Package images can only target the same or more specific CPU features than their base system image. This constraint ensures compatibility and prevents runtime errors.
42
-
43
-
To enable multi-versioning for package images, set the [`JULIA_CPU_TARGET`](@ref JULIA_CPU_TARGET) environment variable when building packages:
44
-
45
-
```bash
46
-
# Create multi-versioned package images for generic and optimized targets
47
-
export JULIA_CPU_TARGET="generic;haswell"
48
-
49
-
# For heterogeneous environments, use generic to ensure broad compatibility
50
-
export JULIA_CPU_TARGET="generic"
51
-
```
39
+
See the [`JULIA_CPU_TARGET`](@ref JULIA_CPU_TARGET) environment variable for more information on how to set the CPU target for package images.
52
40
53
41
## Flags that impact package image creation and selection
0 commit comments