https://github.com/pmem/pmdk-examples
PMDK examples and tutorials
https://github.com/pmem/pmdk-examples
Last synced: about 1 year ago
JSON representation
PMDK examples and tutorials
- Host: GitHub
- URL: https://github.com/pmem/pmdk-examples
- Owner: pmem
- License: bsd-3-clause
- Created: 2017-09-21T13:21:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-07T16:42:01.000Z (about 5 years ago)
- Last Synced: 2024-04-28T02:42:32.920Z (about 2 years ago)
- Language: C++
- Homepage:
- Size: 70.8 MB
- Stars: 57
- Watchers: 9
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PROJECT NOT UNDER ACTIVE MANAGEMENT #
This project will no longer be maintained by Intel.
This project has been identified as having known security escapes.
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.
### Introduction
The goal of this repository is to present clear programming examples of how to
use the core libraries of the Persistent Memory Development Kit (PMDK) and the
C++ and Java bindings of libpmemobj (core library which is part of PMDK).
### Build Instructions
For compilation, a Makefile is provided. To build all samples, just type `make`.
The following are the needed dependencies:
- C and C++ compilers. The default C compiler is `gcc`, and the default C++
compiler used is `g++`. You can change that for individual samples by
setting the `CC` and `CXX` variables in the sample's Makefile.
- PMDK. Please, read the instructions in the
[PMDK repository](https://github.com/pmem/pmdk).
- To build and run the samples using the Java bindings, you will need Java 8
or above (including a Java compiler).
NOTE: pmem-mariadb will not be built automatically. Please, read instructions
on how to build in `pmem-mariadb/INSTALL-SOURCE`
Build everything doing:
$ make