Skip to content

KaiZhang666/nvml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

Packages

No packages published

Languages

  • C 64.6%
  • Shell 20.7%
  • Perl 7.8%
  • Makefile 6.6%
  • C++ 0.2%
  • OpenEdge ABL 0.1%