And make build script incremental.
We will eventually convert the script into ExternalProject_Add.
Paths
| Differential D158044
[sanitizer][symbolizer] Checkout zlib ClosedPublic Authored by vitalybuka on Aug 15 2023, 6:36 PM.
Details
Summary And make build script incremental. We will eventually convert the script into ExternalProject_Add.
Diff Detail
Event Timelinevitalybuka added a child revision: D157947: [sanitizer] Add CMake flag to build with internal symbolizer.Aug 15 2023, 6:37 PM This revision is now accepted and ready to land.Aug 15 2023, 7:11 PM This revision was landed with ongoing or failed builds.Aug 15 2023, 11:22 PM Closed by commit rG64b94eb2e785: [sanitizer][symbolizer] Checkout zlib (authored by vitalybuka). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions It looks like without ZLIB_SRC there isn't a clear way to specify a custom zlib source. Also the git clone action may not work in an environment without internet access. Can you advise how I should work around those? Thanks. Comment Actions
build_symbolizer.sh is a convenience script that is optional. It's not used if COMPILER_RT_ENABLE_INTERNAL_SYMBOLIZER (default to OFF) is off. Comment Actions
I see. But we do want to use the internal symbolizer :) Do you think we can add ZLIB_SRC back while still keeping the git clone there? Comment Actions
Yes. I think restoring ZLIB_SRC is fine:) Internally we use Bazel to reimplement the script and don't use the script. Comment Actions
Sounds good. I can work on the restoration.
Revision Contents
Diff 550630 compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
|
$PWD