[Groonga-mysql-commit] mroonga/mroonga at b62f64a [master] rpm centos: fix missing my_config.h error

Back to archive index
Kentaro Hayashi null+****@clear*****
Wed May 29 14:02:19 JST 2019


Kentaro Hayashi	2019-05-29 14:02:19 +0900 (Wed, 29 May 2019)

  Revision: b62f64a23f40dc9c13848504698425ee215ce1dc
  https://github.com/mroonga/mroonga/commit/b62f64a23f40dc9c13848504698425ee215ce1dc

  Message:
    rpm centos: fix missing my_config.h error
    
    my_config.h is generated during build phase.

  Modified files:
    packages/rpm/centos/mysql80-community-mroonga.spec.in

  Modified: packages/rpm/centos/mysql80-community-mroonga.spec.in (+6 -3)
===================================================================
--- packages/rpm/centos/mysql80-community-mroonga.spec.in    2019-05-28 17:53:33 +0900 (eba33c84)
+++ packages/rpm/centos/mysql80-community-mroonga.spec.in    2019-05-29 14:02:19 +0900 (40213c96)
@@ -80,18 +80,21 @@ if [ ! -d ${mysql_source} ]; then
         --define 'optflags -O0' \
         ../../SPECS/%{_mysql_spec_file}
     pushd ${mysql_source}
-    cmake3 . \
+    mkdir build && pushd build
+    cmake3 .. \
         -DBUILD_CONFIG=mysql_release \
         -DINSTALL_LAYOUT=RPM \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-        -DWITH_BOOST=.. \
+        -DWITH_BOOST=../.. \
         -DINSTALL_LIBDIR="%{_lib}/mysql" \
         -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin"
-    popd
+    make %{?_smp_mflags} VERBOSE=1
+    popd && popd
 fi
 %configure \
     --disable-static \
     --with-mysql-source=${mysql_source} \
+    --with-mysql-build=${mysql_source}/build \
     --enable-fast-mutexes \
     %{?mroonga_configure_options}
 make %{?_smp_mflags}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20190529/8e721c9d/attachment-0001.html>


More information about the Groonga-mysql-commit mailing list
Back to archive index