You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2024. It is now read-only.
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
However to compile just the 3 tools func, fift and lite-client, there is a weird situation (The library tl/libtl_api.a generated during the compilation will not include correctly the symbols of tl/CMakeFiles/tl_api.dir/generate/auto/tl/ton_api.cpp.o). So at the moment of this writing to compile just those 3 tools in adJ 7.1a1:
doas pkg_add libminihttpd
git clone https://github.com/vtamara/ton.git
cd ton
git checkout adJ
git submodule update --init
cd ..
mkdir liteclient-build
cd liteclient-build
cmake ../ton
cmake --build . --target lite-client
echo"../tl/CMakeFiles/tl_api.dir/generate/auto/tl/ton_api.cpp.o">> lite-client/CMakeFiles/lite-client.dir/link.txt
cmake --build . --target lite-client
cmake --build . --target func
cmake --build . --target fift
With the tools generated this way I was able to run the func contracts made for the TON contest https://ton.org/contest withouth issue (for that contest I had to use Linux, but thanks to God now everything working on OpenBSD/adJ).
First of all, thank you for pool request!
This request however include massive update of code related to update of abseil-cpp. Such update requires thorough testing and prolonged run in testnet. We scheduled update of abseil-cpp so lets postpone accept of this PR till the update.
I will leave this PR open, so anybody who need adJ/OpenBSD build (for instance for func/lite-client and other not that consensus critical staff) can find and use it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch solves two problems ocurring during compilation of
ton
in OpenBSD/adJ in order to close ton-blockchain#337:abseil-cpp
is required (becase it is answer to our report of problems to compile that library on OpenBSD/adJ, see Compilation issues on OpenBSD/adJ 7.1a1 abseil/abseil-cpp#1153)dl
However to compile just the 3 tools
func
,fift
andlite-client
, there is a weird situation (The librarytl/libtl_api.a
generated during the compilation will not include correctly the symbols oftl/CMakeFiles/tl_api.dir/generate/auto/tl/ton_api.cpp.o
). So at the moment of this writing to compile just those 3 tools in adJ 7.1a1:With the tools generated this way I was able to run the func contracts made for the TON contest https://ton.org/contest withouth issue (for that contest I had to use Linux, but thanks to God now everything working on OpenBSD/adJ).