Commit 0f241367 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated ceph's Makefile to 14.2.1

parent cb4e12f8
......@@ -29,21 +29,21 @@ all: ceph-config
mkdir tmp
mount --bind tmp /tmp
tar xf ceph-14.2.0.tar.gz
patch -Np1 -d ceph-14.2.0 < ceph-14.2.0-fix_tests.patch
cd ceph-14.2.0 && ./do_cmake.sh -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LIBEXECDIR=/lib -DWITH_SPDK=OFF -DWITH_RDMA=OFF -DWITH_RADOSGW_AMQP_ENDPOINT=OFF
$(MAKE) -C ceph-14.2.0/build npm_config_cache=/build/.npm
tar xf ceph-14.2.1.tar.gz
patch -Np1 -d ceph-14.2.1 < ceph-14.2.1-fix_tests.patch
cd ceph-14.2.1 && ./do_cmake.sh -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LIBEXECDIR=/lib -DWITH_SPDK=OFF -DWITH_RDMA=OFF -DWITH_RADOSGW_AMQP_ENDPOINT=OFF
$(MAKE) -C ceph-14.2.1/build npm_config_cache=/build/.npm
hostname localhost
cd ceph-14.2.0 && tar xf ../ceph-object-corpus.tar.xz
cd ceph-14.2.0/build && make check
# cd ceph-14.2.0/build && ctest --output-on-failure --timeout 7200
cd ceph-14.2.1 && tar xf ../ceph-object-corpus.tar.xz
cd ceph-14.2.1/build && make check
# cd ceph-14.2.1/build && ctest --output-on-failure --timeout 7200
umount /tmp
rm -rf tmp
swapoff swap
rm -rf swap
$(MAKE) -C ceph-14.2.0/build install
$(MAKE) -C ceph-14.2.1/build install
rm /usr/bin/ceph_test*
find / -name *.pyc -exec rm -f '{}' ';'
find / -name *.js.map -exec rm -f '{}' ';'
......@@ -69,7 +69,7 @@ all: ceph-config
systemctl enable ceph-mon.target
rm -rf ceph-14.2.0
rm -rf ceph-14.2.1
ceph-config:
define CEPH_CONFIG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment