This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # TON is moving to clang-21 for very pragmatic reasons — not because it's fashionable, | |
| # but because it materially improves what we ship. | |
| # We use clang-21 because we want the best C++ the language currently offers, | |
| # stronger safety guarantees, better diagnostics, better generated code, and a toolchain that won't rot under us. | |
| # Important! Remember, at this time no TON fullnodes or validators should be running on Ubuntu 20.04. | |
| # This guide shows how to install clang-21 on Ubuntu 22.04 and 24.04 only. | |
| # Ubuntu 22.04 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Please check your clang version first | |
| clang --version | |
| # If it is of version 16 you don't need to do the below steps. | |
| # Required for Ubuntu 20.04 only. | |
| sudo apt update | |
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| info:(ext_in_msg_info | |
| src:addr_none | |
| dest:(addr_std | |
| anycast:nothing workchain_id:0 address:x3C7C4125F26256F1A015D0D639D0B6F0388BD94606107D07E92C869A1E5793DE) | |
| import_fee:(nanograms | |
| amount:(var_uint len:0 value:0))) | |
| init:(just | |
| value:(left | |
| value:( | |
| split_depth:nothing |