From 8bf648a23d3c465e24cd7bbba090172889062b52 Mon Sep 17 00:00:00 2001 From: shivansh-ibm Date: Thu, 26 Mar 2026 05:02:23 +0000 Subject: [PATCH] fix build script for latest numba 0.64.0 version --- n/numba/build_info.json | 6 +++--- ...numba_0.63.0_ubi_9.3.sh => numba_0.64.0_ubi_9.3.sh} | 10 +++++++--- 2 files changed, 10 insertions(+), 6 deletions(-) rename n/numba/{numba_0.63.0_ubi_9.3.sh => numba_0.64.0_ubi_9.3.sh} (96%) diff --git a/n/numba/build_info.json b/n/numba/build_info.json index 967331388c..351ce6e4f7 100644 --- a/n/numba/build_info.json +++ b/n/numba/build_info.json @@ -2,11 +2,11 @@ "maintainer": "Shivansh-ibm", "package_name": "numba", "github_url": "https://github.com/numba/numba", - "version": "0.63.0", + "version": "0.64.0", "required_versions":{"Releases": ["*"], "Tags": ["0.62.0dev0"]}, "wheel_build" : true, "default_branch": "main", - "build_script": "numba_0.63.0_ubi_9.3.sh", + "build_script": "numba_0.64.0_ubi_9.3.sh", "package_dir": "n/numba", "validate_build_script": true, "use_non_root_user": false, @@ -24,6 +24,6 @@ "build_script": "numba_0.62.0_ubi_9.3.sh" }, "*": { - "build_script": "numba_0.63.0_ubi_9.3.sh" + "build_script": "numba_0.64.0_ubi_9.3.sh" } } diff --git a/n/numba/numba_0.63.0_ubi_9.3.sh b/n/numba/numba_0.64.0_ubi_9.3.sh similarity index 96% rename from n/numba/numba_0.63.0_ubi_9.3.sh rename to n/numba/numba_0.64.0_ubi_9.3.sh index 2cbfc76248..8e5fcac884 100644 --- a/n/numba/numba_0.63.0_ubi_9.3.sh +++ b/n/numba/numba_0.64.0_ubi_9.3.sh @@ -19,7 +19,7 @@ # ----------------------------------------------------------------------------- PACKAGE_NAME=numba -PACKAGE_VERSION=${1:-0.63.0} +PACKAGE_VERSION=${1:-0.64.0} PACKAGE_URL=https://github.com/numba/numba PACKAGE_DIR=numba WORKING_DIR=$(pwd) @@ -41,7 +41,11 @@ LLVM_PROJECT_GIT_URL="https://github.com/llvm/llvm-project.git" LLVM_PROJECT_GIT_TAG="llvmorg-20.1.8" LLVMLITE_PACKAGE_URL="https://github.com/numba/llvmlite" -LLVMLITE_VERSION="v0.46.0dev0" +if [[ "$(printf '%s\n' "0.64.0" "$PACKAGE_VERSION" | sort -V | head -n1)" == "0.64.0" ]]; then + LLVMLITE_VERSION="v0.46.0" +else + LLVMLITE_VERSION="v0.46.0dev0" +fi LLVM_SRC_DIR=$WORKING_DIR/llvm-project LLVM_INSTALL_DIR=$WORKING_DIR/llvm-install @@ -49,7 +53,7 @@ LLVM_INSTALL_DIR=$WORKING_DIR/llvm-install git clone -b ${LLVM_PROJECT_GIT_TAG} ${LLVM_PROJECT_GIT_URL} git clone -b ${LLVMLITE_VERSION} ${LLVMLITE_PACKAGE_URL} -python3.12 -m pip install ninja +python3.12 -m pip install ninja wheel cd $LLVM_SRC_DIR git fetch --all --tags