Skip to content

Added llvmlite 0.49.0 - #8729

Open
sid226 wants to merge 4 commits into
ppc64le:masterfrom
sid226:sid226_llvmlite
Open

Added llvmlite 0.49.0#8729
sid226 wants to merge 4 commits into
ppc64le:masterfrom
sid226:sid226_llvmlite

Conversation

@sid226

@sid226 sid226 commented Sep 2, 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 9 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 ?

@prathamesh-ibm prathamesh-ibm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sid226 Could you please refer to the script below for building 0.49.0? The script is simple and concise and should also help reduce the build time.
https://github.com/prathamesh-ibm/build-scripts/blob/master/l/llvmlite/llvmlite_v0.45.0_ubi_9_3.sh

@sid226

sid226 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Hi @prathamesh-ibm It is ideal to raise a saparate PR for the improvements. All checks have passed for the PR. thanks

Comment thread l/llvmlite/llvmlite_0.49.0_ubi_10.2.sh Outdated
# Python build tools
# ---------------------------------------------------------------------------
pip install --upgrade pip setuptools wheel build
pip install "numpy==2.5.1" --index-url https://wheels.developerfirst.ibm.com/ppc64le/linux/+simple/ --extra-index-url https://pypi.org/simple

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numpy 2.5.0 is to be used for CPD pkg builds

Comment thread l/llvmlite/llvmlite_0.49.0_ubi_10.2.sh Outdated
# ---------------------------------------------------------------------------
# System dependencies
# ---------------------------------------------------------------------------
yum install -y python3.12 python3.12-devel python3.12-pip \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

py3.14 is to be used correct that

Comment thread l/llvmlite/llvmlite_0.49.0_ubi_10.2.sh Outdated
-DCMAKE_INSTALL_PREFIX="${LLVM_INSTALL_PREFIX}" \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_PROJECTS="lld" \
-DLLVM_TARGETS_TO_BUILD="PowerPC;X86;AArch64;WebAssembly" \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are setting the arch as x86. We need the build only for Power. Also why do we need all the additional flags. Old buildscript for prior version has minimal set of flags.

# Build numpy 2.5.0 from source (same logic as numpy_2.5.0_ubi_10.2.sh)
# Required by numba at runtime; no ppc64le wheel on PyPI for this version.
# ---------------------------------------------------------------------------
echo "=== Building numpy ${NUMPY_VERSION} from source ==="

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of building numpy from source. You can directly pull it in from pypi

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.

4 participants