Skip to content

Commit 1e4eef5

Browse files
illuusiogrooverdan
authored andcommitted
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.
1 parent f50abab commit 1e4eef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/autobake-deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ replace_uring_with_aio()
6464
disable_pmem()
6565
{
6666
sed '/libpmem-dev/d' -i debian/control
67-
sed '/-DWITH_PMEM=YES/d' -i debian/rules
67+
sed '/-DWITH_PMEM=ON/d' -i debian/rules
6868
}
6969

7070
architecture=$(dpkg-architecture -q DEB_BUILD_ARCH)

0 commit comments

Comments
 (0)