Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
None
-
None
-
None
Description
Warning message appears during mariadb-columnstore-api compilation SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead
~/mariadb-columnstore-api# cmake -DTEST_RUNNER=ON -DRUN_CPPCHECK=ON -DDEB=ON .
– The C compiler identification is GNU 7.3.0
– The CXX compiler identification is GNU 7.3.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Performing Test COMPILER_SUPPORTS_CXX11
– Performing Test COMPILER_SUPPORTS_CXX11 - Success
– Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
– Found LIBUV: /usr/lib/x86_64-linux-gnu/libuv.so
– Found SNAPPY: /usr/lib/x86_64-linux-gnu/libsnappy.so
– Boost version: 1.65.1
– Found GTest: /usr/lib/libgtest.so
– Found MySQL: /usr/local/mariadb/columnstore/mysql/lib/libmysqlclient.so
– Found Threads: TRUE
– Found Python2 interpreter
– Found Python2 header file Python.h
– Found Python3 interpreter
– Found Python3 header file Python.h
– Found SWIG: /usr/bin/swig3.0 (found suitable version "3.0.12", minimum required is "3")
– Found SWIG: /usr/bin/swig3.0 (found version "3.0.12")
– Found Java: /usr/bin/java (found version "1.8.0_171")
– Found JNI: /usr/lib/jvm/default-java/lib/libjawt.so
CMake Deprecation Warning at /usr/share/cmake-3.10/Modules/UseSWIG.cmake:231 (message):
SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
java/CMakeLists.txt:27 (swig_add_module)
– Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
– -----------------------------------------------
– CMAKE_INSTALL_PREFIX = /usr/local
– CMAKE_BUILD_TYPE = RELWITHDEBINFO
– TEST_RUNNER = ON
– RUN_CPPCHECK = ON
– BUILD_DOCS = OFF
– PYTHON = ON
– JAVA = ON
– SPARK_CONNECTOR = ON
– RPM = OFF
– DEB = ON
– Change a values with: cmake -D<Variable>=<Value>
– ------------------------------------------------
–
-- Configuring done
– Generating done
– Build files have been written to: /root/mariadb-columnstore-api