mirror of
https://github.com/Z3Prover/z3
synced 2026-03-29 23:59:01 +00:00
fix riscv64 nightly: install MPFR 4.x before using Ubuntu 20.04 RISC-V toolchain (#9157)
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/41c35acf-fab8-4cd1-8bff-7cceb9ba43f5 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
8969921cab
commit
00418e7368
2 changed files with 16 additions and 0 deletions
8
.github/workflows/nightly.yml
vendored
8
.github/workflows/nightly.yml
vendored
|
|
@ -380,6 +380,14 @@ jobs:
|
|||
run: |
|
||||
mkdir -p /tmp/riscv-toolchain/
|
||||
tar xf /tmp/riscv-toolchain.tar.gz -C /tmp/riscv-toolchain/ --strip-components=1
|
||||
|
||||
- name: Install MPFR 4 (required by RISC-V toolchain host binaries)
|
||||
run: |
|
||||
dnf install -y gmp-devel
|
||||
curl -L -o /tmp/mpfr.tar.xz https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.1.tar.xz
|
||||
tar xf /tmp/mpfr.tar.xz -C /tmp/
|
||||
cd /tmp/mpfr-4.2.1 && ./configure --prefix=/usr/local --disable-static && make -j$(nproc) && make install
|
||||
ldconfig
|
||||
|
||||
- name: Setup Python environment
|
||||
run: |
|
||||
|
|
|
|||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -390,6 +390,14 @@ jobs:
|
|||
run: |
|
||||
mkdir -p /tmp/riscv-toolchain/
|
||||
tar xf /tmp/riscv-toolchain.tar.gz -C /tmp/riscv-toolchain/ --strip-components=1
|
||||
|
||||
- name: Install MPFR 4 (required by RISC-V toolchain host binaries)
|
||||
run: |
|
||||
dnf install -y gmp-devel
|
||||
curl -L -o /tmp/mpfr.tar.xz https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.1.tar.xz
|
||||
tar xf /tmp/mpfr.tar.xz -C /tmp/
|
||||
cd /tmp/mpfr-4.2.1 && ./configure --prefix=/usr/local --disable-static && make -j$(nproc) && make install
|
||||
ldconfig
|
||||
|
||||
- name: Setup Python environment
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue