Skip to content

Commit e2907e7

Browse files
committed
Update python packaging documentation to reflect changes to sym/hardlinking
1 parent 445a203 commit e2907e7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/packaging/python_packaging.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ We generate three types of packages:
2525
a relative binary).
2626
- Devel package: The `rocm-sdk-devel` package is the catch-all for everything.
2727
For any file already populated in a runtime package, it will include it as
28-
a relative symlink (also rewriting shared library soname links as needed).
29-
Since symlinks and non-standard attributes cannot be included in a wheel file,
30-
the platform contents are stored in a `_devel.tar` or `_devel.tar.xz` file.
31-
The installed package is extended in response to requesting a path to it
28+
a relative symlink in the tarball. During extraction, file symlinks are
29+
converted to hardlinks to improve compatibility, while directory symlinks
30+
remain as symlinks. Shared library soname links are also rewritten as needed.
31+
Since symlinks/hardlinks and non-standard attributes cannot be included in a
32+
wheel file, the platform contents are stored in a `_devel.tar` or `_devel.tar.xz`
33+
file. The installed package is extended in response to requesting a path to it
3234
via the `rocm-sdk` tool.
3335

3436
Runtime packages can either be target neutral or target specific. Target specific

0 commit comments

Comments
 (0)