Hennadii Stepanov

Results 1223 comments of Hennadii Stepanov

> Shouldn't this be an upstream bug report, given that's where the issue is? https://github.com/capnproto/capnproto/issues/2201.

Optimization levels and debugging options are tied to a "build type/configuration" in CMake. If a user wants to override any of these, they should use the `CMAKE_CXX_FLAGS_` variables. In depends,...

> [@hebasto](https://github.com/hebasto) can you followup with all the questions asked in this thread: > > [#31491 (comment)](https://github.com/bitcoin/bitcoin/issues/31491#issuecomment-2573886240) > > It'd be good to get some clarification on which behaviour is...

@theuni > Ah, I see. It's: `replace_cxx_flag_in_config(Release -O3 -O2)` > > I suppose that should only happen if the `-O3` isn't coming from an explicitly set `CMAKE_CXX_FLAGS_RELEASE`. @fanquake > [@hebasto](https://github.com/hebasto)...

> Using master @ [d73f37d](https://github.com/bitcoin/bitcoin/commit/d73f37dda221835b5109ede1b84db2dc7c4b74a1). > > The following seems incorrect, because > ``` > make -C depends/ NO_QT=1 NO_WALLET=1 NO_ZMQ=1 -j18 CFLAGS="-O3" CXXFLAGS="-O3" > cmake -B build --toolchain /root/ci_scratch/depends/aarch64-unknown-linux-gnu/toolchain.cmake...

FWIW, to build with Clang locally, one should install the following VS components: ![photo_2024-12-12_12-38-17](https://github.com/user-attachments/assets/aa9a80c9-3531-440d-bfae-e1a9286b7eea) and pass `-T ClangCL` to `cmake` at the configuration step. However, besides multiple warnings, the build...

Related: https://github.com/bitcoin-core/secp256k1/pull/1647.