Skip to content

Added build script for tensorflow 2.15.0#8020

Open
shivansh-ibm wants to merge 3 commits intoppc64le:masterfrom
shivansh-ibm:update_tensorflow_2_15_0
Open

Added build script for tensorflow 2.15.0#8020
shivansh-ibm wants to merge 3 commits intoppc64le:masterfrom
shivansh-ibm:update_tensorflow_2_15_0

Conversation

@shivansh-ibm
Copy link
Copy Markdown
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 ?

@shivansh-ibm
Copy link
Copy Markdown
Contributor Author

Patch PR : #8019

@shivansh-ibm
Copy link
Copy Markdown
Contributor Author

@cdeepali , please review the changes

Co-authored-by: Deepali <70963368+cdeepali@users.noreply.github.com>
cd $CURRENT_DIR/$PACKAGE_DIR

# Ensure environment vars are set before configure
export TF_PYTHON_VERSION="3.11"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is TF built only for python 3.11?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Built it for python3.11 but can be built for other versions. So, updated the command to export TF_PYTHON_VERSION dynamically

@shivansh-ibm shivansh-ibm force-pushed the update_tensorflow_2_15_0 branch from 664a927 to cea269a Compare March 25, 2026 10:58

yum install -y python3.11-devel python3.11-pip make cmake git openssl-devel \
bzip2-devel libffi-devel zlib-devel libjpeg-devel freetype-devel \
procps-ng meson ninja-build gcc-gfortran libomp-devel zip unzip \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is gcc-gfortran needed here?

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