Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #15 from HongW2019/doc-1.1.0
Browse files Browse the repository at this point in the history
[PMEM-COMMON-14]Update the documents for OAP 1.1.0
  • Loading branch information
zhixingheyi-tian authored Apr 30, 2021
2 parents d1a0d97 + 7d4d58d commit fd82fc6
Show file tree
Hide file tree
Showing 9 changed files with 13,018 additions and 314 deletions.
285 changes: 284 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

1,957 changes: 1,957 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

201 changes: 0 additions & 201 deletions LICENSE.txt

This file was deleted.

31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##### \* LEGAL NOTICE: Your use of this software and any required dependent software (the "Software Package") is subject to the terms and conditions of the software license agreements for the Software Package, which may also include notices, disclaimers, or license terms for third party or open source software included in or with the Software Package, and your use indicates your acceptance of all such terms. Please refer to the "TPP.txt" or other similarly-named text file included with the Software Package for additional details.

##### \* Optimized Analytics Package for Spark* Platform is under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0).

# PMem Common

PMem Common package includes native libraries and JNI interface for Intel Optane PMem.
Expand All @@ -14,8 +18,35 @@ Below libraries need to be installed in the machine

- [Vmemcache](https://github.com/pmem/vmemcache)

### memkind installation

The memkind library depends on `libnuma` at the runtime, so it must already exist in the worker node system. Build the latest memkind lib from source:

```
git clone -b v1.10.1 https://github.com/memkind/memkind
cd memkind
./autogen.sh
./configure
make
make install
```
### vmemcache installation

To build vmemcache library from source, you can (for RPM-based linux as example):
```
git clone https://github.com/pmem/vmemcache
cd vmemcache
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCPACK_GENERATOR=rpm
make package
sudo rpm -i libvmemcache*.rpm
```

## Building

```
git clone -b <tag-version> https://github.com/oap-project/pmem-common.git
cd pmem-common
mvn clean package -Ppersistent-memory,vmemcache
```
Loading

0 comments on commit fd82fc6

Please sign in to comment.