Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Can't compile TON binaries on M1 MacBook

I'm trying to compile a lite client on a macbook with M1, which gives an error:

march-native is not supported

How can I compile on mac book M1 (ARM)?

Is there any way to get TON binaries that are already compiled for M1?

This question was imported from Telegram Chat: https://t.me/tondev/41946

Votes Newest



# Install dependent packages
brew update
brew install openssl cmake llvm
brew link openssl --force

# Install ninja
brew install ninja

# generate env folder / clone ton source code
mkdir ~/ton-env
cd ~/ton-env
git clone --recursive https://github.com/ton-blockchain/ton.git

# compile
cd ~/ton-env/
mkdir ton-bin
cd ~/ton-env/ton-bin

cmake ~/ton-env/ton \
    -DCMAKE_BUILD_TYPE=Release \

cpunumber=$(sysctl -n hw.logicalcpu)
ninja -j $cpunumber
1 Answer
one year ago
one year ago