devel/go-cpuid - The NetBSD Packages Collection

CPU feature identification for Go

go-cpuid provides information about the CPU running
the current program.
CPU features are detected on startup, and kept for
fast access through the life of the application.
Currently x86 / x64 (AMD64) is supported, and no
external C (cgo) code is used, which should make
the library very easy to use.
You can access the CPU information by accessing the
shared CPU variable of the cpuid library.

Build dependencies

lang/go116 pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 8.0earmv7hfgo-cpuid-1.2.1nb12.tgz
NetBSD 8.0earmv7hfgo-cpuid-1.2.1nb9.tgz
NetBSD 8.0earmv7hfgo-cpuid-1.2.1nb14.tgz
NetBSD 8.0i386go-cpuid-1.2.1nb9.tgz
NetBSD 8.0i386go-cpuid-1.2.1nb12.tgz
NetBSD 8.0i386go-cpuid-1.2.1nb14.tgz
NetBSD 8.0x86_64go-cpuid-1.2.1nb9.tgz
NetBSD 9.0aarch64go-cpuid-1.2.1nb14.tgz
NetBSD 9.0aarch64go-cpuid-1.2.1nb9.tgz
NetBSD 9.0aarch64go-cpuid-1.2.1nb12.tgz
NetBSD 9.0earmv7hfgo-cpuid-1.2.1nb14.tgz
NetBSD 9.0earmv7hfgo-cpuid-1.2.1nb9.tgz
NetBSD 9.0earmv7hfgo-cpuid-1.2.1nb12.tgz
NetBSD 9.0i386go-cpuid-1.2.1nb9.tgz
NetBSD 9.0i386go-cpuid-1.2.1nb12.tgz
NetBSD 9.0i386go-cpuid-1.2.1nb14.tgz
NetBSD 9.0x86_64go-cpuid-1.2.1nb12.tgz
NetBSD 9.0x86_64go-cpuid-1.2.1nb12.tgz
NetBSD 9.0x86_64go-cpuid-1.2.1nb13.tgz
NetBSD 9.0x86_64go-cpuid-1.2.1nb9.tgz
NetBSD 9.0x86_64go-cpuid-1.2.1nb12.tgz
NetBSD 9.0x86_64go-cpuid-1.2.1nb14.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.