Skip to content

Commit

Permalink
appimages without jemalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
neodix42 committed Dec 26, 2024
1 parent d697289 commit ee8589d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-ton-linux-x86-64-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install system libraries
run: |
sudo apt update
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev
sudo apt remove libgsl-dev
- name: Install gcc-11 g++-11
Expand All @@ -34,9 +34,9 @@ jobs:
run: |
git submodule sync --recursive
git submodule update
cp assembly/native/build-ubuntu-shared.sh .
chmod +x build-ubuntu-shared.sh
./build-ubuntu-shared.sh -t -a
cp assembly/native/build-ubuntu-appimages.sh .
chmod +x build-ubuntu-appimages.sh
./build-ubuntu-appimages.sh -t -a
- name: Make AppImages
run: |
Expand Down
4 changes: 1 addition & 3 deletions assembly/native/build-ubuntu-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ else
echo "Using compiled openssl_3"
fi

cmake -GNinja -DTON_USE_JEMALLOC=ON .. \
cmake -GNinja .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -static-libgcc -static-libstdc++ /usr/lib/llvm-16/lib/libc++abi.a -I/usr/lib/llvm-16/include/c++/v1" \
-DPORTABLE=1 \
-DOPENSSL_ROOT_DIR=$opensslPath \
-DOPENSSL_INCLUDE_DIR=$opensslPath/include \
Expand Down

0 comments on commit ee8589d

Please sign in to comment.