Skip to content

Commit

Permalink
use musl as tool chain.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joinhack committed Dec 24, 2024
1 parent fae0f80 commit 9f9f750
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/runtime_release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ jobs:
echo `pwd`
sudo apt install gcc-aarch64-linux-gnu
sudo apt-get install build-essential gcc musl-tools musl-dev make perl dkms
wget https://phoenixnap.dl.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz\?viasf\=1 -O zlib-1.2.11.tar.gz
tar xf zlib-1.2.11.tar.gz && rm zlib-1.2.11.tar.gz
cd zlib-1.2.11
sed '394,400d' configure > _configure && mv _configure configure && chmod +x configure
mkdir build
CHOST=arm CC=/usr/bin/aarch64-linux-gnu-gcc \
AR=/usr/bin/aarch64-linux-gnu-ar \
RANLIB=/usr/bin/aarch64-linux-gnu-ranlib \
./configure --prefix=/usr/local/
make -j$(nproc)
sudo make install
cd ..
ZLIBPATH=/usr/local/
#wget https://phoenixnap.dl.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz\?viasf\=1 -O zlib-1.2.11.tar.gz
#tar xf zlib-1.2.11.tar.gz && rm zlib-1.2.11.tar.gz
#cd zlib-1.2.11
#sed '394,400d' configure > _configure && mv _configure configure && chmod +x configure
#mkdir build
#CHOST=arm CC=/usr/bin/aarch64-linux-gnu-gcc \
#AR=/usr/bin/aarch64-linux-gnu-ar \
#RANLIB=/usr/bin/aarch64-linux-gnu-ranlib \
#./configure --prefix=/usr/local/
#make -j$(nproc)
#sudo make install
#cd ..
#ZLIBPATH=/usr/local/
#wget https://www.openssl.org/source/openssl-1.1.1.tar.gz
#tar -xvzf openssl-1.1.1.tar.gz
#cd openssl-1.1.1/
Expand All @@ -73,7 +73,6 @@ jobs:
#--with-zlib-include=${ZLIBPATH}/include --openssldir=/usr/local shared zlib
#make -j$(($(nproc)+1))
#sudo make install
if: startsWith(matrix.arch, 'aarch64')
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down

0 comments on commit 9f9f750

Please sign in to comment.