How to build syncthing for multiple platform on Ubuntu?

I need to build syncthing in pipeline, but for now i found GOARCH==amd64, GOOS=darwin built on ubuntu cannot be worked expectly, when I start to watch a folder, the GUI show Filesystem Watcher Errors and watching is not supported .

Version:1.11.1

and build command: build -cmd=zip -targetName=syncthing -goos=darwin -goarch=amd64

File system watching on macOS requires linking to native libraries, so you need to build on macOS.

3 Likes

Thank you!

Can i build both linux/arm64 and linux/amd64 on ubuntu?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.