diff options
author | Joshua Sing <joshua@joshuasing.dev> | 2025-04-12 23:41:15 +1000 |
---|---|---|
committer | Joshua Sing <joshua@joshuasing.dev> | 2025-04-12 23:41:15 +1000 |
commit | a71747c235e1044a6463909a8916a91eaec1b32c (patch) | |
tree | 7568b39592531111d8c1f110d1d47363f064ab98 | |
parent | f4cc344689038ef1c5a3280aa5bf9754fe751ba3 (diff) | |
download | portable-a71747c235e1044a6463909a8916a91eaec1b32c.tar.gz portable-a71747c235e1044a6463909a8916a91eaec1b32c.tar.bz2 portable-a71747c235e1044a6463909a8916a91eaec1b32c.zip |
scripts/test: revert to using g++-14
It seems `g++-loongarch64-linux-gnu` does not exist in the Ubuntu
universe repositories. It also fails using the ubuntu Docker image
locally (with the universe repo added).
`g++-14-loongarch-linux-gnu` exists on both Ubuntu 22.04 and 24.04,
however ideally we want to use whatever works on the most platforms.
-rwxr-xr-x | scripts/test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/test b/scripts/test index e25a57a..473d689 100755 --- a/scripts/test +++ b/scripts/test | |||
@@ -133,13 +133,13 @@ elif [ "$ARCH" = "arm32" -o "$ARCH" = "arm64" ]; then | |||
133 | file apps/openssl/.libs/openssl | 133 | file apps/openssl/.libs/openssl |
134 | 134 | ||
135 | elif [ "$ARCH" = "loong64" ]; then | 135 | elif [ "$ARCH" = "loong64" ]; then |
136 | sudo apt install -y qemu-user-static binfmt-support g++-loongarch64-linux-gnu | 136 | sudo apt install -y qemu-user-static binfmt-support g++-14-loongarch64-linux-gnu |
137 | sudo ln -sf /usr/loongarch64-linux-gnu/lib/ld-linux-loongarch-lp64d.so.1 /lib | 137 | sudo ln -sf /usr/loongarch64-linux-gnu/lib/ld-linux-loongarch-lp64d.so.1 /lib |
138 | 138 | ||
139 | CC=loongarch64-linux-gnu-gcc | 139 | CC=loongarch64-linux-gnu-gcc-14 |
140 | CXX=loongarch64-linux-gnu++ | 140 | CXX=loongarch64-linux-gnu++-14 |
141 | AR=loongarch64-linux-gnu-ar | 141 | AR=loongarch64-linux-gnu-ar |
142 | STRIP=loongarch64-linux-gnu-strip | 142 | STRIP=loongarch64-linux-gnu-strip-14 |
143 | RANLIB=loongarch64-linux-gnu-ranlib | 143 | RANLIB=loongarch64-linux-gnu-ranlib |
144 | 144 | ||
145 | ./configure --host=loongarch64-linux-gnu | 145 | ./configure --host=loongarch64-linux-gnu |