Added llvmlite 0.49.0 - #8729
Conversation
There was a problem hiding this comment.
@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
|
Hi @prathamesh-ibm It is ideal to raise a saparate PR for the improvements. All checks have passed for the PR. thanks |
| # 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 |
There was a problem hiding this comment.
numpy 2.5.0 is to be used for CPD pkg builds
| # --------------------------------------------------------------------------- | ||
| # System dependencies | ||
| # --------------------------------------------------------------------------- | ||
| yum install -y python3.12 python3.12-devel python3.12-pip \ |
There was a problem hiding this comment.
py3.14 is to be used correct that
| -DCMAKE_INSTALL_PREFIX="${LLVM_INSTALL_PREFIX}" \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DLLVM_ENABLE_PROJECTS="lld" \ | ||
| -DLLVM_TARGETS_TO_BUILD="PowerPC;X86;AArch64;WebAssembly" \ |
There was a problem hiding this comment.
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 ===" |
There was a problem hiding this comment.
Instead of building numpy from source. You can directly pull it in from pypi
Checklist
set -eoption enabled and observe success ?