Skip to content

Commit 5a0f54d

Browse files
authored
Improve linux portable binaries (#1693)
* not always gh mac runners have nproc utility * deprecate Ubuntu 20.04 * fix linking issues of portable tonlibjson.dylib * bind libgsl and libblas into portable binaries
1 parent 6c9de46 commit 5a0f54d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-ton-linux-x86-64-appimage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
- name: Install system libraries
2222
run: |
2323
sudo apt update
24-
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev ccache
25-
sudo apt remove libgsl-dev
24+
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev ccache libgsl-dev libblas-dev
2625
mkdir ~/.ccache 3pp
2726
2827
- name: Install clang-16

assembly/appimage/create-appimages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ for file in ../artifacts/*; do
3535
/lib/$ARCH-linux-gnu/libmicrohttpd.so.12 \
3636
/lib/$ARCH-linux-gnu/libreadline.so.8 \
3737
/lib/$ARCH-linux-gnu/libstdc++.so.6 \
38+
/lib/$ARCH-linux-gnu/libgsl.so.27 \
39+
/lib/$ARCH-linux-gnu/libblas.so.3 \
3840
$appName.AppDir/usr/lib/
3941

4042
chmod +x ./$appName.AppDir/usr/bin/$appName

0 commit comments

Comments
 (0)