New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CMake] DEBUG_FISSION is enabled for sccache clang builds #9912
Conversation
EWS run on previous version of this PR (hash d81eb60) |
cc @calvaris |
EWS run on previous version of this PR (hash 3de316b) |
But sscache only fails with RELEASE, right? DEBUG worked properly, right? From what I see this disables fission also for debug builds that should work. |
Right, i'll update the patch. |
EWS run on previous version of this PR (hash 0caeb6f) |
But please, check it really worked with debug or maybe it was something nobody used... |
I did! |
Ping :) |
Source/cmake/OptionsCommon.cmake
Outdated
@@ -159,6 +159,12 @@ if (CXX_COMPILER_SUPPORTS_GSPLIT_DWARF AND LD_SUPPORTS_SPLIT_DEBUG) | |||
set(ENABLE_DEBUG_FISSION_DEFAULT ON) | |||
endif () | |||
|
|||
if (ENABLE_DEBUG_FISSION_DEFAULT AND SCCACHE_FOUND AND COMPILER_IS_CLANG AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After some discussion, we decided to approve this if you test for RelWithDebInfo too:
if (ENABLE_DEBUG_FISSION_DEFAULT AND SCCACHE_FOUND AND COMPILER_IS_CLANG AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug") | |
if (ENABLE_DEBUG_FISSION_DEFAULT AND SCCACHE_FOUND AND COMPILER_IS_CLANG AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RelWithDebInfo GTK clang sccache build passed. Thanks for the review!
EWS run on current version of this PR (hash 5f50500) |
https://bugs.webkit.org/show_bug.cgi?id=252037 Reviewed by Michael Catanzaro. Keep DEBUG_FISSION disabled for sccache clang release builds because it's not supported. * Source/cmake/OptionsCommon.cmake: Canonical link: https://commits.webkit.org/260444@main
5f50500
to
55c9be4
Compare
Committed 260444@main (55c9be4): https://commits.webkit.org/260444@main Reviewed commits have been landed. Closing PR #9912 and removing active labels. |
55c9be4
5f50500
π wincairoπ ios-simπ§ͺ ios-wk2π§ͺ api-iosπ§ͺ api-gtkπ jsc-armv7π§ͺ jsc-armv7-tests