Commit 1e4eef5c authored by Tuukka Pasanen's avatar Tuukka Pasanen Committed by Daniel Black

MDEV-31045: Fix regression building on Ubuntu 18.04

Github PR #2424 regressed Ubuntu 18.04 building
other than x86_64 machines. Architecture that are
impacted are PPC64 and ARM64.
This was because of changes in debian/rules file
which caused removing dependency to package 'libpmem-dev'
and CMake which '-DWITH_PMEM' removing not working
correctly. Package libpmem-dev was removed but
it still required to have PMEM with CMake which.
Commit make change that -DWITH_PMEM is correctly removed
if it's not wanted.
parent f50abab1
......@@ -64,7 +64,7 @@ replace_uring_with_aio()
disable_pmem()
{
sed '/libpmem-dev/d' -i debian/control
sed '/-DWITH_PMEM=YES/d' -i debian/rules
sed '/-DWITH_PMEM=ON/d' -i debian/rules
}
architecture=$(dpkg-architecture -q DEB_BUILD_ARCH)
......
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