You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Ignore clangd .cache directory
With the in-tree build, clangd likes to put its cache files inside of
/.cache. Thus, put the directory to .gitignore.
* Remove redundant cmake_minimum_required calls
There is no need to repeat the same information in all subprojects, the
call in the root CMakeLists.txt is more than enough.
* Bump minimum CMake version to 3.16
This avoids deprecation warnings on newer CMake versions. 3.16 was
chosen as a version easily available on Ubuntu 20.04 -- the oldest
distributive we support.
* Do not automatically add -stdlib=libc++ when sanitizers are requested
In my experience, adding -stdlib=libc++ during compilation of a project
with C++ dependencies which are not consistently using libc++ never
works. In this particular case, modern enough stdlibc++ works just fine
when compiled with Clang and sanitizers, while using libc++ results in
obscure linker errors.
* Do not fall back to -O2 if CMAKE_BUILD_TYPE == RelWithDebInfo
* Use CMAKE_{C,CXX}_COMPILER_LAUNCHER for enabling ccache
Additionally, if user has already specified either of these two
variables, don't override their choices.
As per documentation, RULE_LAUNCH_{COMPILE,LINK} are only supposed to be
used in internal CMake code. More importantly, the previous approach
appended ccache two times if CMAKE_CXX_COMPILER_LAUNCHER was provided in
command line or via an environment variable.
* Remove unused crypto/openssl/digest.h
0 commit comments