NVIDIA / go-dcgm

Golang bindings for Nvidia Datacenter GPU Manager (DCGM)
Apache License 2.0
96 stars 27 forks source link

Darwin ARM64 Compile issue after Upgrading from v0.0.0-20230816170901-d898cc7820fe to v0.0.0-20240118201113-3385e277e49f #71

Closed TamerSherif closed 4 months ago

TamerSherif commented 4 months ago

It appears something broke once we upgraded from version v0.0.0-20230816170901-d898cc7820fe to v0.0.0-20240118201113-3385e277e49f, specifically on mac arm64:

../../../../go/pkg/mod/github.com/!n!v!i!d!i!a/go-dcgm@v0.0.0-20240118201113-3385e277e49f/pkg/dcgm/internal.go:80:14: cannot use _Ctype_long(ts) (value of type _Ctype_long) as _Ctype_longlong value in struct literal

Things still work on ubuntu amd64.

Please advise.

nvvfedorov commented 4 months ago

The go-dcgm is not supposed to be built and run on Mac OS or Windows. The package can be built and tested only on Linux.