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

Commit 197dcda

Browse files
Merge pull request #882 from lukaszstolarczuk/merge-stable-1.7-into-stable-1.8
Merge stable 1.7 into stable 1.8
2 parents eb3cecd + d0d89e1 commit 197dcda

File tree

9 files changed

+42
-131
lines changed

9 files changed

+42
-131
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ add_custom_target(tests)
205205

206206
if(DEVELOPER_MODE)
207207
add_flag(-Werror) # XXX: WX for windows
208-
find_program(CLANG_FORMAT NAMES clang-format clang-format-8.0)
208+
find_program(CLANG_FORMAT NAMES clang-format clang-format-8 clang-format-8.0)
209209
set(CLANG_FORMAT_REQUIRED "8.0")
210210
if(CLANG_FORMAT)
211211
get_program_version(${CLANG_FORMAT} CLANG_FORMAT_VERSION)

doc/libpmemobj++.Doxyfile.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ services:
99

1010
env:
1111
matrix:
12-
- TYPE=debug OS=fedora OS_VER=30 PUSH_IMAGE=1 AUTO_DOC_UPDATE=1
13-
- TYPE=debug OS=ubuntu OS_VER=19.04 PUSH_IMAGE=1
14-
- TYPE=debug OS=ubuntu OS_VER=19.04 COVERAGE=1
15-
- TYPE=release OS=fedora OS_VER=30
16-
- TYPE=release OS=ubuntu OS_VER=19.04
17-
- TYPE=valgrind OS=ubuntu OS_VER=19.04
18-
- TYPE=memcheck_drd OS=ubuntu OS_VER=19.04
19-
- TYPE=coverity OS=ubuntu OS_VER=19.04
20-
- TYPE=package OS=ubuntu OS_VER=19.04
21-
- TYPE=package OS=fedora OS_VER=30
12+
- TYPE=debug OS=fedora OS_VER=32 PUSH_IMAGE=1 AUTO_DOC_UPDATE=1
13+
- TYPE=debug OS=ubuntu OS_VER=20.04 PUSH_IMAGE=1
14+
- TYPE=debug OS=ubuntu OS_VER=20.04 COVERAGE=1
15+
- TYPE=release OS=fedora OS_VER=32
16+
- TYPE=release OS=ubuntu OS_VER=20.04
17+
- TYPE=valgrind OS=ubuntu OS_VER=20.04
18+
- TYPE=memcheck_drd OS=ubuntu OS_VER=20.04
19+
- TYPE=coverity OS=ubuntu OS_VER=20.04
20+
- TYPE=package OS=ubuntu OS_VER=20.04
21+
- TYPE=package OS=fedora OS_VER=32
2222

2323
before_install:
2424
- echo $TRAVIS_COMMIT_RANGE
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#
3636

3737
# Pull base image
38-
FROM fedora:30
38+
FROM fedora:32
3939
MAINTAINER marcin.slusarz@intel.com
4040

4141
# Additional parameters to build docker without building components
@@ -51,6 +51,7 @@ RUN dnf update -y \
5151
bash-completion \
5252
clang \
5353
cmake \
54+
daxctl-devel \
5455
doxygen \
5556
gcc \
5657
gdb \
@@ -65,6 +66,7 @@ RUN dnf update -y \
6566
make \
6667
man \
6768
ncurses-devel \
69+
ndctl-devel \
6870
open-sans-fonts \
6971
passwd \
7072
perl-Text-Diff \
@@ -80,10 +82,6 @@ RUN dnf update -y \
8082
xmlto \
8183
&& dnf clean all
8284

83-
# Install libndctl
84-
COPY install-libndctl.sh install-libndctl.sh
85-
RUN ./install-libndctl.sh fedora
86-
8785
# Install valgrind
8886
COPY install-valgrind.sh install-valgrind.sh
8987
RUN ./install-valgrind.sh
@@ -102,7 +100,7 @@ USER $USER
102100

103101
# Set required environment variables
104102
ENV OS fedora
105-
ENV OS_VER 30
103+
ENV OS_VER 32
106104
ENV PACKAGE_MANAGER rpm
107105
ENV NOTTY 1
108106

utils/docker/images/Dockerfile.ubuntu-19.04 renamed to utils/docker/images/Dockerfile.ubuntu-20.04

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#
3636

3737
# Pull base image
38-
FROM ubuntu:19.04
38+
FROM ubuntu:20.04
3939
MAINTAINER marcin.slusarz@intel.com
4040

4141
# Additional parameters to build docker without building components
@@ -50,7 +50,7 @@ RUN apt-get update \
5050
asciidoc \
5151
autoconf \
5252
clang \
53-
clang-format \
53+
clang-format-8 \
5454
cmake \
5555
curl \
5656
debhelper \
@@ -60,9 +60,11 @@ RUN apt-get update \
6060
gdb \
6161
git \
6262
graphviz \
63+
libdaxctl-dev \
6364
libjson-c-dev \
6465
libkmod-dev \
6566
libncurses5-dev \
67+
libndctl-dev \
6668
libsfml-dev \
6769
libtbb-dev \
6870
libtext-diff-perl \
@@ -78,10 +80,6 @@ RUN apt-get update \
7880
whois \
7981
&& rm -rf /var/lib/apt/lists/*
8082

81-
# Install libndctl
82-
COPY install-libndctl.sh install-libndctl.sh
83-
RUN ./install-libndctl.sh
84-
8583
# Install valgrind
8684
COPY install-valgrind.sh install-valgrind.sh
8785
RUN ./install-valgrind.sh
@@ -98,6 +96,6 @@ USER $USER
9896

9997
# Set required environment variables
10098
ENV OS ubuntu
101-
ENV OS_VER 19.04
99+
ENV OS_VER 20.04
102100
ENV PACKAGE_MANAGER deb
103101
ENV NOTTY 1

utils/docker/images/build-image.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ function usage {
4949
"current directory."
5050
}
5151

52-
# Check if the first and second argument is nonempty
53-
if [[ -z "$1" || -z "$2" ]]; then
52+
echo "Check if the first and second argument are nonempty: \"${1}\", \"${2}\""
53+
if [[ -z "${1}" || -z "${2}" ]]; then
5454
usage
5555
exit 1
5656
fi
5757

58-
# Check if the file Dockerfile.OS-VER exists
58+
echo "Check if the file Dockerfile.${1}-${2} exists"
5959
if [[ ! -f "Dockerfile.$2" ]]; then
6060
echo "ERROR: wrong argument."
6161
usage
6262
exit 1
6363
fi
6464

65-
# Build a Docker image tagged with ${DOCKERHUB_REPO}:1.8-OS-VER
65+
echo "Build a Docker image tagged with ${DOCKERHUB_REPO}:1.8-${1}-${2}"
6666
docker build -t $1:1.8-$2 \
6767
--build-arg http_proxy=$http_proxy \
6868
--build-arg https_proxy=$https_proxy \

utils/docker/images/install-libndctl.sh

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

utils/docker/images/install-valgrind.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ fi
4343

4444
git clone --recursive https://github.com/pmem/valgrind.git
4545
cd valgrind
46-
# pmem-3.14: fix memcheck failure on Ubuntu-19.04
47-
git checkout 0965e35d7fd5c7941dc3f2a0c981cb8386c479d3
46+
# pmem-3.15: Merge pull request #81 from marcinslusarz/pmem-3.15
47+
git checkout 09f75f69683d862f8456f75484fcdc0dc5508900
48+
4849
./autogen.sh
4950
./configure --prefix=/usr
5051
make -j$(nproc)
51-
make -j$(nproc) install
52+
sudo make -j$(nproc) install
5253
cd ..
5354
rm -rf valgrind

utils/docker/images/push-image.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,24 @@ function usage {
4949
"locally."
5050
}
5151

52-
# Check if the first argument is nonempty
53-
if [[ -z "$1" ]]; then
52+
OS__OS_VER=${1}
53+
echo "Check if the first argument (OS-VER) is nonempty: \"${OS__OS_VER}\""
54+
if [[ -z "${OS__OS_VER}" ]]; then
5455
usage
5556
exit 1
5657
fi
5758

58-
# Check if the image tagged with ${DOCKERHUB_REPO}:1.8-OS-VER exists locally
59-
if [[ ! $(docker images -a | awk -v pattern="^${DOCKERHUB_REPO}:1.8-$1\$" \
59+
echo "Check if the image tagged with ${DOCKERHUB_REPO}:1.8-${OS__OS_VER} exists locally"
60+
if [[ ! $(docker images -a | awk -v pattern="^${DOCKERHUB_REPO}:1.8-${OS__OS_VER}\$" \
6061
'$1":"$2 ~ pattern') ]]
6162
then
6263
echo "ERROR: wrong argument."
6364
usage
6465
exit 1
6566
fi
6667

67-
# Log in to the Docker Hub
68+
echo "Log in to the Docker Hub"
6869
docker login -u="$DOCKERHUB_USER" -p="$DOCKERHUB_PASSWORD"
6970

70-
# Push the image to the repository
71-
docker push ${DOCKERHUB_REPO}:1.8-$1
71+
echo "Push the image to the repository"
72+
docker push ${DOCKERHUB_REPO}:1.8-${OS__OS_VER}

0 commit comments

Comments
 (0)