Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions n/numba/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -41,15 +41,19 @@ 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

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
Expand Down