summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-09-06 13:11:28 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-09-06 13:12:23 -0700
commit308bbf300fe9332130f4784c7a91fa2ad707d6e4 (patch)
treeaeb8bd89fc3891ada12b6c4dbbf2425f8e37d983 /ci
parentd3c00b06b334311e23ab18f5d2b90938a07ce35d (diff)
CMake: install artifacts reflect the compiled ABI
Change `absl/base/options.h` at install time to reflect the ABI used to compile the libraries, i.e., if Abseil was compiled with C++ >= 17 then the `ABSL_OPTION_USE_STD_*` macros are set to `1`, because then the C++ 17 types are embedded in the ABI of the installed artifacts. Likewise, set the `target_compile_features()` of Abseil libraries to reflect the C++ version used to compile them. If they the Abseil libraries are compiled with C++ >= 17, then all downstream dependencies must also be compiled with C++ >= 17. Fixes #696 PiperOrigin-RevId: 472538165 Change-Id: Ic9e346ebe277c882a18ad96e1918c9e3511c91c3
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions