mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 19:22:37 +00:00
The Tolk Language will be positioned as "next-generation FunC". It's literally a fork of a FunC compiler, introducing familiar syntax similar to TypeScript, but leaving all low-level optimizations untouched. Note, that FunC sources are partially stored in the parser/ folder (shared with TL/B). In Tolk, nothing is shared. Everything from parser/ is copied into tolk/ folder.
20 lines
816 B
Docker
20 lines
816 B
Docker
FROM ubuntu:20.04
|
|
|
|
RUN apt update
|
|
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
|
|
RUN apt install -y build-essential cmake clang openssl libssl-dev zlib1g-dev gperf wget git curl libreadline-dev ccache libmicrohttpd-dev ninja-build libsecp256k1-dev libsodium-dev pkg-config
|
|
|
|
WORKDIR /
|
|
|
|
ARG BRANCH
|
|
ARG REPO
|
|
RUN git clone --recurse-submodules https://github.com/$REPO ton && cd ton && git checkout $BRANCH && git submodule update
|
|
|
|
WORKDIR /ton
|
|
RUN mkdir /ton/build
|
|
WORKDIR /ton/build
|
|
ENV CC clang
|
|
ENV CXX clang++
|
|
ENV CCACHE_DISABLE 1
|
|
RUN cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPORTABLE=1 -DTON_ARCH= ..
|
|
RUN ninja storage-daemon storage-daemon-cli tonlibjson blockchain-explorer fift func tolk validator-engine validator-engine-console create-state generate-random-id dht-server lite-client
|