sollhui opened a new pull request, #70497: URL: https://github.com/apache/doris/pull/70497
### Background The native OSS client proposed in #70423 needs the Alibaba Cloud OSS C++ SDK V2 in the Doris third-party installation. ### What problem does this PR solve? Issue Number: #65793 Related PR: #70423 (consumes the SDK in BE and Recycler) PR Type: Build/CI/Chore Extract the SDK build from #70423 so it can be included in the third-party build image ahead of the runtime integration. ### Details - **Affected:** Register the upstream 0.2.0 source archive and checksum. Add `oss_sdk` to the default build after curl and OpenSSL, and register its source directory for cleanup. - **Developer and release impact:** The build installs the SDK headers and static library using the Doris curl and OpenSSL dependencies. To update an existing third-party installation, run `thirdparty/build-thirdparty.sh oss_sdk`. - **License and third-party:** Alibaba Cloud OSS C++ SDK V2 0.2.0 is licensed under Apache-2.0. #70423 carries the distribution license metadata along with the runtime integration. - **Rollback:** Revert this change to remove the SDK from future third-party builds. ### Testing - Ran the package's `build_oss_sdk` function on macOS arm64 against a fresh extraction of the checksum-verified archive, using Doris curl 8.2.1 and OpenSSL 1.1.1s. Verified the installed static archive with `ar` and checked for the public `OSSClient.h` header. Compiled, linked and ran a C++17 smoke test that constructs an `OSSClient` against the installed libraries. - Ran `bash -n` on both modified scripts, the third-party downloader checksum test, and `git diff --check`. Confirmed the three-file patch matches #70423 byte for byte. ### Release note None ### Check List (For Author) - Behavior changed: Yes. The default third-party build includes the OSS SDK. - Does this need documentation: No. The third-party changelog includes the incremental build command. - Pre-submission status: Partially verified. The SDK package build passed locally. The full third-party build and Linux build were not run locally. ### AI Disclosure - Tool: OpenAI Codex (GPT-6) - Generated: Extracted the existing changes from #70423 and drafted this PR description. - Human review: Pending. -- 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]
