github-actions[bot] commented on code in PR #62184:
URL: https://github.com/apache/doris/pull/62184#discussion_r3069963442


##########
be/cmake/thirdparty.cmake:
##########
@@ -140,6 +140,7 @@ add_thirdparty(aws-c-s3 LIB64)
 add_thirdparty(aws-c-sdkutils LIB64)
 add_thirdparty(aws-cpp-sdk-identity-management LIB64)
 add_thirdparty(aws-cpp-sdk-sts LIB64)
+add_thirdparty(aws-cpp-sdk-kinesis LIB64)
 if (NOT OS_MACOSX)

Review Comment:
   This introduces a stale-cache build regression. `add_thirdparty()` always 
creates an imported target that resolves to 
`${THIRDPARTY_DIR}/lib64/libaws-cpp-sdk-kinesis.a`, but `build.sh` still 
decides whether to rebuild thirdparty by checking only for 
`installed/lib/hadoop_hdfs/native/libhdfs.a` (`build.sh:354-369`). On any 
developer machine or CI cache that already has an older thirdparty install, 
`./build.sh --be` will skip `thirdparty/build-thirdparty.sh`, so the new 
archive is absent and the BE build fails when this target is linked.
   
   Please update the thirdparty rebuild detection in the same PR so existing 
installs get refreshed when `aws-cpp-sdk-kinesis` is newly required.



-- 
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