Skip to content

Commit

Permalink
Currency: Created build script and build_info.json for Bottleneck (#5120
Browse files Browse the repository at this point in the history
)

* Create bottleneck_1.3.5_ubi_9.3.sh

* Update build_info.json

* Update build_info.json

* Update bottleneck_1.3.5_ubi_9.3.sh

* Update bottleneck_1.3.5_ubi_9.3.sh

* Update bottleneck_1.3.5_ubi_9.3.sh

* Update build_info.json
  • Loading branch information
Harithanagothu2 authored Dec 31, 2024
1 parent 460f314 commit b0aa5d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
14 changes: 6 additions & 8 deletions b/bottleneck/bottleneck_1.3.5_ubi_9.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,27 @@
PACKAGE_NAME=bottleneck
PACKAGE_VERSION=${1:-v1.3.5}
PACKAGE_URL=https://github.com/pydata/bottleneck.git

# Install dependencies and tools.
yum install -y wget gcc gcc-c++ gcc-gfortran git make python-devel openssl-devel

#clone repository
git clone $PACKAGE_URL
cd $PACKAGE_NAME
git checkout $PACKAGE_VERSION

pip install .


#install
if ! (python3 setup.py install) ; then
if ! (pip install .) ; then
echo "------------------$PACKAGE_NAME:Install_fails-------------------------------------"
echo "$PACKAGE_URL $PACKAGE_NAME"
echo "$PACKAGE_NAME | $PACKAGE_URL | $PACKAGE_VERSION | GitHub | Fail | Install_Fails"
exit 1
fi

pip install chardet --upgrade
pip install requests --upgrade
pip install tox

#test
if ! tox -e py39; then
echo "--------------------$PACKAGE_NAME:Install_success_but_test_fails---------------------"
Expand Down
3 changes: 1 addition & 2 deletions b/bottleneck/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
"package_dir": "b/bottleneck",
"build_script": "bottleneck_1.3.5_ubi_9.3.sh",
"wheel_build" : true,
"docker_build": true,
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"v1.*.*": {
"dir": "ubi9_3",
"build_script": "bottleneck_1.3.5_ubi_9.3.sh"
}
}

0 comments on commit b0aa5d4

Please sign in to comment.