You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2020/06/23 07:59:46 UTC

[GitHub] [ignite] ivandasch opened a new pull request #7956: IGNITE-13176 C++: Remove autoconf and automake scripts.

ivandasch opened a new pull request #7956:
URL: https://github.com/apache/ignite/pull/7956


   Thank you for submitting the pull request to the Apache Ignite.
   
   In order to streamline the review of the contribution 
   we ask you to ensure the following steps have been taken:
   
   ### The Contribution Checklist
   - [ ] There is a single JIRA ticket related to the pull request. 
   - [ ] The web-link to the pull request is attached to the JIRA ticket.
   - [ ] The JIRA ticket has the _Patch Available_ state.
   - [ ] The pull request body describes changes that have been made. 
   The description explains _WHAT_ and _WHY_ was made instead of _HOW_.
   - [ ] The pull request title is treated as the final commit message. 
   The following pattern must be used: `IGNITE-XXXX Change summary` where `XXXX` - number of JIRA issue.
   - [ ] A reviewer has been mentioned through the JIRA comments 
   (see [the Maintainers list](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#HowtoContribute-ReviewProcessandMaintainers)) 
   - [ ] The pull request has been checked by the Teamcity Bot and 
   the `green visa` attached to the JIRA ticket (see [TC.Bot: Check PR](https://mtcga.gridgain.com/prs.html))
   
   ### Notes
   - [How to Contribute](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute)
   - [Coding abbreviation rules](https://cwiki.apache.org/confluence/display/IGNITE/Abbreviation+Rules)
   - [Coding Guidelines](https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines)
   - [Apache Ignite Teamcity Bot](https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+Teamcity+Bot)
   
   If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com _#ignite_ channel.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] ivandasch commented on a change in pull request #7956: IGNITE-13176 C++: Remove autoconf and automake scripts.

Posted by GitBox <gi...@apache.org>.
ivandasch commented on a change in pull request #7956:
URL: https://github.com/apache/ignite/pull/7956#discussion_r447128904



##########
File path: pom.xml
##########
@@ -756,11 +682,10 @@
 
                                         <echo message="Update ignite.version in C++" />
                                         <replaceregexp byline="true" encoding="UTF-8">
-                                            <regexp pattern="(AC_INIT.+\[)\d+\.\d+\.\d+.*?(\].+)" />
+                                            <regexp pattern="(project\(.*\s)\d+\.\d+\.\d+.*?(\))" />

Review comment:
       Yes, I try it, as I mentioned in comment in jira. You can try it by yourself or in on-line checker tool.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] ivandasch commented on a change in pull request #7956: IGNITE-13176 C++: Remove autoconf and automake scripts.

Posted by GitBox <gi...@apache.org>.
ivandasch commented on a change in pull request #7956:
URL: https://github.com/apache/ignite/pull/7956#discussion_r447129259



##########
File path: modules/platforms/cpp/DEVNOTES.txt
##########
@@ -8,62 +8,6 @@ further instructions.
 For details on ODBC driver installation and usage please refer to
 $IGNITE_HOME/platforms/cpp/odbc/README.txt.
 
-Building on Linux With Autotools
-----------------------------------
-
-Common Requirements:
-
- * GCC, g++, autotools, automake, and libtool must be installed
- * OpenSSL, 1.0 or later
- * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp
- * JAVA_HOME environment variable must be set pointing to Java installation directory.
- * IGNITE_HOME environment variable must be set to Ignite installation directory.
- * To build ODBC driver you need to install ODBC Driver Manager on you system.
-   Apache Ignite has been tested with UnixODBC. Make sure that you install development
-   version of the driver manager which contains header files that are necessary for
-   building a driver.
-
-Building the Apache Ignite C++ components:
-
- * Navigate to the directory $IGNITE_HOME/platforms/cpp
- * Execute the following commands one by one to build the project:
-    * libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
-    * ./configure
-    * make
-
-Among standard included by autotools options configure script also include following
-Ignite-specific options:
- * --enable-odbc - build included ODBC driver. Disabled by default.
- * --enable-core - build Ignite core library. Enabled by default.
- * --enable-thin-client - build thin client library. Enabled by default.
- * --enable-node - build stand-alone node executable. Enabled by default.
-
-If you only need to build ODBC driver and do not want to build anything else you may just
-use configure script with the following arguments:
- ./configure --enable-odbc --disable-core --disable-thin-client --disable-node
-
-With the config like that you should not have any ignite dependencies as jvm.dll installed
-to build ODBC driver.
-
-Similarly if you only want to build only thin client you may use configure script with
-the following arguments:
- ./configure --disable-core --disable-node
-
-NOTE: You may want to use "make install" command to install Ignite libraries and headers
-for your operation system. Note however that this action may require superuser privileges.
-
-Building tests:

Review comment:
       All required info about tests are below in CMake section.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] isapego commented on a change in pull request #7956: IGNITE-13176 C++: Remove autoconf and automake scripts.

Posted by GitBox <gi...@apache.org>.
isapego commented on a change in pull request #7956:
URL: https://github.com/apache/ignite/pull/7956#discussion_r447605433



##########
File path: modules/platforms/cpp/DEVNOTES.txt
##########
@@ -8,62 +8,6 @@ further instructions.
 For details on ODBC driver installation and usage please refer to
 $IGNITE_HOME/platforms/cpp/odbc/README.txt.
 
-Building on Linux With Autotools
-----------------------------------
-
-Common Requirements:
-
- * GCC, g++, autotools, automake, and libtool must be installed
- * OpenSSL, 1.0 or later
- * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp
- * JAVA_HOME environment variable must be set pointing to Java installation directory.
- * IGNITE_HOME environment variable must be set to Ignite installation directory.
- * To build ODBC driver you need to install ODBC Driver Manager on you system.
-   Apache Ignite has been tested with UnixODBC. Make sure that you install development
-   version of the driver manager which contains header files that are necessary for
-   building a driver.
-
-Building the Apache Ignite C++ components:
-
- * Navigate to the directory $IGNITE_HOME/platforms/cpp
- * Execute the following commands one by one to build the project:
-    * libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
-    * ./configure
-    * make
-
-Among standard included by autotools options configure script also include following
-Ignite-specific options:
- * --enable-odbc - build included ODBC driver. Disabled by default.
- * --enable-core - build Ignite core library. Enabled by default.
- * --enable-thin-client - build thin client library. Enabled by default.
- * --enable-node - build stand-alone node executable. Enabled by default.
-
-If you only need to build ODBC driver and do not want to build anything else you may just
-use configure script with the following arguments:
- ./configure --enable-odbc --disable-core --disable-thin-client --disable-node
-
-With the config like that you should not have any ignite dependencies as jvm.dll installed
-to build ODBC driver.
-
-Similarly if you only want to build only thin client you may use configure script with
-the following arguments:
- ./configure --disable-core --disable-node
-
-NOTE: You may want to use "make install" command to install Ignite libraries and headers
-for your operation system. Note however that this action may require superuser privileges.
-
-Building tests:
-
-Boost framework is required to build tests. The following boost libraries are used:
- * boost_unit_test_framework
- * boost_thread
- * boost_system
- * boost_chrono
-
-Ignite expects for boost libraries and header to be found under default system paths, so
-it is recommended to use package repository for your OS to install boost package for the
-development.
-
 Building on Linux and Mac OS X with CMake

Review comment:
       Should we mention that building with CMake on Windows is not supported yet? Just to avoid unnecessary user list threads




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] ivandasch commented on a change in pull request #7956: IGNITE-13176 C++: Remove autoconf and automake scripts.

Posted by GitBox <gi...@apache.org>.
ivandasch commented on a change in pull request #7956:
URL: https://github.com/apache/ignite/pull/7956#discussion_r447128530



##########
File path: assembly/release-apache-ignite-base.xml
##########
@@ -36,15 +36,9 @@
         </file>
 
         <file>
-            <source>modules/platforms/cpp/configure.acrel</source>
+            <source>modules/platforms/cpp/CMakeLists.txt</source>

Review comment:
       Yes, I forgot this in the first commit. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] alamar commented on a change in pull request #7956: IGNITE-13176 C++: Remove autoconf and automake scripts.

Posted by GitBox <gi...@apache.org>.
alamar commented on a change in pull request #7956:
URL: https://github.com/apache/ignite/pull/7956#discussion_r447126702



##########
File path: pom.xml
##########
@@ -756,11 +682,10 @@
 
                                         <echo message="Update ignite.version in C++" />
                                         <replaceregexp byline="true" encoding="UTF-8">
-                                            <regexp pattern="(AC_INIT.+\[)\d+\.\d+\.\d+.*?(\].+)" />
+                                            <regexp pattern="(project\(.*\s)\d+\.\d+\.\d+.*?(\))" />

Review comment:
       Did you try it out? I'm not sure it will replace correctly.

##########
File path: assembly/release-apache-ignite-base.xml
##########
@@ -36,15 +36,9 @@
         </file>
 
         <file>
-            <source>modules/platforms/cpp/configure.acrel</source>
+            <source>modules/platforms/cpp/CMakeLists.txt</source>

Review comment:
       We didn't copy it before? What was affected?

##########
File path: modules/platforms/cpp/DEVNOTES.txt
##########
@@ -8,62 +8,6 @@ further instructions.
 For details on ODBC driver installation and usage please refer to
 $IGNITE_HOME/platforms/cpp/odbc/README.txt.
 
-Building on Linux With Autotools
-----------------------------------
-
-Common Requirements:
-
- * GCC, g++, autotools, automake, and libtool must be installed
- * OpenSSL, 1.0 or later
- * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp
- * JAVA_HOME environment variable must be set pointing to Java installation directory.
- * IGNITE_HOME environment variable must be set to Ignite installation directory.
- * To build ODBC driver you need to install ODBC Driver Manager on you system.
-   Apache Ignite has been tested with UnixODBC. Make sure that you install development
-   version of the driver manager which contains header files that are necessary for
-   building a driver.
-
-Building the Apache Ignite C++ components:
-
- * Navigate to the directory $IGNITE_HOME/platforms/cpp
- * Execute the following commands one by one to build the project:
-    * libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
-    * ./configure
-    * make
-
-Among standard included by autotools options configure script also include following
-Ignite-specific options:
- * --enable-odbc - build included ODBC driver. Disabled by default.
- * --enable-core - build Ignite core library. Enabled by default.
- * --enable-thin-client - build thin client library. Enabled by default.
- * --enable-node - build stand-alone node executable. Enabled by default.
-
-If you only need to build ODBC driver and do not want to build anything else you may just
-use configure script with the following arguments:
- ./configure --enable-odbc --disable-core --disable-thin-client --disable-node
-
-With the config like that you should not have any ignite dependencies as jvm.dll installed
-to build ODBC driver.
-
-Similarly if you only want to build only thin client you may use configure script with
-the following arguments:
- ./configure --disable-core --disable-node
-
-NOTE: You may want to use "make install" command to install Ignite libraries and headers
-for your operation system. Note however that this action may require superuser privileges.
-
-Building tests:

Review comment:
       Building tests section should probably stay.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] ivandasch commented on a change in pull request #7956: IGNITE-13176 C++: Remove autoconf and automake scripts.

Posted by GitBox <gi...@apache.org>.
ivandasch commented on a change in pull request #7956:
URL: https://github.com/apache/ignite/pull/7956#discussion_r447132208



##########
File path: pom.xml
##########
@@ -756,11 +682,10 @@
 
                                         <echo message="Update ignite.version in C++" />
                                         <replaceregexp byline="true" encoding="UTF-8">
-                                            <regexp pattern="(AC_INIT.+\[)\d+\.\d+\.\d+.*?(\].+)" />
+                                            <regexp pattern="(project\(.*\s)\d+\.\d+\.\d+.*?(\))" />

Review comment:
       `mvn -P update-versions -Dnew.ignite.version=<new_version> validate` and check that in CMakeLists.txt everything correctly updates.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org