-
Notifications
You must be signed in to change notification settings - Fork 960
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #959 from ton-blockchain/testnet
Merge developer branch
- Loading branch information
Showing
137 changed files
with
14,590 additions
and
1,393 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,19 @@ else | |
echo "Using compiled secp256k1" | ||
fi | ||
|
||
if [ ! -d "lz4" ]; then | ||
git clone https://github.com/lz4/lz4 | ||
cd lz4 | ||
lz4Path=`pwd` | ||
git checkout v1.9.4 | ||
make -j12 | ||
test $? -eq 0 || { echo "Can't compile lz4"; exit 1; } | ||
cd .. | ||
else | ||
lz4Path=$(pwd)/lz4 | ||
echo "Using compiled lz4" | ||
fi | ||
|
||
brew unlink [email protected] | ||
brew install openssl@3 | ||
brew unlink openssl@3 && brew link --overwrite openssl@3 | ||
|
@@ -59,7 +72,10 @@ cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. \ | |
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \ | ||
-DSECP256K1_FOUND=1 \ | ||
-DSECP256K1_INCLUDE_DIR=$secp256k1Path/include \ | ||
-DSECP256K1_LIBRARY=$secp256k1Path/.libs/libsecp256k1.a | ||
-DSECP256K1_LIBRARY=$secp256k1Path/.libs/libsecp256k1.a \ | ||
-DLZ4_FOUND=1 \ | ||
-DLZ4_LIBRARIES=$lz4Path/lib/liblz4.a \ | ||
-DLZ4_INCLUDE_DIRS=$lz4Path/lib | ||
|
||
test $? -eq 0 || { echo "Can't configure ton"; exit 1; } | ||
|
||
|
This file contains 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
This file contains 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
Oops, something went wrong.