Skip to content

Commit 5bb4c23

Browse files
committed
re-generate website commons
1 parent b0c7916 commit 5bb4c23

5 files changed

Lines changed: 49 additions & 30 deletions

File tree

website/docs/_common/_publish-website.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The website deployment is performed automatically when pushing to the
1212
- Open https://xpack-dev-tools.github.io/aarch64-none-elf-gcc-xpack/docs/maintainer/#publish-the-website in a separate window
1313
- **Stop** the local web server
1414
- Switch to the `website` branch
15+
- run the `npm install` command, to ensure `package-lock.json` is up to date
1516
- **Merge** the `xpack-development` branch into the `website` branch
1617
- **Push** the `website` branch to GitHub
1718
:::info

website/docs/maintainer/_common/_arm-toolchain-check-upstream-release.mdx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,3 @@ Compare the latest Arm release with the latest xPack
1414
[release](https://github.com/xpack-dev-tools/aarch64-none-elf-gcc-xpack/releases).
1515
If necessary, update the triplet; otherwise increase the fourth & fifth numbers,
1616
as below.
17-
18-
### Update to the latest Arm release
19-
20-
- Download the new _Source code_ archive (such as
21-
<code>arm-gnu-toolchain-src-snapshot-{versionMajor()}.{versionMinor()}.rel1.tar.xz</code>) from
22-
[Arm GNU Toolchain Downloads](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads/)
23-
- Unpack the archive
24-
- The GCC version is within `gcc/gcc/BASE-VER`
25-
- The binutils version is within `binutils-gdb/bfd/version.m4`
26-
- The GDB version is within `binutils-gdb--gdb/gdb/version.in`
27-
- The newlib version is within `newlib-cygwin/newlib/configure`; search for `VERSION=`
28-
- Download the latest **macOS (x86_64) hosted cross toolchains** archive (such as
29-
<code>arm-gnu-toolchain-{versionMajor()}.{versionMinor()}.rel1-darwin-arm64-aarch64-none-elf.tar.xz</code>)
30-
- Unpack the archive
31-
- Create a folder <code>build-assets/extras/{versionMajor()}.{versionMinor()}.rel1</code>
32-
- Copy the file with the configurations
33-
(<code>{versionMajor()}.{versionMinor()}.rel1-darwin-x86_64-aarch64-none-elf-manifest.txt</code>) to the new folder within extras
34-
- Download the manifest.txt with the individual source URLs
35-
(<code>arm-gnu-toolchain-src-snapshot-{versionMajor()}.{versionMinor()}.rel1-manifest.txt</code>)
36-
- Copy to the new folder within extras
37-
38-
:::info
39-
40-
Starting with 14.2.Rel1, there is a link to a [README](https://gitlab.arm.com/tooling/gnu-devtools-for-arm/-/blob/main/README.md) explaining the new build scripts.
41-
42-
:::
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{/* DO NOT EDIT! */}
2+
{/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3+
4+
import versionMajor from '@site/src/libs/versionMajor';
5+
import versionMinor from '@site/src/libs/versionMinor';
6+
7+
{/* ------------------------------------------------------------------------ */}
8+
9+
### Update to the latest Arm release
10+
11+
- Download the new _Source code_ archive (such as
12+
<code>arm-gnu-toolchain-src-snapshot-{versionMajor()}.{versionMinor()}.rel1.tar.xz</code>) from
13+
[Arm GNU Toolchain Downloads](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads/)
14+
- Unpack the archive
15+
- The GCC version is within `gcc/gcc/BASE-VER`
16+
- The binutils version is within `binutils-gdb/bfd/version.m4`
17+
- The GDB version is within `binutils-gdb--gdb/gdb/version.in`
18+
- The newlib version is within `newlib-cygwin/newlib/configure`; search for `VERSION=`
19+
- Download the latest **macOS (x86_64) hosted cross toolchains** archive (such as
20+
<code>arm-gnu-toolchain-{versionMajor()}.{versionMinor()}.rel1-darwin-arm64-aarch64-none-elf.tar.xz</code>)
21+
- Unpack the archive
22+
- Create a folder <code>build-assets/extras/{versionMajor()}.{versionMinor()}.rel1</code>
23+
- Copy the file with the configurations
24+
(<code>{versionMajor()}.{versionMinor()}.rel1-darwin-x86_64-aarch64-none-elf-manifest.txt</code>) to the new folder within extras
25+
- Download the manifest.txt with the individual source URLs
26+
(<code>arm-gnu-toolchain-src-snapshot-{versionMajor()}.{versionMinor()}.rel1-manifest.txt</code>)
27+
- Copy to the new folder within extras
28+
29+
:::info
30+
31+
Starting with 14.2.Rel1, there is a link to a [README](https://gitlab.arm.com/tooling/gnu-devtools-for-arm/-/blob/main/README.md) explaining the new build scripts.
32+
33+
:::

website/docs/maintainer/_common/_content.mdx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import CommonPlatformDockerBuild from '../_common/_platform-docker-build.mdx';
4646

4747
import ProjectMoreRepos from '../_project/_more-repos.mdx';
4848
import ProjectCheckUpstreamRelease from '../_project/_check-upstream-release.mdx';
49+
import ProjectGetUpstreamVersions from '../_project/_get-upstream-versions.mdx';
4950
import ProjectUpdateVersionSpecific from '../_project/_update-version-specific.mdx';
5051

5152
import ProjectMoreTests from '../_project/_more-tests.mdx';
@@ -104,6 +105,14 @@ update the dependencies in `build-assets/package.json`.
104105

105106
<CommonIncreaseVersion />
106107

108+
<CommonUpdateTopCommons />
109+
110+
<CommonUpdateWebsiteCommons />
111+
112+
<CommonStartLocalWebServer />
113+
114+
<ProjectGetUpstreamVersions/>
115+
107116
### Update VERSION
108117

109118
Update the `build-assets/scripts/VERSION` file; the format
@@ -114,12 +123,8 @@ is <code>15.2.1-1.1</code>.
114123

115124
<CommonUpdateWebsiteConfig />
116125

117-
<CommonUpdateTopCommons />
118-
119126
<CommonUpdateWebsiteCommons />
120127

121-
<CommonStartLocalWebServer />
122-
123128
<ProjectUpdateVersionSpecific/>
124129

125130
<CommonFixOpenIssues />
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
import GetUpstreamVersions from '../_common/_arm-toolchain-get-upstream-versions.mdx';
3+
4+
{/* ------------------------------------------------------------------------ */}
5+
6+
<GetUpstreamVersions/>

0 commit comments

Comments
 (0)