rm -rf build
cmake -S .. -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DDEVELOPMENT=ON -DTUNING=ON -DINCLUDE_TRACING_MODULE=OFF -DOPENBENCH_COMPLIANCE_MODE=ON -DBUILD_TESTING=OFF \
-DCMAKE_C_COMPILER=cc -DCMAKE_CXX_COMPILER=clang++ \
rm -f illumina_x64_base illumina_x64_sse2 illumina_x64_bmi2 illumina_x64_avx2 illumina_x64_avx512
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ - broken
CMake Error at /usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler
"/usr/bin/clang++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/tmp/user/1011/tmp5tp6zglm/Illumina/Illumina-tmp/openbench/build/CMakeFiles/CMakeScratch/TryCompile-cQoOg8'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_cd19d/fast
gmake[1]: Entering directory '/tmp/user/1011/tmp5tp6zglm/Illumina/Illumina-tmp/openbench/build/CMakeFiles/CMakeScratch/TryCompile-cQoOg8'
/usr/bin/gmake -f CMakeFiles/cmTC_cd19d.dir/build.make CMakeFiles/cmTC_cd19d.dir/build
gmake[2]: Entering directory '/tmp/user/1011/tmp5tp6zglm/Illumina/Illumina-tmp/openbench/build/CMakeFiles/CMakeScratch/TryCompile-cQoOg8'
Building CXX object CMakeFiles/cmTC_cd19d.dir/testCXXCompiler.cxx.o
/usr/bin/clang++ -MD -MT CMakeFiles/cmTC_cd19d.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_cd19d.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_cd19d.dir/testCXXCompiler.cxx.o -c /tmp/user/1011/tmp5tp6zglm/Illumina/Illumina-tmp/openbench/build/CMakeFiles/CMakeScratch/TryCompile-cQoOg8/testCXXCompiler.cxx
Linking CXX executable cmTC_cd19d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd19d.dir/link.txt --verbose=1
/usr/bin/clang++ CMakeFiles/cmTC_cd19d.dir/testCXXCompiler.cxx.o -o cmTC_cd19d
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [CMakeFiles/cmTC_cd19d.dir/build.make:100: cmTC_cd19d] Error 1
gmake[2]: Leaving directory '/tmp/user/1011/tmp5tp6zglm/Illumina/Illumina-tmp/openbench/build/CMakeFiles/CMakeScratch/TryCompile-cQoOg8'
gmake[1]: *** [Makefile:127: cmTC_cd19d/fast] Error 2
gmake[1]: Leaving directory '/tmp/user/1011/tmp5tp6zglm/Illumina/Illumina-tmp/openbench/build/CMakeFiles/CMakeScratch/TryCompile-cQoOg8'
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
make: *** [Makefile:58: configure] Error 1