-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try with gcc-14 from Ubuntu Oracular (24.10 devel)
- Loading branch information
Showing
2 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,25 +18,21 @@ jobs: | |
|
||
linux-gcc-loongarch64: | ||
runs-on: ubuntu-24.04 | ||
container: amd64/ubuntu:24.10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: CPU Information | ||
run: cat /proc/cpuinfo | ||
- name: Install APT Dependencies | ||
run: | | ||
sudo apt-get install -y ninja-build ninja-build meson qemu-user-static | ||
- name: Download and install loongarch64-toolchain | ||
run: | | ||
wget https://github.com/loongson/build-tools/releases/download/2024.08.08/x86_64-cross-tools-loongarch64-binutils_2.43-gcc_14.2.0-glibc_2.40.tar.xz | ||
tar -xf x86_64-cross-tools-loongarch64-binutils_2.43-gcc_14.2.0-glibc_2.40.tar.xz -C /opt | ||
apt-get update && apt-get install -y --no-install-recommends \ | ||
ninja-build ninja-build meson qemu-user-static binfmt-support \ | ||
libc6-loong64-cross libstdc++-14-dev-loong64-cross \ | ||
gcc-14-loongarch64-linux-gnu g++-14-loongarch64-linux-gnu | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }}-binutils_2.43-gcc_14.2.0-glibc_2.40 | ||
- name: set env | ||
run: | | ||
echo "LD_LIBRARY_PATH=/opt/cross-tools/target/usr/lib64:/opt/cross-tools/loongarch64-unknown-linux-gnu/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV | ||
echo "PATH=$GITHUB_WORKSPACE:/opt/cross-tools/bin:$PATH" >> $GITHUB_ENV | ||
key: ${{ github.job }} | ||
# - name: Disable SVML tests | ||
# run: | | ||
# sed -i "/svml/d" test/x86/meson.build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters