Skip to content

Commit 61134fd

Browse files
committed
use clang-16 on ubuntu 20.04
1 parent ae2179c commit 61134fd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
sudo apt-get update
2222
sudo apt-get install -y build-essential git cmake ninja-build libc++-dev libc++abi-dev
2323
24-
- if: matrix.os == 'ubuntu-20.04'
24+
- if: matrix.os != 'ubuntu-24.04'
2525
run: |
26-
sudo apt install -y manpages-dev software-properties-common
27-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
28-
sudo apt update && sudo apt install gcc-11 g++-11
26+
wget https://apt.llvm.org/llvm.sh
27+
chmod +x llvm.sh
28+
sudo ./llvm.sh 16 all
2929
3030
- name: Build TON
3131
run: |

assembly/native/build-ubuntu-portable.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ else
101101
fi
102102

103103
cmake -GNinja .. \
104-
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \
105-
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \
104+
-DCMAKE_CXX_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
105+
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
106106
-DPORTABLE=1 \
107107
-DCMAKE_BUILD_TYPE=Release \
108108
-DOPENSSL_FOUND=1 \

0 commit comments

Comments
 (0)