Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 792dabe

Browse files
committed
READMEs update for 8.3.0-2.2
1 parent 4eec964 commit 792dabe

File tree

3 files changed

+49
-45
lines changed

3 files changed

+49
-45
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
Releases in reverse chronological order.
55

6+
### 2020-10-13
7+
8+
- v8.3.0-2.2 released
9+
610
### 2020-10-11
711

812
- v8.3.0-2.2 prepared

README-BUILD.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ for new releases
134134
### Identify the main GCC version
135135

136136
Determine the GCC version (like `8.3.0`) and update the `scripts/VERSION`
137-
file; the format is `8.3.0-2.1`. The fourth digit is the number of the
137+
file; the format is `8.3.0-2.2`. The fourth digit is the number of the
138138
SiFive release of the same GCC version, and the fifth digit is the xPack
139139
GNU RISC-V Embedded GCC release number of this version.
140140

@@ -184,7 +184,7 @@ In both cases:
184184

185185
- push the two modified branches (like `sifive-binutils-2.32` and
186186
`sifive-binutils-2.32-xpack`)
187-
- add a tag with the current version (like `v8.3.0-2.1`), and push
187+
- add a tag with the current version (like `v8.3.0-2.2`), and push
188188
it to `origin`
189189

190190
- copy/paste the branch name and commit id tp common-versions-source.sh
@@ -229,7 +229,7 @@ In both cases:
229229

230230
- push the two modified branches (like `sifive-gcc-8.3.0` and
231231
`sifive-gcc-8.3.0-xpack`)
232-
- add a tag with the current version (like `v8.3.0-2.1`), and push
232+
- add a tag with the current version (like `v8.3.0-2.2`), and push
233233
it to `origin`.
234234

235235
### Update newlib
@@ -266,7 +266,7 @@ In both cases:
266266

267267
- push the two modified branches (like `sifive--master` and
268268
`sifive--master-xpack`)
269-
- add a tag with the current version (like `v8.3.0-2.1`), and push
269+
- add a tag with the current version (like `v8.3.0-2.2`), and push
270270
it to `origin`.
271271

272272
### Update gdb
@@ -281,13 +281,13 @@ For GDB, it is a bit tricky, since it must identify the GNU code in line
281281
with what was used by SiFive; create a branch like `sifive-gdb-8.3`
282282

283283
- branch it into `sifive-gdb-8.3-xpack` and edit the prefix code
284-
- add a tag like `v8.3.0-2.1-gdb`
284+
- add a tag like `v8.3.0-2.2-gdb`
285285

286286
### Update container-build.sh
287287

288288
- add a new set of definitions in the `scripts/container-build.sh`, with
289289
the versions of various components;
290-
- update `GH_RELEASE` to the new version (like `8.3.0-2.1`, without `v`)
290+
- update `GH_RELEASE` to the new version (like `8.3.0-2.2`, without `v`)
291291
- in [SiFive Releases](https://github.com/sifive/freedom-tools/releases)
292292
for new releases
293293
- identify the tag of the latest release (like `v2019.08.0`)
@@ -398,14 +398,14 @@ their SHA signatures, created in the `deploy` folder:
398398
```console
399399
$ ls -l ~/Work/riscv-none-embed-gcc-*/deploy
400400
total 1346668
401-
-rw-rw-r-- 1 ilg ilg 347985751 Oct 10 14:22 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-x32.tar.gz
402-
-rw-rw-r-- 1 ilg ilg 120 Oct 10 14:22 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-x32.tar.gz.sha
403-
-rw-rw-r-- 1 ilg ilg 343458303 Oct 10 11:55 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-x64.tar.gz
404-
-rw-rw-r-- 1 ilg ilg 120 Oct 10 11:55 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-x64.tar.gz.sha
405-
-rw-rw-r-- 1 ilg ilg 337016277 Oct 10 14:58 xpack-riscv-none-embed-gcc-8.3.0-2.1-win32-x32.zip
406-
-rw-rw-r-- 1 ilg ilg 117 Oct 10 14:58 xpack-riscv-none-embed-gcc-8.3.0-2.1-win32-x32.zip.sha
407-
-rw-rw-r-- 1 ilg ilg 350502092 Oct 10 12:28 xpack-riscv-none-embed-gcc-8.3.0-2.1-win32-x64.zip
408-
-rw-rw-r-- 1 ilg ilg 117 Oct 10 12:28 xpack-riscv-none-embed-gcc-8.3.0-2.1-win32-x64.zip.sha
401+
-rw-rw-r-- 1 ilg ilg 347985751 Oct 10 14:22 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-x32.tar.gz
402+
-rw-rw-r-- 1 ilg ilg 120 Oct 10 14:22 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-x32.tar.gz.sha
403+
-rw-rw-r-- 1 ilg ilg 343458303 Oct 10 11:55 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-x64.tar.gz
404+
-rw-rw-r-- 1 ilg ilg 120 Oct 10 11:55 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-x64.tar.gz.sha
405+
-rw-rw-r-- 1 ilg ilg 337016277 Oct 10 14:58 xpack-riscv-none-embed-gcc-8.3.0-2.2-win32-x32.zip
406+
-rw-rw-r-- 1 ilg ilg 117 Oct 10 14:58 xpack-riscv-none-embed-gcc-8.3.0-2.2-win32-x32.zip.sha
407+
-rw-rw-r-- 1 ilg ilg 350502092 Oct 10 12:28 xpack-riscv-none-embed-gcc-8.3.0-2.2-win32-x64.zip
408+
-rw-rw-r-- 1 ilg ilg 117 Oct 10 12:28 xpack-riscv-none-embed-gcc-8.3.0-2.2-win32-x64.zip.sha
409409
```
410410

411411
To copy the files from the build machine to the current development
@@ -485,10 +485,10 @@ archives and their SHA signatures, created in the `deploy` folder:
485485
```console
486486
$ ls -l ~/Work/riscv-none-embed-gcc-*/deploy
487487
total 667980
488-
-rw-rw-r-- 1 ilg ilg 343409720 Oct 10 14:55 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-arm64.tar.gz
489-
-rw-rw-r-- 1 ilg ilg 122 Oct 10 14:55 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-arm64.tar.gz.sha
490-
-rw-rw-r-- 1 ilg ilg 340579759 Oct 10 22:10 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-arm.tar.gz
491-
-rw-rw-r-- 1 ilg ilg 120 Oct 10 22:10 xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-arm.tar.gz.sha
488+
-rw-rw-r-- 1 ilg ilg 343409720 Oct 10 14:55 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-arm64.tar.gz
489+
-rw-rw-r-- 1 ilg ilg 122 Oct 10 14:55 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-arm64.tar.gz.sha
490+
-rw-rw-r-- 1 ilg ilg 340579759 Oct 10 22:10 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-arm.tar.gz
491+
-rw-rw-r-- 1 ilg ilg 120 Oct 10 22:10 xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-arm.tar.gz.sha
492492
```
493493

494494
To copy the files from the build machine to the current development
@@ -538,8 +538,8 @@ and its SHA signature, created in the `deploy` folder:
538538
```console
539539
$ ls -l ~/Work/riscv-none-embed-gcc-*/deploy
540540
total 666560
541-
-rw-r--r-- 1 ilg staff 341272214 Oct 10 14:23 xpack-riscv-none-embed-gcc-8.3.0-2.1-darwin-x64.tar.gz
542-
-rw-r--r-- 1 ilg staff 121 Oct 10 14:23 xpack-riscv-none-embed-gcc-8.3.0-2.1-darwin-x64.tar.gz.sha
541+
-rw-r--r-- 1 ilg staff 341272214 Oct 10 14:23 xpack-riscv-none-embed-gcc-8.3.0-2.2-darwin-x64.tar.gz
542+
-rw-r--r-- 1 ilg staff 121 Oct 10 14:23 xpack-riscv-none-embed-gcc-8.3.0-2.2-darwin-x64.tar.gz.sha
543543
```
544544

545545
To copy the files from the build machine to the current development
@@ -649,7 +649,7 @@ program from there. For example on macOS the output should
649649
look like:
650650

651651
```console
652-
$ /Users/ilg/Downloads/xPacks/riscv-none-embed-gcc/8.3.0-2.1/bin/riscv-none-embed-gcc --version
652+
$ /Users/ilg/Downloads/xPacks/riscv-none-embed-gcc/8.3.0-2.2/bin/riscv-none-embed-gcc --version
653653
riscv-none-embed-gcc (xPack RISC-V Embedded GCC, 64-bit) 8.3.0
654654
```
655655

@@ -666,8 +666,8 @@ After install, the package should create a structure like this (only the
666666
first two depth levels are shown):
667667

668668
```console
669-
$ tree -L 2 /Users/ilg/opt/xPacks/riscv-none-embed-gcc/8.3.0-2.1
670-
/Users/ilg/opt/gnu-mcu-eclipse/riscv-none-embed-gcc/8.3.0-2.1
669+
$ tree -L 2 /Users/ilg/opt/xPacks/riscv-none-embed-gcc/8.3.0-2.2
670+
/Users/ilg/opt/gnu-mcu-eclipse/riscv-none-embed-gcc/8.3.0-2.2
671671
├── README.md
672672
├── riscv-none-embed
673673
│   ├── bin
@@ -693,8 +693,8 @@ $ tree -L 2 /Users/ilg/opt/xPacks/riscv-none-embed-gcc/8.3.0-2.1
693693
│   ├── riscv-none-embed-gcov-tool
694694
│   ├── riscv-none-embed-gdb
695695
│   ├── riscv-none-embed-gdb-add-index
696-
│   ├── riscv-none-embed-gdb-add-index-py
697-
│   ├── riscv-none-embed-gdb-py
696+
│   ├── riscv-none-embed-gdb-add-index-py3
697+
│   ├── riscv-none-embed-gdb-py3
698698
│   ├── riscv-none-embed-gprof
699699
│   ├── riscv-none-embed-ld
700700
│   ├── riscv-none-embed-ld.bfd

README-PUBLISH.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Be sure everything is committed and pushed
1919

2020
### Check tags
2121

22-
The names should look like `v8.3.0-2.1`.
22+
The names should look like `v8.3.0-2.2`.
2323

24-
For the binutils-gdb repo, a separate tag like `v8.3.0-2.1-gdb` should be
24+
For the binutils-gdb repo, a separate tag like `v8.3.0-2.2-gdb` should be
2525
present, for the gdb build.
2626

2727
### Check the `CHANGELOG.md` file
@@ -96,12 +96,12 @@ $ git clone --recurse-submodules https://github.com/xpack-dev-tools/riscv-none-e
9696
- commit and push the repo
9797
- go to the [GitHub Releases](https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases) page
9898
- click **Draft a new release**
99-
- name the tag like **v8.3.0-2.1** (mind the dash in the middle!)
99+
- name the tag like **v8.3.0-2.2** (mind the dash in the middle!)
100100
- select the target branch (like sifive-gcc-8.3.0-gme)
101-
- name the release like **xPack GNU RISC-V Embedded GCC v8.3.0-2.1**
101+
- name the release like **xPack GNU RISC-V Embedded GCC v8.3.0-2.2**
102102
(mind the dash and the space)
103103
- as description
104-
- add a downloads badge like `![Github Releases (by Release)](https://img.shields.io/github/downloads/xpack-dev-tools/riscv-none-embed-gcc-xpack/v8.3.0-2.1/total.svg)`; use empty URL for now
104+
- add a downloads badge like `![Github Releases (by Release)](https://img.shields.io/github/downloads/xpack-dev-tools/riscv-none-embed-gcc-xpack/v8.3.0-2.2/total.svg)`; use empty URL for now
105105
- draft a short paragraph explaining what are the main changes
106106
- **attach binaries** and SHA (drag and drop from the archives folder will do it)
107107
- **enable** the **pre-release** button
@@ -126,9 +126,9 @@ In the `xpack.github.io` web Git:
126126

127127
- add a new file to `_posts/releases/riscv-none-embed-gcc`
128128
- name the file like `2020-10-10-riscv-none-embed-gcc-v8-3-0-2-1-released.md`
129-
- name the post like: **xPack GNU RISC-V Embedded GCC v8.3.0-2.1 released**.
129+
- name the post like: **xPack GNU RISC-V Embedded GCC v8.3.0-2.2 released**.
130130
- as `download_url` use the tagged URL like
131-
`https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/tag/v8.3.0-2.1/`
131+
`https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/tag/v8.3.0-2.2/`
132132
- update the `date:` field with the current date
133133
- copy the list of commit IDs from the `README-<version>.sh` file
134134
- generate the list of multilibs and copy/paste
@@ -147,25 +147,25 @@ Copy/paste the build report at the end of the post as:
147147
The SHA-256 hashes for the files are:
148148

149149
2009f256e59291e1025cc099e4300d7662dda040b304fe3462b4cb7c35c71378
150-
xpack-riscv-none-embed-gcc-8.3.0-2.1-darwin-x64.tar.gz
150+
xpack-riscv-none-embed-gcc-8.3.0-2.2-darwin-x64.tar.gz
151151

152152
751f28a28148ddaec8cfcbf7eb794a70d24ee6650dc29da91e6aa672b9deae52
153-
xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-arm64.tar.gz
153+
xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-arm64.tar.gz
154154

155155
63f232cbeddbe968130f4c8386cca24c5e1410cc2551738d071b279a94cd8b75
156-
xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-arm.tar.gz
156+
xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-arm.tar.gz
157157

158158
1d99730d6e1e5d3a60fa0ccfbbcf0276e77dd83d58b6d8d1543cef40a1dd96ca
159-
xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-x32.tar.gz
159+
xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-x32.tar.gz
160160

161161
079a88d7f7c18cfd735a9ed1f0eefa28ab28d3007b5f7591920ab25225c89248
162-
xpack-riscv-none-embed-gcc-8.3.0-2.1-linux-x64.tar.gz
162+
xpack-riscv-none-embed-gcc-8.3.0-2.2-linux-x64.tar.gz
163163

164164
8e7e98117900f3eed717b20555b346c2473dcbb9090e05c456412008f39fb62d
165-
xpack-riscv-none-embed-gcc-8.3.0-2.1-win32-x32.zip
165+
xpack-riscv-none-embed-gcc-8.3.0-2.2-win32-x32.zip
166166

167167
5b7a4e3a2bb22566fed951972d726d10ff43bc35db17f9287eed52766e80ecee
168-
xpack-riscv-none-embed-gcc-8.3.0-2.1-win32-x64.zip
168+
xpack-riscv-none-embed-gcc-8.3.0-2.2-win32-x64.zip
169169
```
170170

171171
If you missed this, `cat` the content of the `.sha` files:
@@ -178,7 +178,7 @@ $ cat *.sha
178178
## Update the Web
179179

180180
- commit the `xpack.github.io` web Git; use a message
181-
like **xPack GNU RISC-V Embedded GCC v8.3.0-2.1 released**
181+
like **xPack GNU RISC-V Embedded GCC v8.3.0-2.2 released**
182182
- adjust timestamps
183183
- wait for the GitHub Pages build to complete
184184
- remember the post URL, since it must be updated in the release page
@@ -190,11 +190,11 @@ $ cat *.sha
190190
- update the `baseUrl:` with the file URLs (including the tag/version)
191191
- from the release, copy the SHA & file names
192192
- check the executable names
193-
- commit all changes, use a message like `package.json: update urls for 8.3.0-2.1 release` (without `v`)
193+
- commit all changes, use a message like `package.json: update urls for 8.3.0-2.2 release` (without `v`)
194194
- check the latest commits `npm run git-log`
195195
- update `CHANGELOG.md`; commit with a message like
196-
_CHANGELOG: prepare npm v8.3.0-2.1.1_
197-
- `npm version 8.3.0-2.1.1`; the first 5 numbers are the same as the
196+
_CHANGELOG: prepare npm v8.3.0-2.2.1_
197+
- `npm version 8.3.0-2.2.1`; the first 5 numbers are the same as the
198198
GitHub release; the sixth number is the npm specific version
199199
- `npm pack` and check the content of the archive
200200
- push all changes to GitHub
@@ -216,7 +216,7 @@ $ xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@next
216216
When the release is considered stable, promote it as `latest`:
217217

218218
- `npm dist-tag ls @xpack-dev-tools/riscv-none-embed-gcc`
219-
- `npm dist-tag add @xpack-dev-tools/[email protected].1.1 latest`
219+
- `npm dist-tag add @xpack-dev-tools/[email protected].2.1 latest`
220220
- `npm dist-tag ls @xpack-dev-tools/riscv-none-embed-gcc`
221221

222222
## Create a final GitHub release
@@ -231,7 +231,7 @@ When the release is considered stable, promote it as `latest`:
231231

232232
- in a separate browser windows, open [TweetDeck](https://tweetdeck.twitter.com/)
233233
- using the `@xpack_project` account
234-
- paste the release name like **xPack GNU RISC-V Embedded GCC v8.3.0-2.1 released**
234+
- paste the release name like **xPack GNU RISC-V Embedded GCC v8.3.0-2.2 released**
235235
- paste the link to the Web Page release
236236
- click the **Tweet** button
237237

0 commit comments

Comments
 (0)