/go-ipmctl

Go bindings for the libipmctl native C lib to enable management of DCPMMs from Go source

Primary LanguageGoApache License 2.0Apache-2.0

DISCONTINUATION OF PROJECT

This project will no longer be maintained by Intel. Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project. Intel no longer accepts patches to this project.

NOTICE -- This repo is deprecated!

Please use https://github.com/daos-stack/daos/tree/master/src/control/lib/ipmctl instead.

Go language bindings for the ipmctl API for managing PMMs

Go bindings for the libipmctl native C lib to enable management of DCPMMs from Go source

This is a Go interface for ipmctl

How to Build

This is a Go project, so the Go development tools are naturally required. We recommend the most current Go release available. As of July 2018, the project has been built and tested with Go 1.11.5

The following steps assume ipmctl library is installed. To install please follow steps in the ipmctl github

Clone the repo:

git clone git@github.com:daos-stack/go-ipmctl.git
export GOIPMCTL=${HOME}/go-ipmctl

Setup your environment:

export GOPATH=${HOME}/go
export PATH=${PATH}:${GOPATH}/bin/

Install go-task:

go get -u -v github.com/go-task/task/cmd/task

Install golint:

go get -u -v golang.org/x/lint/golint

Install goimport:

go get -u -v golang.org/x/tools/cmd/goimports

Build with Taskfile

Run task:

task main-task