Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1178

CMAKE_C_COMPILER, CMAKE_CXX_COMPILER not passed to CMake invocation for EP_mnmlstc_core

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Build
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Perl/CXX 2017-03-24, Perl/CXX 2017-04-14

      Description

      If users set CMAKE_C_COMPILER or CMAKE_CXX_COMPILER when invoking CMake, the specified compilers will be used to compile the driver, but not to compile external dependencies like EP_mnmlstc_core.

      See the attached build log. Note that the user's CMake configure check says "Check for working CXX compiler: /opt/mongodbtoolchain/v2/bin/g++", but the EP_mnmlstc_core configure check says "Check for working CXX compiler: /usr/bin/c++".

      Users can use the CC and CXX environment variables to work around this issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: