Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ii8 authored Nov 17, 2023
1 parent bb4d86b commit 7bdf12b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,14 @@ jobs:
curl -sOL https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz
tar -xf gmp-6.3.0.tar.xz
cd gmp-6.3.0
./configure --disable-shared \
./configure --prefix=/usr/local/${{ matrix.arch.name }}-linux-${{ matrix.libc }} \
--disable-shared \
${{ matrix.arch.name == 'i686' && '--with-pic' || '' }} \
${{ matrix.arch.name == 'arm' && '--with-pic' || '' }} \
${{ matrix.arch.name == 'armv7l' && '--with-pic CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard -O2 -pedantic"' || '' }} \
${{ startsWith(matrix.arch.name, 'powerpc') && '--disable-assembly' || '' }} \
--build=x86_64-linux-gnu \
--host=${{ matrix.arch.name }}-linux-${{ matrix.libc }}
--prefix=/usr/local/${{ matrix.arch.name }}-linux-${{ matrix.libc }}
make
# make check
sudo make install
Expand Down

0 comments on commit 7bdf12b

Please sign in to comment.