cppfastio / fast_io

Freestanding fast input/output for C++20
MIT License
653 stars 55 forks source link

. #809

Closed Arniiiii closed 2 months ago

Arniiiii commented 2 months ago
Some logs ## Experimental means I made them not be built. They selected us such because I couldn't build them on a common glibc toolchain.
g++-15
g++-15 --version ``` g++-15 (Gentoo 15.0.0_pre20240804 p8) 15.0.0 20240804 (experimental) Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ```
with "experimental" targets git clone https://github.com/Arniiiii/fast_io_cmake_cpm --branch next fast_io_cmake_clone cd fast_io_cmake_clone
cmake -S. -Bbuild -DCMAKE_CXX_COMPILER=g++-15 -DCMAKE_C_COMPILER=gcc-15 -DCMAKE_GENERATOR="Ninja" -DCMAKE_BUILD_TYPE=Debug -Dfast_io_ENABLE_TESTS_EXPERIMENTAL=1 -Dfast_io_ENABLE_FUZZING_EXPERIMENTAL=1 -Dfast_io_ENABLE_BENCHMARKS_EXPERIMENTAL=1 -Dfast_io_ENABLE_EXAMPLES_EXPERIMENTAL=1 -DCPM_SOURCE_CACHE=~/.cache/cpm -DCMAKE_CXX_FLAGS='-pipe -march=native -ggdb3 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing' ``` -- The CXX compiler identification is GNU 15.0.0 -- The C compiler identification is GNU 15.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++-15 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc-15 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Git: /usr/bin/git (found version "2.44.2") -- CPM: Adding package AddBoost.CMake@ (main at /home/paxu/.cache/cpm/addboost.cmake/7f2f1b531b72316af1def09259a71465379d6535) -- Tests that are with Boost::uuid are enabled. -- Boost: Debug build, static libraries, MPI OFF, Python OFF, testing OFF -- Boost: libraries included: ;uuid CMake Warning at /home/paxu/.cache/cpm/boost/4114d97be4ef0aa34d469d86b53d263424992d65/tools/cmake/include/BoostRoot.cmake:252 (message): Library '' given in BOOST_INCLUDE_LIBRARIES has not been found. Call Stack (most recent call first): /home/paxu/.cache/cpm/boost/4114d97be4ef0aa34d469d86b53d263424992d65/CMakeLists.txt:20 (include) -- CPM: Adding package Boost@1.86.0 (1.86.0 at /home/paxu/.cache/cpm/boost/4114d97be4ef0aa34d469d86b53d263424992d65) -- Tests that are experimental and with Boost::uuid are enabled -- Tests that are for Windows only are disabled, because CMake thinks you are on a not so Windows-like system. Check yourself: Linux -- Tests that are UNIX-only are enabled -- Tests that are experimental are enabled -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found zstd: /usr/lib64/libzstd.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.12.7") -- Found CURL: /usr/lib64/libcurl.so (found version "8.8.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.0.13", minimum required is "3.0.0") found components: Crypto SSL -- Found Brotli: /usr/include found components: common encoder decoder -- Found httplib: /usr/lib64/libhttplib.so.0.15.3 (found version "0.15.3") -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that are Windows-only are NOT going to be build, because CMake thinks you are not on something Windows-like -- Benchmarks that are Linux-only are going to be build. -- Benchmarks that are experimental and for Linux only are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 1 -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Benchmarks with Qt that are experimental are going to be build. -- Benchmarks with Qt are going to be build with Qt6. -- CPM: Adding package dragonbox@ (master at /home/paxu/.cache/cpm/dragonbox/7695f05b5d3939cd583585d3bee17807cf67d1d3) -- Benchmarks with dragonbox are going to be build. -- Benchmarks that are experimental and with dragonbox are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 1 -- -- Override standard malloc (MI_OVERRIDE=ON) -- Performing Test mi_has_libpthread -- Performing Test mi_has_libpthread - Success -- Performing Test mi_has_librt -- Performing Test mi_has_librt - Success -- Performing Test mi_has_libatomic -- Performing Test mi_has_libatomic - Success -- -- Library base name: mimalloc-debug -- Version : 2.1 -- Build type : debug -- C Compiler : /usr/bin/gcc-15 -- Compiler flags : -Wall;-Wextra;-Wno-unknown-pragmas;-fvisibility=hidden;-Wstrict-prototypes;-ftls-model=initial-exec;-fno-builtin-malloc -- Compiler defines : -- Link libraries : pthread;rt;atomic -- Build targets : shared;static;object;tests -- -- CPM: Adding package mimalloc@2.1.7 (v2.1.7 at /home/paxu/.cache/cpm/mimalloc/72f0d2cb40cc97ffde9214409da7eaed994d09ec) -- Benchmarks with mimalloc are going to be build. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that requires LLVM libraries are going to be build. -- Benchmarks that are experimental and with LLVM are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 1 -- Benchmarks that are experimental are going to be build. -- Android only example is added as build target. -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc-15 => Project : cryptopp-cmake v8.9.0 -- Crypto++ auto fetched at: /home/paxu/code/experiments/fast_io_cmake_clone/build/_deps/cryptopp-cmake-build/cryptopp -- Using branch master for tests -- Adding unit test: disable-asm -- Adding unit test: include-prefix -- Adding unit test: no-install -- Adding unit test: standard-cpm -- Adding install integration test: int-install-default -- Adding install integration test: int-install-prefix => Module : cryptopp -- [cryptopp] CMake version 3.28.5 -- [cryptopp] System Linux -- [cryptopp] Processor x86_64 -- [cryptopp] CMAKE_HOST_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] CMAKE_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] Target architecture detected as: x86_64 -> CRYPTOPP_AMD64 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI - Success -- [cryptopp] Generating cmake package config files -- [cryptopp] Generating pkgconfig files -- [cryptopp] Platform: x86_64 -- [cryptopp] Compiler definitions: -- [cryptopp] Compiler options: -pipe -march=native -ggdb3 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-devirtualize -- [cryptopp] Build type: Debug -- CPM: Adding package cryptopp-cmake@ (master at /home/paxu/.cache/cpm/cryptopp-cmake/73b344efa35049118ad849a4726500346a39cc97) -- Examples with CryptoPP are added using cryptopp-cmake. -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.13") found components: Crypto SSL -- Examples with OpenSSL are going to be build. -- examples with Qt that are experimental are going to be build. -- examples with Qt are going to be build with Qt6. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- examples that requires LLVM libraries are going to be build. -- Examples that are experimental and require LLVM libraries are going to be build. -- Examples that are Windows-only are NOT going to be build, because it seems the system that CMake is running on seems to be not so Windows-like. -- Found Lua: /usr/lib64/liblua5.4.so;/usr/lib64/libm.so (found version "5.4.6") -- Examples with Lua are going to be build. -- Found Python: /usr/include/python3.12 (found version "3.12.3") found components: Development Development.Module Development.Embed -- Examples with Python are going to be build. -- Examples with Emscripten, which are WASM only, are NOT going to be build, because you are not using Emscripten's CMake toolchain. -- Found PkgConfig: /usr/bin/pkg-config (found version "2.2.0") -- Checking for module 'libpulse-simple' -- Found libpulse-simple, version 17.0 -- Examples with PulseAudio's libpulse are going to be build. -- Example with kernel driver for Linux is going to be build. -- Example with kernel driver for Windows is NOT going to be build, because CMake thinks you are not on something Windows-like. -- Examples that are experimental are going to be build. -- CPM: Adding package PackageProject.cmake@1.11.2 (v1.11.2 to /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64) CMake Warning at /usr/share/cmake/Modules/GenerateExportHeader.cmake:416 (message): This macro can only be used with libraries Call Stack (most recent call first): /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64/CMakeLists.txt:49 (generate_export_header) CMakeLists.txt:135 (packageProject) -- Configuring done (8.3s) -- Generating done (0.2s) -- Build files have been written to: /home/paxu/code/experiments/fast_io_cmake_clone/build ```
wgetpaste -s 0x0 -c 'cmake --build ./build/ -j24 -- -k 0' `Your paste can be seen here:` http://0x0.st/X47c.txt
without "experimental" targets
cmake -S. -Bbuild -DCMAKE_CXX_COMPILER=g++-15 -DCMAKE_C_COMPILER=gcc-15 -DCMAKE_GENERATOR="Ninja" -DCMAKE_BUILD_TYPE=Debug -Dfast_io_ENABLE_TESTS_EXPERIMENTAL=0 -Dfast_io_ENABLE_FUZZING_EXPERIMENTAL=0 -Dfast_io_ENABLE_BENCHMARKS_EXPERIMENTAL=0 -Dfast_io_ENABLE_EXAMPLES_EXPERIMENTAL=0 -DCPM_SOURCE_CACHE=~/.cache/cpm -DCMAKE_CXX_FLAGS='-pipe -march=native -ggdb3 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing' ``` -- The CXX compiler identification is GNU 15.0.0 -- The C compiler identification is GNU 15.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++-15 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc-15 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Git: /usr/bin/git (found version "2.44.2") -- CPM: Adding package AddBoost.CMake@ (main at /home/paxu/.cache/cpm/addboost.cmake/7f2f1b531b72316af1def09259a71465379d6535) -- Tests that are with Boost::uuid are enabled. -- Tests that are experimental and with Boost::UUID are disabled, because fast_io_ENABLE_TESTS_EXPERIMENTAL is set to 0 -- Tests that are for Windows only are disabled, because CMake thinks you are on a not so Windows-like system. Check yourself: Linux -- Tests that are UNIX-only are enabled -- Tests that are experimental are disabled, because fast_io_ENABLE_TESTS_EXPERIMENTAL is set to 0 -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found zstd: /usr/lib64/libzstd.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.12.7") -- Found CURL: /usr/lib64/libcurl.so (found version "8.8.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.0.13", minimum required is "3.0.0") found components: Crypto SSL -- Found Brotli: /usr/include found components: common encoder decoder -- Found httplib: /usr/lib64/libhttplib.so.0.15.3 (found version "0.15.3") -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that are Windows-only are NOT going to be build, because CMake thinks you are not on something Windows-like -- Benchmarks that are Linux-only are going to be build. -- Benchmarks that are experimental and for Linux only are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Benchmarks with Qt that are experimental are NOT going to be build because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Benchmarks with Qt are going to be build with Qt6. -- CPM: Adding package dragonbox@ (master at /home/paxu/.cache/cpm/dragonbox/7695f05b5d3939cd583585d3bee17807cf67d1d3) -- Benchmarks with dragonbox are going to be build. -- Benchmarks that are experimental and with dragonbox are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- -- Override standard malloc (MI_OVERRIDE=ON) -- Performing Test mi_has_libpthread -- Performing Test mi_has_libpthread - Success -- Performing Test mi_has_librt -- Performing Test mi_has_librt - Success -- Performing Test mi_has_libatomic -- Performing Test mi_has_libatomic - Success -- -- Library base name: mimalloc-debug -- Version : 2.1 -- Build type : debug -- C Compiler : /usr/bin/gcc-15 -- Compiler flags : -Wall;-Wextra;-Wno-unknown-pragmas;-fvisibility=hidden;-Wstrict-prototypes;-ftls-model=initial-exec;-fno-builtin-malloc -- Compiler defines : -- Link libraries : pthread;rt;atomic -- Build targets : shared;static;object;tests -- -- CPM: Adding package mimalloc@2.1.7 (v2.1.7 at /home/paxu/.cache/cpm/mimalloc/72f0d2cb40cc97ffde9214409da7eaed994d09ec) -- Benchmarks with mimalloc are going to be build. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that requires LLVM libraries are going to be build. -- Benchmarks that are experimental and with LLVM are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Benchmarks that are experimental are NOT going to be build, becuase fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Android only example is added as build target. -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc-15 => Project : cryptopp-cmake v8.9.0 -- Crypto++ auto fetched at: /home/paxu/code/experiments/fast_io_cmake_clone/build/_deps/cryptopp-cmake-build/cryptopp -- Using branch master for tests -- Adding unit test: disable-asm -- Adding unit test: include-prefix -- Adding unit test: no-install -- Adding unit test: standard-cpm -- Adding install integration test: int-install-default -- Adding install integration test: int-install-prefix => Module : cryptopp -- [cryptopp] CMake version 3.28.5 -- [cryptopp] System Linux -- [cryptopp] Processor x86_64 -- [cryptopp] CMAKE_HOST_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] CMAKE_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] Target architecture detected as: x86_64 -> CRYPTOPP_AMD64 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI - Success -- [cryptopp] Generating cmake package config files -- [cryptopp] Generating pkgconfig files -- [cryptopp] Platform: x86_64 -- [cryptopp] Compiler definitions: -- [cryptopp] Compiler options: -pipe -march=native -ggdb3 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-devirtualize -- [cryptopp] Build type: Debug -- CPM: Adding package cryptopp-cmake@ (master at /home/paxu/.cache/cpm/cryptopp-cmake/73b344efa35049118ad849a4726500346a39cc97) -- Examples with CryptoPP are added using cryptopp-cmake. -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.13") found components: Crypto SSL -- Examples with OpenSSL are going to be build. -- examples with Qt that are experimental are NOT going to be build because fast_io_ENABLE_EXAMPLES_EXPERIMENTAL is set to 0 -- examples with Qt are going to be build with Qt6. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- examples that requires LLVM libraries are going to be build. -- Examples that are experimental and require LLVM libraries are NOT going to be build, because fast_io_ENABLE_EXAMPLES_EXPERIMENTAL is set to 0. -- Examples that are Windows-only are NOT going to be build, because it seems the system that CMake is running on seems to be not so Windows-like. -- Found Lua: /usr/lib64/liblua5.4.so;/usr/lib64/libm.so (found version "5.4.6") -- Examples with Lua are going to be build. -- Found Python: /usr/include/python3.12 (found version "3.12.3") found components: Development Development.Module Development.Embed -- Examples with Python are going to be build. -- Examples with Emscripten, which are WASM only, are NOT going to be build, because you are not using Emscripten's CMake toolchain. -- Found PkgConfig: /usr/bin/pkg-config (found version "2.2.0") -- Checking for module 'libpulse-simple' -- Found libpulse-simple, version 17.0 -- Examples with PulseAudio's libpulse are going to be build. -- Example with kernel driver for Linux is going to be build. -- Example with kernel driver for Windows is NOT going to be build, because CMake thinks you are not on something Windows-like. -- Examples that are experimental are NOT going to be build, because fast_io_ENABLE_EXAMPLES_EXPERIMENTAL is set to 0. -- CPM: Adding package PackageProject.cmake@1.11.2 (v1.11.2 at /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64) CMake Warning at /usr/share/cmake/Modules/GenerateExportHeader.cmake:416 (message): This macro can only be used with libraries Call Stack (most recent call first): /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64/CMakeLists.txt:49 (generate_export_header) CMakeLists.txt:135 (packageProject) -- Configuring done (9.3s) -- Generating done (0.1s) -- Build files have been written to: /home/paxu/code/experiments/fast_io_cmake_clone/build ```
wgetpaste -s 0x0 -c 'cmake --build ./build/ -j24 -- -k 0' `Your paste can be seen here:` http://0x0.st/X471.txt
clang++-20
clang++-20 --version ``` clang version 20.0.0gitfd7d7882 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/20/bin Build config: +assertions Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang++.cfg ```
with "experimental" targets
cmake -S. -Bbuild -DCMAKE_CXX_COMPILER=clang++-20 -DCMAKE_C_COMPILER=clang-20 -DCMAKE_GENERATOR="Ninja" -DCMAKE_BUILD_TYPE=Debug -Dfast_io_ENABLE_TESTS_EXPERIMENTAL=1 -Dfast_io_ENABLE_FUZZING_EXPERIMENTAL=1 -Dfast_io_ENABLE_BENCHMARKS_EXPERIMENTAL=1 -Dfast_io_ENABLE_EXAMPLES_EXPERIMENTAL=1 -DCPM_SOURCE_CACHE=~/.cache/cpm -DCMAKE_CXX_FLAGS='-pipe -march=native -ggdb3 -flto -Werror=odr -Werror=strict-aliasing' ``` -- The CXX compiler identification is Clang 20.0.0 -- The C compiler identification is Clang 20.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib/llvm/20/bin/clang++-20 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/lib/llvm/20/bin/clang-20 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Git: /usr/bin/git (found version "2.44.2") -- CPM: Adding package AddBoost.CMake@ (main at /home/paxu/.cache/cpm/addboost.cmake/7f2f1b531b72316af1def09259a71465379d6535) -- Tests that are with Boost::uuid are enabled. -- Boost: Debug build, static libraries, MPI OFF, Python OFF, testing OFF -- Boost: libraries included: ;uuid CMake Warning at /home/paxu/.cache/cpm/boost/4114d97be4ef0aa34d469d86b53d263424992d65/tools/cmake/include/BoostRoot.cmake:252 (message): Library '' given in BOOST_INCLUDE_LIBRARIES has not been found. Call Stack (most recent call first): /home/paxu/.cache/cpm/boost/4114d97be4ef0aa34d469d86b53d263424992d65/CMakeLists.txt:20 (include) -- CPM: Adding package Boost@1.86.0 (1.86.0 at /home/paxu/.cache/cpm/boost/4114d97be4ef0aa34d469d86b53d263424992d65) -- Tests that are experimental and with Boost::uuid are enabled -- Tests that are for Windows only are disabled, because CMake thinks you are on a not so Windows-like system. Check yourself: Linux -- Tests that are UNIX-only are enabled -- Tests that are experimental are enabled -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found zstd: /usr/lib64/libzstd.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.12.7") -- Found CURL: /usr/lib64/libcurl.so (found version "8.8.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.0.13", minimum required is "3.0.0") found components: Crypto SSL -- Found Brotli: /usr/include found components: common encoder decoder -- Found httplib: /usr/lib64/libhttplib.so.0.15.3 (found version "0.15.3") -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that are Windows-only are NOT going to be build, because CMake thinks you are not on something Windows-like -- Benchmarks that are Linux-only are going to be build. -- Benchmarks that are experimental and for Linux only are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 1 -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Benchmarks with Qt that are experimental are going to be build. -- Benchmarks with Qt are going to be build with Qt6. -- CPM: Adding package dragonbox@ (master at /home/paxu/.cache/cpm/dragonbox/7695f05b5d3939cd583585d3bee17807cf67d1d3) -- Benchmarks with dragonbox are going to be build. -- Benchmarks that are experimental and with dragonbox are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 1 -- -- Override standard malloc (MI_OVERRIDE=ON) -- Performing Test mi_has_libpthread -- Performing Test mi_has_libpthread - Success -- Performing Test mi_has_librt -- Performing Test mi_has_librt - Success -- Performing Test mi_has_libatomic -- Performing Test mi_has_libatomic - Success -- -- Library base name: mimalloc-debug -- Version : 2.1 -- Build type : debug -- C Compiler : /usr/lib/llvm/20/bin/clang-20 -- Compiler flags : -Wall;-Wextra;-Wpedantic;-Wno-unknown-pragmas;-fvisibility=hidden;-Wstrict-prototypes;-Wno-static-in-inline;-ftls-model=initial-exec;-fno-builtin-malloc -- Compiler defines : -- Link libraries : pthread;rt;atomic -- Build targets : shared;static;object;tests -- -- CPM: Adding package mimalloc@2.1.7 (v2.1.7 at /home/paxu/.cache/cpm/mimalloc/72f0d2cb40cc97ffde9214409da7eaed994d09ec) -- Benchmarks with mimalloc are going to be build. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that requires LLVM libraries are going to be build. -- Benchmarks that are experimental and with LLVM are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 1 -- Benchmarks that are experimental are going to be build. -- Android only example is added as build target. -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /usr/lib/llvm/20/bin/clang-20 => Project : cryptopp-cmake v8.9.0 -- Crypto++ auto fetched at: /home/paxu/code/experiments/fast_io_cmake_clone/build/_deps/cryptopp-cmake-build/cryptopp -- Using branch master for tests -- Adding unit test: disable-asm -- Adding unit test: include-prefix -- Adding unit test: no-install -- Adding unit test: standard-cpm -- Adding install integration test: int-install-default -- Adding install integration test: int-install-prefix => Module : cryptopp -- [cryptopp] CMake version 3.28.5 -- [cryptopp] System Linux -- [cryptopp] Processor x86_64 -- [cryptopp] CMAKE_HOST_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] CMAKE_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] Target architecture detected as: x86_64 -> CRYPTOPP_AMD64 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI - Success -- [cryptopp] Generating cmake package config files -- [cryptopp] Generating pkgconfig files -- [cryptopp] Platform: x86_64 -- [cryptopp] Compiler definitions: -- [cryptopp] Compiler options: -pipe -march=native -ggdb3 -flto -Werror=odr -Werror=strict-aliasing -- [cryptopp] Build type: Debug -- CPM: Adding package cryptopp-cmake@ (master at /home/paxu/.cache/cpm/cryptopp-cmake/73b344efa35049118ad849a4726500346a39cc97) -- Examples with CryptoPP are added using cryptopp-cmake. -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.13") found components: Crypto SSL -- Examples with OpenSSL are going to be build. -- examples with Qt that are experimental are going to be build. -- examples with Qt are going to be build with Qt6. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- examples that requires LLVM libraries are going to be build. -- Examples that are experimental and require LLVM libraries are going to be build. -- Examples that are Windows-only are NOT going to be build, because it seems the system that CMake is running on seems to be not so Windows-like. -- Found Lua: /usr/lib64/liblua5.4.so;/usr/lib64/libm.so (found version "5.4.6") -- Examples with Lua are going to be build. -- Found Python: /usr/include/python3.12 (found version "3.12.3") found components: Development Development.Module Development.Embed -- Examples with Python are going to be build. -- Examples with Emscripten, which are WASM only, are NOT going to be build, because you are not using Emscripten's CMake toolchain. -- Found PkgConfig: /usr/bin/pkg-config (found version "2.2.0") -- Checking for module 'libpulse-simple' -- Found libpulse-simple, version 17.0 -- Examples with PulseAudio's libpulse are going to be build. -- Example with kernel driver for Linux is going to be build. -- Example with kernel driver for Windows is NOT going to be build, because CMake thinks you are not on something Windows-like. -- Examples that are experimental are going to be build. -- CPM: Adding package PackageProject.cmake@1.11.2 (v1.11.2 at /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64) CMake Warning at /usr/share/cmake/Modules/GenerateExportHeader.cmake:416 (message): This macro can only be used with libraries Call Stack (most recent call first): /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64/CMakeLists.txt:49 (generate_export_header) CMakeLists.txt:135 (packageProject) -- Configuring done (6.3s) -- Generating done (0.1s) -- Build files have been written to: /home/paxu/code/experiments/fast_io_cmake_clone/build ```
wgetpaste -s 0x0 -c 'cmake --build ./build/ -j24 -- -k 0' `Your paste can be seen here:` http://0x0.st/X47W.txt
without "experimental" targets
cmake -S. -Bbuild -DCMAKE_CXX_COMPILER=clang++-20 -DCMAKE_C_COMPILER=clang-20 -DCMAKE_GENERATOR="Ninja" -DCMAKE_BUILD_TYPE=Debug -Dfast_io_ENABLE_TESTS_EXPERIMENTAL=0 -Dfast_io_ENABLE_FUZZING_EXPERIMENTAL=0 -Dfast_io_ENABLE_BENCHMARKS_EXPERIMENTAL=0 -Dfast_io_ENABLE_EXAMPLES_EXPERIMENTAL=0 -DCPM_SOURCE_CACHE=~/.cache/cpm -DCMAKE_CXX_FLAGS='-pipe -march=native -ggdb3 -flto -Werror=odr -Werror=strict-aliasing' ``` -- The CXX compiler identification is Clang 20.0.0 -- The C compiler identification is Clang 20.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib/llvm/20/bin/clang++-20 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/lib/llvm/20/bin/clang-20 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Git: /usr/bin/git (found version "2.44.2") -- CPM: Adding package AddBoost.CMake@ (main at /home/paxu/.cache/cpm/addboost.cmake/7f2f1b531b72316af1def09259a71465379d6535) -- Tests that are with Boost::uuid are enabled. -- Tests that are experimental and with Boost::UUID are disabled, because fast_io_ENABLE_TESTS_EXPERIMENTAL is set to 0 -- Tests that are for Windows only are disabled, because CMake thinks you are on a not so Windows-like system. Check yourself: Linux -- Tests that are UNIX-only are enabled -- Tests that are experimental are disabled, because fast_io_ENABLE_TESTS_EXPERIMENTAL is set to 0 -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found zstd: /usr/lib64/libzstd.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.12.7") -- Found CURL: /usr/lib64/libcurl.so (found version "8.8.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.0.13", minimum required is "3.0.0") found components: Crypto SSL -- Found Brotli: /usr/include found components: common encoder decoder -- Found httplib: /usr/lib64/libhttplib.so.0.15.3 (found version "0.15.3") -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that are Windows-only are NOT going to be build, because CMake thinks you are not on something Windows-like -- Benchmarks that are Linux-only are going to be build. -- Benchmarks that are experimental and for Linux only are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Benchmarks with Qt that are experimental are NOT going to be build because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Benchmarks with Qt are going to be build with Qt6. -- CPM: Adding package dragonbox@ (master at /home/paxu/.cache/cpm/dragonbox/7695f05b5d3939cd583585d3bee17807cf67d1d3) -- Benchmarks with dragonbox are going to be build. -- Benchmarks that are experimental and with dragonbox are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- -- Override standard malloc (MI_OVERRIDE=ON) -- Performing Test mi_has_libpthread -- Performing Test mi_has_libpthread - Success -- Performing Test mi_has_librt -- Performing Test mi_has_librt - Success -- Performing Test mi_has_libatomic -- Performing Test mi_has_libatomic - Success -- -- Library base name: mimalloc-debug -- Version : 2.1 -- Build type : debug -- C Compiler : /usr/lib/llvm/20/bin/clang-20 -- Compiler flags : -Wall;-Wextra;-Wpedantic;-Wno-unknown-pragmas;-fvisibility=hidden;-Wstrict-prototypes;-Wno-static-in-inline;-ftls-model=initial-exec;-fno-builtin-malloc -- Compiler defines : -- Link libraries : pthread;rt;atomic -- Build targets : shared;static;object;tests -- -- CPM: Adding package mimalloc@2.1.7 (v2.1.7 at /home/paxu/.cache/cpm/mimalloc/72f0d2cb40cc97ffde9214409da7eaed994d09ec) -- Benchmarks with mimalloc are going to be build. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- Benchmarks that requires LLVM libraries are going to be build. -- Benchmarks that are experimental and with LLVM are NOT going to be build, because fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Benchmarks that are experimental are NOT going to be build, becuase fast_io_ENABLE_BENCHMARKS_EXPERIMENTAL is set to 0 -- Android only example is added as build target. -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /usr/lib/llvm/20/bin/clang-20 => Project : cryptopp-cmake v8.9.0 -- Crypto++ auto fetched at: /home/paxu/code/experiments/fast_io_cmake_clone/build/_deps/cryptopp-cmake-build/cryptopp -- Using branch master for tests -- Adding unit test: disable-asm -- Adding unit test: include-prefix -- Adding unit test: no-install -- Adding unit test: standard-cpm -- Adding install integration test: int-install-default -- Adding install integration test: int-install-prefix => Module : cryptopp -- [cryptopp] CMake version 3.28.5 -- [cryptopp] System Linux -- [cryptopp] Processor x86_64 -- [cryptopp] CMAKE_HOST_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] CMAKE_SYSTEM_PROCESSOR : x86_64 -- [cryptopp] Target architecture detected as: x86_64 -> CRYPTOPP_AMD64 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI - Success -- [cryptopp] Generating cmake package config files -- [cryptopp] Generating pkgconfig files -- [cryptopp] Platform: x86_64 -- [cryptopp] Compiler definitions: -- [cryptopp] Compiler options: -pipe -march=native -ggdb3 -flto -Werror=odr -Werror=strict-aliasing -- [cryptopp] Build type: Debug -- CPM: Adding package cryptopp-cmake@ (master at /home/paxu/.cache/cpm/cryptopp-cmake/73b344efa35049118ad849a4726500346a39cc97) -- Examples with CryptoPP are added using cryptopp-cmake. -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.13") found components: Crypto SSL -- Examples with OpenSSL are going to be build. -- examples with Qt that are experimental are NOT going to be build because fast_io_ENABLE_EXAMPLES_EXPERIMENTAL is set to 0 -- examples with Qt are going to be build with Qt6. -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- LLVM_INCLUDE_DIRS: /usr/lib/llvm/20/include -- LLVM_FOUND: 1 -- LLVM_VERSION: 20.0.0gitfd7d7882 -- examples that requires LLVM libraries are going to be build. -- Examples that are experimental and require LLVM libraries are NOT going to be build, because fast_io_ENABLE_EXAMPLES_EXPERIMENTAL is set to 0. -- Examples that are Windows-only are NOT going to be build, because it seems the system that CMake is running on seems to be not so Windows-like. -- Found Lua: /usr/lib64/liblua5.4.so;/usr/lib64/libm.so (found version "5.4.6") -- Examples with Lua are going to be build. -- Found Python: /usr/include/python3.12 (found version "3.12.3") found components: Development Development.Module Development.Embed -- Examples with Python are going to be build. -- Examples with Emscripten, which are WASM only, are NOT going to be build, because you are not using Emscripten's CMake toolchain. -- Found PkgConfig: /usr/bin/pkg-config (found version "2.2.0") -- Checking for module 'libpulse-simple' -- Found libpulse-simple, version 17.0 -- Examples with PulseAudio's libpulse are going to be build. -- Example with kernel driver for Linux is going to be build. -- Example with kernel driver for Windows is NOT going to be build, because CMake thinks you are not on something Windows-like. -- Examples that are experimental are NOT going to be build, because fast_io_ENABLE_EXAMPLES_EXPERIMENTAL is set to 0. -- CPM: Adding package PackageProject.cmake@1.11.2 (v1.11.2 at /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64) CMake Warning at /usr/share/cmake/Modules/GenerateExportHeader.cmake:416 (message): This macro can only be used with libraries Call Stack (most recent call first): /home/paxu/.cache/cpm/packageproject.cmake/22a22b995c2ac2f08b6a2de2a824df412150cf64/CMakeLists.txt:49 (generate_export_header) CMakeLists.txt:135 (packageProject) -- Configuring done (7.9s) -- Generating done (0.1s) -- Build files have been written to: /home/paxu/code/experiments/fast_io_cmake_clone/build ```
wgetpaste -s 0x0 -c 'cmake --build ./build/ -j24 -- -k 0' `Your paste can be seen here:` http://0x0.st/X47J.txt
trcrsired commented 2 months ago

a lot of things got updated.