Skip to content

Add azure-storage-blobs 12.18.0 build script for UBI 10.2 - #8839

Open
veenious wants to merge 7 commits into
ppc64le:masterfrom
veenious:azure-storage-blobs_12.18.0_ubi_10.2
Open

veenious wants to merge 7 commits into
ppc64le:masterfrom
veenious:azure-storage-blobs_12.18.0_ubi_10.2

Conversation

@veenious

@veenious veenious commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Checklist

  • Have you checked and followed all the points mention in the CONTRIBUTING.MD
  • Have you validated script on UBI 10 container
  • Did you run the script(s) on fresh container with set -e option enabled and observe success ?
  • Did you have Legal approvals for patch files ?

Package       : azure-storage-blobs
Version       : azure-storage-blobs_12.18.0
Source repo   : https://github.com/Azure/azure-sdk-for-cpp
Tested on     : UBI 10.2 (POWER10/POWER11 / ppc64le)
Language      : C++
Maintainer    : Prachi Gaonkar <prachi.gaonkar@ibm.com>

- Adds UBI 10.2 build/test/wheel script with gcc-toolset-15
- Detects POWER10/POWER11 and applies -mcpu=power10 optimization flags
- Adds -include cstdint to CMAKE_CXX_FLAGS to fix GCC 15 implicit
  header removal (uint8_t/uint64_t undeclared in structured_message_helper.cpp)
- Fixes build_info.json version key to use full tag azure-storage-blobs_12.18.0
- Validated fix via azure-storage-common PR ppc64le#8826 on POWER10 and POWER11
…ppc64le

- Remove gcc-toolset-15 (not available on UBI 10); use system gcc 14.3.1
- Fix PACKAGE_VERSION default to full tag azure-storage-blobs_12.18.0
- Add python3-devel to yum dependencies
- Add -include cstdint to CXXFLAGS (matches azure-storage-common pattern)
- Patch macro_guard.cpp via sed to remove intentional-fail UDL macros
  that break gcc 14 strict P1473R1 operator literal suffix parsing
- Build azure-storage-blobs-test target and run 2 offline unit tests
- Stage wheel in isolated directory to exclude cmake libgtest/libgmock
- Fix pyproject.toml: explicit packages list avoids setuptools flat-layout error
- Fix build_info.json: tag-style version key, remove BOM

Tested on UBI 10.2 / POWER10 and POWER11: Both_Install_and_Test_Success
2/2 offline tests passed (SasStringToSignTest, SimplifiedHeader)
…el builder

The CI's build_wheels.py looks for pyproject.toml at SOURCE_DIR
(azure-sdk-for-cpp checkout). Moving it to wheel_staging broke the CI.
Revert wheel build back to SOURCE_DIR — the explicit packages = [...]
in pyproject.toml already prevents libgtest/libgmock from leaking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant