ton-blockchain / ton

Main TON monorepo
Other
2.6k stars 715 forks source link

Fix TON compilation on Windows (github only) #1020

Closed neodix42 closed 1 week ago

neodix42 commented 3 weeks ago

With a new OS image runner update for Windows Server 2022, libsodium library behaves weirdly and compilation cannot proceed. At the same time on other Windows machines, it works fine. A temporary solution is to switch to an older Windows image runner.

awesome-doge commented 1 week ago

There is nothing wrong with your @neodix42 code

But the server of download.libsodium.org is not stable

There is about a 1/2 chance that the compilation will fail because download.libsodium.org cannot be downloaded.

I think we can add some code that attempts to reinstall libsodium to improve the stability of the code.

截圖 2024-06-22 下午3 51 05
neodix42 commented 1 week ago

Hi awesomedoge, No, there is definitely an issue with the latest github windows runner. The problem with download.libsodium.org is just an unpleasant rendezvous with comparison to that.