mirror of
https://github.com/clearml/go-nvlib
synced 2025-04-21 06:34:32 +00:00
Merge branch 'update-pciid-db' into 'main'
update default pci_ids db See merge request nvidia/cloud-native/go-nvlib!52
This commit is contained in:
commit
8ff02ffd5b
3
Makefile
3
Makefile
@ -24,6 +24,7 @@ IMAGE=$(REGISTRY)/go-nvlib
|
||||
endif
|
||||
IMAGE_TAG ?= $(GOLANG_VERSION)
|
||||
BUILDIMAGE ?= $(IMAGE):$(IMAGE_TAG)-devel
|
||||
PCI_IDS_URL ?= https://pci-ids.ucw.cz/v2.2/pci.ids
|
||||
|
||||
TARGETS := binary build all check fmt assert-fmt generate lint vet test coverage
|
||||
DOCKER_TARGETS := $(patsubst %,docker-%, $(TARGETS))
|
||||
@ -72,6 +73,8 @@ coverage: test
|
||||
cat $(COVERAGE_FILE) | grep -v "_mock.go" > $(COVERAGE_FILE).no-mocks
|
||||
go tool cover -func=$(COVERAGE_FILE).no-mocks
|
||||
|
||||
update-pcidb:
|
||||
wget $(PCI_IDS_URL) -O $(CURDIR)/pkg/pciids/default_pci.ids
|
||||
|
||||
# Generate an image for containerized builds
|
||||
# Note: This image is local only
|
||||
|
@ -1,6 +1,6 @@
|
||||
# The `go-nvlib` project
|
||||
|
||||
This respository holds a collection of go packages to ease the development of
|
||||
This repository holds a collection of go packages to ease the development of
|
||||
NVIDIA GPU management software. Many of its abstractions build and expand upon
|
||||
the base [`go-nvml`](https://github.com/NVIDIA/go-nvml) package which provides
|
||||
a comprehensive wrapper around the official [NVIDIA Management
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user