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
2 changes: 1 addition & 1 deletion s/scikit-image/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"v0.19.3": {
"build_script": "scikit-image_ubi_0.19.3_9.3.sh"
},
"v0.2*.*": {
"v0.20.0": {
"build_script": "scikit-image_ubi_0.19.3_9.3.sh"
},
"*" : {
Expand Down
4 changes: 2 additions & 2 deletions s/scikit-image/scikit-image_ubi_0.19.3_9.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -----------------------------------------------------------------------------
#
# Package : scikit-image
# Version : v0.26.0
# Version : v0.19.3
# Source repo : https://github.com/scikit-image/scikit-image
# Tested on : UBI:9.3
# Language : Python
Expand All @@ -19,7 +19,7 @@
# ----------------------------------------------------------------------------

PACKAGE_NAME=scikit-image
PACKAGE_VERSION=${1:-v0.26.0}
PACKAGE_VERSION=${1:-v0.19.3}
PACKAGE_URL=https://github.com/scikit-image/scikit-image

yum install -y gcc gcc-c++ make python python-devel libtool sqlite-devel ninja-build cmake git wget xz zlib-devel openssl-devel bzip2-devel libffi-devel libevent-devel libjpeg-turbo-devel gcc-gfortran openblas openblas-devel libgomp
Expand Down
18 changes: 9 additions & 9 deletions s/scikit-image/scikit-image_ubi_9.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -----------------------------------------------------------------------------
#
# Package : scikit-image
# Version : v0.24.0
# Version : v0.26.0
# Source repo : https://github.com/scikit-image/scikit-image
# Tested on : UBI 9.3
# Language : Python, Cython, C, C++
Expand All @@ -19,13 +19,13 @@
# ----------------------------------------------------------------------------

PACKAGE_NAME=scikit-image
PACKAGE_VERSION=${1:-v0.24.0}
PACKAGE_VERSION=${1:-v0.26.0}
PACKAGE_URL=https://github.com/scikit-image/scikit-image

OS_NAME=`cat /etc/os-release | grep "PRETTY" | awk -F '=' '{print $2}'`

# install core dependencies
yum install -y gcc gcc-c++ gcc-gfortran pkg-config openblas-devel git python3.11 python3.11-pip python3.11-devel gcc-toolset-12 zlib-devel libjpeg-turbo-devel
yum install -y gcc gcc-c++ gcc-gfortran pkg-config openblas-devel git python3.12 python3.12-pip python3.12-devel gcc-toolset-12 zlib-devel libjpeg-turbo-devel

source /opt/rh/gcc-toolset-12/enable

Expand All @@ -37,18 +37,18 @@ git submodule update --init

# Create a virtualenv named ``skimage-dev`` that lives outside of the repository.
mkdir ~/envs
python3.11 -m venv ~/envs/skimage-dev
python3.12 -m venv ~/envs/skimage-dev
# Activate it
source ~/envs/skimage-dev/bin/activate

# Install main development and runtime dependencies
python3.11 -m pip install -r requirements.txt
python3.12 -m pip install -r requirements.txt

# Install build dependencies of scikit-image
python3.11 -m pip install -r requirements/build.txt
python3.12 -m pip install -r requirements/build.txt

# build and install
if ! python3.11 -m pip install -e . --no-build-isolation; then
if ! python3.12 -m pip install -e . --no-build-isolation; then
echo "------------------$PACKAGE_NAME:build_fails---------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Fail | Build_Fails"
Expand All @@ -58,8 +58,8 @@ else
echo "$PACKAGE_VERSION $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Pass | Build_Success"

python3.11 -m pip show scikit-image
python3.11 -c "import skimage; print(skimage.__version__)"
python3.12 -m pip show scikit-image
python3.12 -c "import skimage; print(skimage.__version__)"
if [ $? == 0 ]; then
echo "------------------$PACKAGE_NAME:install_success-------------------------"
echo "$PACKAGE_VERSION $PACKAGE_NAME"
Expand Down
Loading