Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use musl as tool chain. #138

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading