Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 3979a3f

Browse files
authored
Merge pull request #864 from lukaszstolarczuk/merge-stable-1.5-into-stable-1.6
Merge stable-1.5 into stable-1.6
2 parents 3efec23 + 1dc946b commit 3979a3f

File tree

8 files changed

+27
-117
lines changed

8 files changed

+27
-117
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2018-2019, Intel Corporation
2+
# Copyright 2018-2020, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions
@@ -181,7 +181,7 @@ if(DEVELOPER_MODE)
181181
get_program_version(${CLANG_FORMAT} CLANG_FORMAT_VERSION)
182182
if(NOT (CLANG_FORMAT_VERSION VERSION_EQUAL CLANG_FORMAT_REQUIRED))
183183
message(WARNING "required clang-format version is ${CLANG_FORMAT_REQUIRED}")
184-
unset(CLANG_FORMAT)
184+
unset(CLANG_FORMAT CACHE)
185185
endif()
186186
else()
187187
message(WARNING "clang-format not found - C++ sources will not be checked (needed version: ${CLANG_FORMAT_REQUIRED})")

doc/libpmemobj++.Doxyfile.in

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ PROJECT_NAME = "PMDK C++ bindings"
2323
# could be handy for archiving the generated documentation or if some version
2424
# control system is used.
2525

26-
PROJECT_NUMBER = "1.2.0"
26+
PROJECT_NUMBER = @VERSION@
2727

2828
# Using the PROJECT_BRIEF tag one can provide an optional one line description
2929
# for a project that appears at the top of each page and should give viewer a
@@ -73,7 +73,12 @@ HIDE_UNDOC_CLASSES = YES
7373
# standard output by doxygen. If QUIET is set to YES this implies that the
7474
# messages are off.
7575

76-
QUIET = YES
76+
QUIET = NO
77+
78+
# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
79+
# in which the alphabetical index list will be split.
80+
81+
COLS_IN_ALPHA_INDEX = 1
7782

7883
#---------------------------------------------------------------------------
7984
# Configuration options related to the input files

travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
env:
1111
matrix:
1212
- TYPE=normal OS=ubuntu OS_VER=18.04 PUSH_IMAGE=1
13-
- TYPE=normal OS=fedora OS_VER=28 PUSH_IMAGE=1 AUTO_DOC_UPDATE=1
13+
- TYPE=normal OS=fedora OS_VER=32 PUSH_IMAGE=1 AUTO_DOC_UPDATE=1
1414
- TYPE=normal OS=ubuntu OS_VER=18.04 COVERAGE=1
1515
- TYPE=coverity OS=ubuntu OS_VER=18.04
1616

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2016-2018, Intel Corporation
2+
# Copyright 2016-2020, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions
@@ -35,7 +35,7 @@
3535
#
3636

3737
# Pull base image
38-
FROM fedora:28
38+
FROM fedora:32
3939
4040

4141
# Install basic tools
@@ -45,6 +45,7 @@ RUN dnf update -y \
4545
automake \
4646
clang \
4747
cmake \
48+
daxctl-devel \
4849
doxygen \
4950
gcc \
5051
gdb \
@@ -54,6 +55,7 @@ RUN dnf update -y \
5455
make \
5556
man \
5657
ncurses-devel \
58+
ndctl-devel \
5759
open-sans-fonts \
5860
passwd \
5961
perl-Text-Diff \
@@ -75,10 +77,6 @@ RUN dnf update -y \
7577
bash-completion \
7678
&& dnf clean all
7779

78-
# Install libndctl
79-
COPY install-libndctl.sh install-libndctl.sh
80-
RUN ./install-libndctl.sh fedora
81-
8280
# Install valgrind
8381
COPY install-valgrind.sh install-valgrind.sh
8482
RUN ./install-valgrind.sh
@@ -97,7 +95,7 @@ USER $USER
9795

9896
# Set required environment variables
9997
ENV OS fedora
100-
ENV OS_VER 28
98+
ENV OS_VER 32
10199
ENV PACKAGE_MANAGER rpm
102100
ENV NOTTY 1
103101

utils/docker/images/Dockerfile.ubuntu-18.04

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2016-2018, Intel Corporation
2+
# Copyright 2016-2020, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions
@@ -46,7 +46,7 @@ RUN apt-get update \
4646
tzdata \
4747
autoconf \
4848
clang \
49-
clang-format \
49+
clang-format-6.0 \
5050
cmake \
5151
curl \
5252
debhelper \
@@ -57,6 +57,8 @@ RUN apt-get update \
5757
gdb \
5858
git \
5959
graphviz \
60+
libdaxctl-dev \
61+
libndctl-dev \
6062
libunwind-dev \
6163
libtext-diff-perl \
6264
pkg-config \
@@ -73,10 +75,6 @@ RUN apt-get update \
7375
libudev-dev \
7476
&& rm -rf /var/lib/apt/lists/*
7577

76-
# Install libndctl
77-
COPY install-libndctl.sh install-libndctl.sh
78-
RUN ./install-libndctl.sh
79-
8078
# Install valgrind
8179
COPY install-valgrind.sh install-valgrind.sh
8280
RUN ./install-valgrind.sh

utils/docker/images/install-libndctl.sh

Lines changed: 0 additions & 92 deletions
This file was deleted.

utils/docker/images/install-pmdk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright 2018-2019, Intel Corporation
3+
# Copyright 2018-2020, Intel Corporation
44
#
55
# Redistribution and use in source and binary forms, with or without
66
# modification, are permitted provided that the following conditions
@@ -38,7 +38,7 @@ set -e
3838

3939
git clone https://github.com/pmem/pmdk
4040
cd pmdk
41-
git checkout 1.6
41+
git checkout 1.6.1
4242

4343
sudo make EXTRA_CFLAGS="-DUSE_COW_ENV" -j2 install prefix=/opt/pmdk
4444

utils/docker/images/install-valgrind.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright 2016-2019, Intel Corporation
3+
# Copyright 2016-2020, Intel Corporation
44
#
55
# Redistribution and use in source and binary forms, with or without
66
# modification, are permitted provided that the following conditions
@@ -38,11 +38,12 @@ set -e
3838

3939
git clone --recursive https://github.com/pmem/valgrind.git
4040
cd valgrind
41-
# pmem-3.14: pmemcheck: add missing Ist_Flush IRStmt handling
42-
git checkout 332b3975989d9130486d09493a9571528d66eaf7
41+
# pmem-3.15: Merge pull request #81 from marcinslusarz/pmem-3.15
42+
git checkout 09f75f69683d862f8456f75484fcdc0dc5508900
43+
4344
./autogen.sh
4445
./configure --prefix=/usr
45-
make
46-
make install
46+
make -j$(nproc)
47+
sudo make -j$(nproc) install
4748
cd ..
4849
rm -rf valgrind

0 commit comments

Comments
 (0)