1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

use clang-16 on ubuntu 20.04

This commit is contained in:
neodiX 2024-12-19 16:03:13 +04:00
parent ae2179cfb7
commit 61134fd856
2 changed files with 6 additions and 6 deletions

View file

@ -21,11 +21,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build libc++-dev libc++abi-dev
- if: matrix.os == 'ubuntu-20.04'
- if: matrix.os != 'ubuntu-24.04'
run: |
sudo apt install -y manpages-dev software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update && sudo apt install gcc-11 g++-11
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 16 all
- name: Build TON
run: |

View file

@ -101,8 +101,8 @@ else
fi
cmake -GNinja .. \
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \
-DCMAKE_CXX_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
-DPORTABLE=1 \
-DCMAKE_BUILD_TYPE=Release \
-DOPENSSL_FOUND=1 \