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:
parent
ae2179cfb7
commit
61134fd856
2 changed files with 6 additions and 6 deletions
|
@ -21,11 +21,11 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y build-essential git cmake ninja-build libc++-dev libc++abi-dev
|
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: |
|
run: |
|
||||||
sudo apt install -y manpages-dev software-properties-common
|
wget https://apt.llvm.org/llvm.sh
|
||||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
chmod +x llvm.sh
|
||||||
sudo apt update && sudo apt install gcc-11 g++-11
|
sudo ./llvm.sh 16 all
|
||||||
|
|
||||||
- name: Build TON
|
- name: Build TON
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -101,8 +101,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmake -GNinja .. \
|
cmake -GNinja .. \
|
||||||
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \
|
-DCMAKE_CXX_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
|
||||||
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \
|
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
|
||||||
-DPORTABLE=1 \
|
-DPORTABLE=1 \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DOPENSSL_FOUND=1 \
|
-DOPENSSL_FOUND=1 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue