Gabriel39 commented on code in PR #67158:
URL: https://github.com/apache/doris/pull/67158#discussion_r3860860587


##########
thirdparty/patches/paimon-cpp-buildutils-static-deps.patch:
##########
@@ -343,3 +343,19 @@ diff --git a/src/paimon/format/blob/blob_format_writer.cpp 
b/src/paimon/format/b
 +   list(GET Thrift_VERSION_LIST 0 Thrift_VERSION_MAJOR)
 +   list(GET Thrift_VERSION_LIST 1 Thrift_VERSION_MINOR)
 +   list(GET Thrift_VERSION_LIST 2 Thrift_VERSION_PATCH)
+
+diff --git a/src/paimon/CMakeLists.txt b/src/paimon/CMakeLists.txt
+index 76dd03b..9317324 100644
+--- a/src/paimon/CMakeLists.txt
++++ b/src/paimon/CMakeLists.txt
+@@ -281,6 +281,10 @@ add_paimon_lib(paimon
+                ${PAIMON_COMMON_SRCS}
+                ${PAIMON_CORE_SRCS}
+                DEPENDENCIES
++               # Codec headers come from ExternalProject install steps, so 
object
++               # compilation must not race those steps in clean parallel 
builds.
++               zstd
++               snappy

Review Comment:
   Thanks, this is correct. I added lz4 to the paimon_objlib dependency fence, 
extended the focused test to require it, and revalidated the patch against 
paimon-cpp-0a4f4e2. The dependency now propagates through lz4 to lz4_ep before 
object compilation.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to