|
This change results in failed compilation at least on the local machines, so I am going to revert it since it will be some time before NYC wakes up:
ubuntu@kal-virtual-workstation:~/workspace/mongo$ buildscripts/scons.py -j 256 --ssl --build-tools=next --variables-files=etc/scons/developer_versions.vars --variables-files=etc/scons/mongodbtoolchain_stable_clang.vars CCACHE=ccache ICECC=icecc --link-model=dynamic --dbg=on --opt=off --ninja VARIANT_DIR=ninja generate-ninja
|
...
|
scons: Building targets ...
|
scons: *** [build/ninja/mongo/tools/mongo_tidy_checks/MongoTestCheck.dyn.o] Exception : Could not find tool /opt/mongodbtoolchain/v4/bin/clang++ in ['/opt/mongodbtoolchain/v4/bin/ccache', '/opt/mongodbtoolchain/v4/bin/g++', '-o', 'build/ninja/mongo/tools/mongo_tidy_checks/MongoTestCheck.dyn.o', '-c', '-DGTEST_HAS_RTTI=0', '-D_GNU_SOURCE', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-fPIC', '-fvisibility-inlines-hidden', '-Werror=date-time', '-Wall', '-Wextra', '-Wno-unused-parameter', '-Wwrite-strings', '-Wcast-qual', '-Wno-missing-field-initializers', '-pedantic', '-Wno-long-long', '-Wimplicit-fallthrough', '-Wno-maybe-uninitialized', '-Wno-class-memaccess', '-Wno-redundant-move', '-Wno-noexcept-type', '-Wdelete-non-virtual-dtor', '-Wsuggest-override', '-Wno-comment', '-fdiagnostics-color', '-ffunction-sections', '-fdata-sections', '-fno-common', '-Woverloaded-virtual', '-fno-strict-aliasing', '-O3', '-g2', '-DNDEBUG', '-fPIC', '-fno-exceptions', '-fno-rtti', '-std=c++17', '-fPIC', '-DSAFEINT_USE_INTRINSICS=0', '-DPCRE2_STATIC', '-DMONGO_USE_VISIBILITY', '-D_XOPEN_SOURCE=700', '-D_GNU_SOURCE', '-DABSL_FORCE_ALIGNED_ACCESS', '-DBOOST_ENABLE_ASSERT_DEBUG_HANDLER', '-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF', '-DBOOST_LOG_NO_SHORTHAND_NAMES', '-DBOOST_LOG_USE_NATIVE_SYSLOG', '-DBOOST_LOG_WITHOUT_THREAD_ATTR', '-DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS', '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_THREAD_USES_DATETIME', '-DBOOST_THREAD_VERSION=5', '-DBOOST_LOG_DYN_LINK', '-I/opt/mongodbtoolchain/revisions/11316f1e7b36f08dcdd2ad0640af18f9287876f4/stow/llvm-v4.hhG/include', 'src/mongo/tools/mongo_tidy_checks/MongoTestCheck.cpp'] generated from ${SHCXXCOM}
|
scons: building terminated because of errors.
|
build/ninja/mongo/tools/mongo_tidy_checks/MongoTestCheck.dyn.o failed: Exception : Could not find tool /opt/mongodbtoolchain/v4/bin/clang++ in ['/opt/mongodbtoolchain/v4/bin/ccache', '/opt/mongodbtoolchain/v4/bin/g++', '-o', 'build/ninja/mongo/tools/mongo_tidy_checks/MongoTestCheck.dyn.o', '-c', '-DGTEST_HAS_RTTI=0', '-D_GNU_SOURCE', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-fPIC', '-fvisibility-inlines-hidden', '-Werror=date-time', '-Wall', '-Wextra', '-Wno-unused-parameter', '-Wwrite-strings', '-Wcast-qual', '-Wno-missing-field-initializers', '-pedantic', '-Wno-long-long', '-Wimplicit-fallthrough', '-Wno-maybe-uninitialized', '-Wno-class-memaccess', '-Wno-redundant-move', '-Wno-noexcept-type', '-Wdelete-non-virtual-dtor', '-Wsuggest-override', '-Wno-comment', '-fdiagnostics-color', '-ffunction-sections', '-fdata-sections', '-fno-common', '-Woverloaded-virtual', '-fno-strict-aliasing', '-O3', '-g2', '-DNDEBUG', '-fPIC', '-fno-exceptions', '-fno-rtti', '-std=c++17', '-fPIC', '-DSAFEINT_USE_INTRINSICS=0', '-DPCRE2_STATIC', '-DMONGO_USE_VISIBILITY', '-D_XOPEN_SOURCE=700', '-D_GNU_SOURCE', '-DABSL_FORCE_ALIGNED_ACCESS', '-DBOOST_ENABLE_ASSERT_DEBUG_HANDLER', '-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF', '-DBOOST_LOG_NO_SHORTHAND_NAMES', '-DBOOST_LOG_USE_NATIVE_SYSLOG', '-DBOOST_LOG_WITHOUT_THREAD_ATTR', '-DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS', '-DBOOST_SYSTEM_NO_DEPRECATED', '-DBOOST_THREAD_USES_DATETIME', '-DBOOST_THREAD_VERSION=5', '-DBOOST_LOG_DYN_LINK', '-I/opt/mongodbtoolchain/revisions/11316f1e7b36f08dcdd2ad0640af18f9287876f4/stow/llvm-v4.hhG/include', 'src/mongo/tools/mongo_tidy_checks/MongoTestCheck.cpp'] generated from ${SHCXXCOM}
|
Despite the error that clang++ cannot be found, it is actually there:
ubuntu@kal-virtual-workstation:~/workspace/mongo$ /opt/mongodbtoolchain/v4/bin/clang++ --version
|
MongoDB clang version 12.0.1 (git@github.com:10gen/toolchain-builder.git 11316f1e7b36f08dcdd2ad0640af18f9287876f4)
|
Target: x86_64-mongodb-linux
|
Thread model: posix
|
InstalledDir: /opt/mongodbtoolchain/v4/bin
|
|