Skip to content

Conversation

@smartvibs8876
Copy link
Contributor

Checklist

  • Have you checked and followed all the points mention in the CONTRIBUTING.MD
  • Have you validated script on UBI 9 container
  • Did you run the script(s) on fresh container with set -e option enabled and observe success ?
  • Did you have Legal approvals for patch files ?

@smartvibs8876 smartvibs8876 force-pushed the tensorflow-text-2.18.1 branch from 433dc52 to 6cf6239 Compare February 9, 2026 06:26
@smartvibs8876 smartvibs8876 force-pushed the tensorflow-text-2.18.1 branch from 6cf6239 to 2db5913 Compare February 9, 2026 06:39
Copy link
Contributor

@shubham-dayma-ibm shubham-dayma-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smartvibs8876 the CI check is failing

echo "----------bazel installing--------------------"

# Set to avoid issues with yum installation
echo "tsflags=nocaps" >> /etc/yum.conf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we doing this? Not expecting any change in yum.conf

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One package gstream from yum , was not getting installed so i had added it.


CURRENT_DIR=$(pwd)
mkdir -p builder/wheels
mkdir -p /root/builder/wheels
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we use $CURRENT_DIR instead of /root/?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch used in script also needs this path, the value of variable CURRENT_DIR cannot be passed to the patch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually we avoid setting running with root privileges. It should be $CURRENT_DIR only.
For patch, you always can print $(pwd) in build-script and look at logs and use it in patch whenever we need it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I will make this change and push a commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants