pbalcer / nvml

NVM Library

Home Page:pmem.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nvml: Linux NVM Library

Build Status

This is the top-level README.md the Linux NVM Library. For more information, see http://pmem.io.

Please see the file LICENSE for information on how this library is licensed.

This tree contains libraries for using Non-Volatile Memory (NVM). Here you'll find:

  • doc -- man pages describing each library contained here
  • src -- the source for the libraries
  • src/benchmarks -- benchmarks used by development team
  • src/examples -- brief example programs using these libraries
  • src/test -- unit tests used by development team
  • utils -- utilities used during build & test
  • CONTRIBUTING.md -- instructions for people wishing to contribute

To build this library, you may need to install some required packages on the build system. See the before_install: rules in the .travis.yml file at the top level of the repository to get an idea what packages were required to build on the travis-ci (Ubuntu-based) systems.

Once the build system is setup, the NVM Library is built using this command at the top level:

	$ make

To build and run the unit tests:

	$ make check

To install this library into the standard locations (/usr/lib, /usr/include, /usr/share/man), become root and:

	$ make install

To install this library into other locations, you can use DESTDIR variable, e.g.:

	$ make install DESTDIR=/tmp

This will install files to /tmp/lib, /tmp/include /tmp/usr/share/man.

To install a complete copy of the source tree to $(DESTDIR)/nvml:

	$ make source DESTDIR=some_path

To build rpm packages on rpm-based distributions:

	$ make rpm

Prerequisites: rpmbuild

To build dpkg packages on Debian-based distributions:

	$ make dpkg

Prerequisites: devscripts

For more information on this library, contact Andy Rudoff (andy.rudoff@intel.com).

About

NVM Library

pmem.io

License:Other


Languages

Language:C 65.9%Language:Shell 19.8%Language:Perl 7.3%Language:Makefile 6.7%Language:C++ 0.2%Language:OpenEdge ABL 0.1%Language:XSLT 0.0%