File tree 1 file changed +23
-4
lines changed
1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,27 @@ importantly, Swift is designed to make writing and maintaining
62
62
correct programs easier for the developer.
63
63
```
64
64
65
+ ### RPM Naming Convention:
66
+
67
+ Package naming convention: ` swiftlang-<VERSION>-<RELEASE>.<DIST>.<ARCH>.rpm `
68
+ Pakcage structure: ` /repo/<OS>/releases/<OS_VERSION>/<ARCH>/ `
69
+ Repository configuration: ` /repo/<OS>/releases/<OS_VERSION>/swiftlang.repo `
70
+
71
+
72
+ #### Example
73
+
74
+ ** Package structure:**
75
+ ```
76
+ /repo/centos/releases/8/x86_64/swiftlang-5.5.0-1.el8.x86_64.rpm
77
+ /repo/centos/releases/8/aarch64/swiftlang-5.5.0-1.el8.aarch64.rpm
78
+ ```
79
+
80
+ ** Package URL:**
81
+ https://download.swift.org/repo/centos/releases/8/aarch64/swiftlang-5.5.0-1.el8.aarch64.rpm
82
+
83
+ ** Repository configuration file URL:**
84
+ https://download.swift.org/repo/centos/releases/8/swiftlang.repo
85
+
65
86
## Tasks
66
87
67
88
### RPM Package Manager (RPM)*
@@ -96,13 +117,11 @@ correct programs easier for the developer.
96
117
* Option 1: Diverge the install location between platform to best fit the platform requirements.
97
118
* symlink the toolchain into /usr/ to avoid conflicting with llvm.org binaries.
98
119
* Option 2: Install in /usr and rename llvm-project binaries (example: swift-lldb/lldb-swift ...)
99
- * [GitHub discussion](https://github.com/apple/swift-installer-scripts/pull/37#discussion_r726707320)
120
+ * [GitHub discussion](https://github.com/apple/swift-installer-scripts/pull/37#discussion_r726707320)
100
121
* Should we support multiple swiftlang versions on the system?
101
122
* Multiple packages:
102
123
* swiftlang
103
- * swiftlang-runtime
104
-
105
-
124
+ * swiftlang-runtime
106
125
107
126
## Contributing
108
127
You can’t perform that action at this time.
0 commit comments