spacemeshos / gpu-post

Spacemesh proof of space time gpu optimized setup
GNU General Public License v3.0
29 stars 9 forks source link

Windows CI builds using MSVC, but cgo needs a build from mingw64 #72

Closed fasmat closed 1 year ago

fasmat commented 1 year ago

The CI build uses MSVC to build gpu-post and creates a .dll and .lib file as output. cgo as of go 1.19 cannot link against *.lib files, but needs *.so libraries built with mingw64. The reason the current build works at all is because an old build of gpu-post has been committed to the https://github.com/spacemeshos/post repository that cgo links against.

Update the CI build: