Skip to content
PMDK examples and tutorials
C++ C Makefile Perl Shell CMake Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cpp_queue
employees examples: fixed license notes to add 2019 Jan 24, 2019
find_all adding find_all sample May 21, 2019
hello_world fixed llpl hello world example, using new LLPL API Feb 2, 2019
mapreduce examples: fixed license notes to add 2019 Jan 24, 2019
p_pool examples: fixed license notes to add 2019 Jan 24, 2019
pmem-mariadb fixing Gemfile.lock for security vulnerability in nokogiri < 1.10.4 Aug 26, 2019
pmem_leak examples: fixed license notes to add 2019 Jan 24, 2019
simple_grep examples: fixed license notes to add 2019 Jan 24, 2019
.gitignore Initial commit Sep 21, 2017
.gitmodules Removed submodules Jan 23, 2019
LICENSE examples: changed LICENSE file to reflect new year 2019, and changed … Dec 12, 2018
Makefile adding find_all sample May 21, 2019
README.md examples: adding pmem-mariadb to the repo Jan 24, 2019
check_config.sh examples: fixed check_config.sh to check if PMDK version is less than… May 8, 2019

README.md

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.
  • 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
You can’t perform that action at this time.