diff --git a/go.mod b/go.mod index 8be3a65..de18c08 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,6 @@ go 1.16 require ( github.com/Masterminds/semver v1.5.0 - github.com/bits-and-blooms/bitset v1.2.1 // indirect + github.com/bits-and-blooms/bitset v1.2.1 github.com/gorilla/mux v1.8.0 ) diff --git a/go.sum b/go.sum index ee898ab..07fad37 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,6 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/NVIDIA/gpu-monitoring-tools v0.0.0-20210525204842-7fbe8db26700 h1:1FxK6qecUUD+XAcaTIrRwhl67gDoB3IAfkuWnaqwk5o= -github.com/NVIDIA/gpu-monitoring-tools v0.0.0-20210525204842-7fbe8db26700/go.mod h1:oKPJa5eOTkWvlT4/Y4D8Nds44Fzmww5HUK+xwO+DwTA= -github.com/NVIDIA/gpu-monitoring-tools/bindings/go/dcgm v0.0.0-20210325210537-29b4f1784f18/go.mod h1:8qXwltEzU3idjUcVpMOv3FNgxxbDeXZPGMLyc/khWiY= github.com/bits-and-blooms/bitset v1.2.1 h1:M+/hrU9xlMp7t4TyTDQW97d3tRPVuKFC6zBEK16QnXY= github.com/bits-and-blooms/bitset v1.2.1/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= diff --git a/pkg/dcgm/admin.go b/pkg/dcgm/admin.go index f24864b..2c22321 100644 --- a/pkg/dcgm/admin.go +++ b/pkg/dcgm/admin.go @@ -17,8 +17,8 @@ package dcgm /* -#cgo linux LDFLAGS: -ldl -Wl,--unresolved-symbols=ignore-in-object-files -#cgo darwin LDFLAGS: -ldl -Wl,-undefined,dynamic_lookup +#cgo linux LDFLAGS: -ldl -Wl,--export-dynamic -Wl,--unresolved-symbols=ignore-in-object-files +#cgo darwin LDFLAGS: -ldl -Wl,--export-dynamic -Wl,-undefined,dynamic_lookup #include #include "dcgm_agent.h"