Skip to content

Commit

Permalink
use defconfig for ct-ng, minimizing the config (cross-rs#1468)
Browse files Browse the repository at this point in the history
This PR switches to using `defconfig` for ct-ng, minimizing the config.

The `docker/crosstool-config/loongarch64-unknown-linux-gnu.config` is
generated by:

```sh
GCC_VERSION=13.2.0 GLIBC_VERSION=2.36 LINUX_VERSION=5.19.16 cargo xtask configure-crosstool
```

and `docker/crosstool-config/arm-unknown-linux-gnueabihf.config`:

```sh
GCC_VERSION=8.5.0 GLIBC_VERSION=2.31 LINUX_VERSION=4.19.287 cargo xtask configure-crosstool
```

Fixes cross-rs#1335
Emilgardis authored Apr 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 82a53af + 293198f commit 35be2a9
Showing 6 changed files with 14 additions and 3,064 deletions.
5 changes: 5 additions & 0 deletions .changes/1468.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "changed",
"description": "use defconfig for ct-ng, minimizing the config",
"issues": [1335]
}
664 changes: 2 additions & 662 deletions crosstool-ng/arm-unknown-linux-gnueabihf.config.in

Large diffs are not rendered by default.

813 changes: 0 additions & 813 deletions crosstool-ng/loongarch64-unknown-linux-gnu.config.in

Large diffs are not rendered by default.

782 changes: 6 additions & 776 deletions docker/crosstool-config/arm-unknown-linux-gnueabihf.config

Large diffs are not rendered by default.

813 changes: 0 additions & 813 deletions docker/crosstool-config/loongarch64-unknown-linux-gnu.config

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docker/crosstool-ng.sh
Original file line number Diff line number Diff line change
@@ -71,6 +71,7 @@ main() {
pushd "${buildir}"
cp /"${config}" .config
chown "${username}":"${username}" .config
su "${username}" -c "${crosstooldir}/bin/ct-ng olddefconfig"

# the download steps can stall indefinitely, so we want to set a timeout to
# ensure it always completes. we therefore attempt to download until

0 comments on commit 35be2a9

Please sign in to comment.