Skip to content

Commit

Permalink
website updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Aug 9, 2024
1 parent faa4667 commit ac6a353
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 28 deletions.
8 changes: 3 additions & 5 deletions website/docs/install/_automatic-install-quick-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,29 @@ import customField from '@site/src/libs/customField';

### Quick test

(`_automatic-install-quick-test.mdx`)

To check if the xPack MinGW-w64 GCC installed by **xpm** starts properly, use something like:

<Tabs groupId="operating-systems">
<TabItem value="windows" label="Windows" default>

<CodeBlock language="console"> {
`C:\\> %USERPROFILE%\\AppData\\Roaming\\xPacks\\@xpack-dev-tools\\mingw-w64-gcc \\${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }\\.content\\bin\\x86_64-w64-mingw32-gcc.exe --version
`C:\\> %USERPROFILE%\\AppData\\Roaming\\xPacks\\@xpack-dev-tools\\mingw-w64-gcc\\${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }\\.content\\bin\\x86_64-w64-mingw32-gcc.exe --version
x86_64-w64-mingw32-gcc (xPack MinGW-w64 GCC x86_64) ${ customField('upstreamVersion') }`
} </CodeBlock>

</TabItem>
<TabItem value="macos" label="macOS">

<CodeBlock language="console"> {
`$ ~/Library/xPacks/@xpack-dev-tools/mingw-w64-gcc /${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }/.content/bin/x86_64-w64-mingw32-gcc --version
`$ ~/Library/xPacks/@xpack-dev-tools/mingw-w64-gcc/${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }/.content/bin/x86_64-w64-mingw32-gcc --version
x86_64-w64-mingw32-gcc (xPack MinGW-w64 GCC x86_64) ${ customField('upstreamVersion') }`
} </CodeBlock>

</TabItem>
<TabItem value="linux" label="GNU/Linux">

<CodeBlock language="console"> {
`$ ~/.local/xPacks/@xpack-dev-tools/mingw-w64-gcc /${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }/.content/bin/x86_64-w64-mingw32-gcc --version
`$ ~/.local/xPacks/@xpack-dev-tools/mingw-w64-gcc/${ customField('upstreamVersion') }-${ customField('xpackSubversion') }.${ customField('npmSubversion') }/.content/bin/x86_64-w64-mingw32-gcc --version
x86_64-w64-mingw32-gcc (xPack MinGW-w64 GCC x86_64) ${ customField('upstreamVersion') }`
} </CodeBlock>

Expand Down
4 changes: 1 addition & 3 deletions website/docs/install/_manual-install-quick-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import customField from '@site/src/libs/customField';

### Quick test {#manual-install-quick-test}

(`_manual-install-quick-test.mdx`)

To check if the xPack MinGW-w64 GCC installed manually starts properly, use something like:

<Tabs groupId="operating-systems">
Expand All @@ -24,7 +22,7 @@ x86_64-w64-mingw32-gcc (xPack MinGW-w64 GCC x86_64) ${ customField('upstreamVers
<TabItem value="macos" label="macOS">

<CodeBlock language="console"> {
`$ ~/Library/xPacks/mingw-w64-gcc/${ customField('upstreamVersion') }-${ customField('xpackSubversion') }/bin/x86_64-w64-mingw32-gcc --version
`$ ~/Library/xPacks/mingw-w64-gcc/xpack-mingw-w64-gcc-${ customField('upstreamVersion') }-${ customField('xpackSubversion') }/bin/x86_64-w64-mingw32-gcc --version
x86_64-w64-mingw32-gcc (xPack MinGW-w64 GCC x86_64) ${ customField('upstreamVersion') }`
} </CodeBlock>

Expand Down
13 changes: 3 additions & 10 deletions website/docs/maintainer/_check-upstream-release.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@

{/* ------------------------------------------------------------------------ */}

### Check the latest upstream release
import GccCheckUpstreamRelease from './_common/_gcc-check-upstream-release.mdx';

The current release must be announced in the
[GCC Timeline](https://gcc.gnu.org/releases.html) page.
Compare the latest tag with the current xPack
[release](https://github.com/xpack-dev-tools/gcc-xpack/releases).
If necessary, update the triplet, otherwise increase the fourth number,
as below.
{/* ------------------------------------------------------------------------ */}

The actual version is in the `GCC/BASE-VER` file.
<GccCheckUpstreamRelease/>
16 changes: 16 additions & 0 deletions website/docs/maintainer/_common/_gcc-check-upstream-release.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{/* DO NOT EDIT! */}
{/* Automatically generated from xbb-helper/templates/docusaurus/common. */}

{/* ------------------------------------------------------------------------ */}

### Check the latest upstream release

The current release must be announced in the
[GCC Timeline](https://gcc.gnu.org/releases.html) page.
Compare the latest GCC release with the current xPack
[release](https://github.com/xpack-dev-tools/gcc-xpack/releases).

If necessary, update the triplet, otherwise increase the fourth number,
as below.

The actual version is in the `gcc.git/gcc/BASE-VER` file.
6 changes: 0 additions & 6 deletions website/docs/maintainer/_more-repos.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@

{/* ------------------------------------------------------------------------ */}

Other repositories in use are:

- TODO

(`_more-repos.mdx`)
4 changes: 1 addition & 3 deletions website/docs/maintainer/_patches.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

### Patches

Possibly add TODO patches.

(`_patches.mdx`)
For macOS builds, this project uses the same patches as `gcc-xpack`.
1 change: 0 additions & 1 deletion website/docs/maintainer/_update-version-specific.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@

- open the `build-assets/scripts/versioning.sh` file
- add a new `if` with the new version before the existing code

0 comments on commit ac6a353

Please sign in to comment.