Skip to content
Open
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
6 changes: 5 additions & 1 deletion t/tensorflow/tensorflow_2.14.1_ubi9.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,16 @@ wget https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/t
git apply tf_2.14.1_fix.patch
echo "------------Applied patch successfully---------------------"

sed -i "/python_aarch64/ s|! -path '\*python_aarch64\*'|! -path '*python_aarch64*' \\\
! -path '*python_ppc64le*'|" tensorflow/tools/pip_package/build_pip_package.sh
echo "------------Added ppc64le tag to exclude external paths---------------------"


yes n | ./configure

echo "------------------------Bazel query-------------------"
bazel query "//tensorflow/tools/pip_package:*"


#Install
if ! (bazel build -s --distdir=/bazel-dist //tensorflow/tools/pip_package:build_pip_package --config=opt --define=llvm_enable_pdb=false) ; then
echo "------------------$PACKAGE_NAME:Install_fails-------------------------------------"
Expand Down
Loading