From b0aa5d4d64692e512ef52eb7e9031e859aafb2af Mon Sep 17 00:00:00 2001 From: Harithanagothu2 Date: Tue, 31 Dec 2024 15:48:10 +0530 Subject: [PATCH] Currency: Created build script and build_info.json for Bottleneck (#5120) * 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 --- b/bottleneck/bottleneck_1.3.5_ubi_9.3.sh | 14 ++++++-------- b/bottleneck/build_info.json | 3 +-- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/b/bottleneck/bottleneck_1.3.5_ubi_9.3.sh b/b/bottleneck/bottleneck_1.3.5_ubi_9.3.sh index f1836fc083..b4fa4afa7e 100644 --- a/b/bottleneck/bottleneck_1.3.5_ubi_9.3.sh +++ b/b/bottleneck/bottleneck_1.3.5_ubi_9.3.sh @@ -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---------------------" diff --git a/b/bottleneck/build_info.json b/b/bottleneck/build_info.json index 6685f989e4..82625d6895 100644 --- a/b/bottleneck/build_info.json +++ b/b/bottleneck/build_info.json @@ -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" } }