Skip to content

Commit b3e4947

Browse files
committed
resolve shared library issue
1 parent fed6bb0 commit b3e4947

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ nvml:
3434
nvml-clean:
3535
cd nvml && ./clean.sh
3636

37+
nvml-install:
38+
cd nvml && make install
39+
3740
nvml-example:
3841
cd nvml/src/examples/libpmemobj/ && make
3942

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,12 @@ To clean, run:
118118
$ make nvml-clean
119119
```
120120

121-
Or you can also directly use the original scripts they provided under `pmtest/nvml/`. For more information, please refer to `pmtest/nvml/README.md`.
121+
For convenience, you may want to install the shared libraries, run:
122+
```
123+
$ sudo make nvml-install
124+
```
125+
126+
Or you can also directly use the original scripts and Makefile they provided under `pmtest/nvml/`. For more information, please refer to `pmtest/nvml/README.md`.
122127

123128
## Testing and reproducing bugs
124129
To compile the examples, run:

0 commit comments

Comments
 (0)