unset CXXFLAGS
- cd $srcdir/my-sql_with_boostkit_patch/$pkgname-$pkgver
check your code alignment.
OK, I will fix it
Thanks, Luan Shengde
Thanks, Xueliang
- CMAKE=cmake
- grep -sqF "CentOS Linux release 7" /etc/centos-release && CMAKE=cmake3
mkdir -p build
cd build && {
$CMAKE .. -DBUILD_CONFIG=mysql_release -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/data/mysql/data -DSYSCONFDIR=/etc -DWITH_BOOST=../boost/boost_1_70_0/
make -j96
}
+}
+package() +{
- mkdir -p $pkgdir/etc
- cp my.cnf $pkgdir/etc/
- cd $srcdir/my-sql_with_boostkit_patch/$pkgname-$pkgver/build
# make DESTDIR=$pkgdir install
make install
+}
2.23.0