Skip to content

Commit ac38f7d

Browse files
committed
Add Python 3.12 support to RELEASE.md and disable SFrame in .bazelrc
1 parent 4f11c33 commit ac38f7d

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.bazelrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ build --host_cxxopt=-std=c++17
4040
build:linux --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=1
4141
build:macos --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=1
4242

43-
# Disable sframe in assembler to avoid linker errors with gcc 15 (removed for PR compatibility)
43+
# Disable sframe in assembler to avoid linker errors with gcc 15
44+
build:linux --copt=-Wa,--gsframe=no
4445

4546

4647

@@ -52,3 +53,6 @@ build:short_logs --output_filter=DONT_MATCH_ANYTHING
5253
build:macos --macos_minimum_os=10.12
5354

5455
common --noenable_bzlmod
56+
build --action_env TF_HEADER_DIR="/usr/local/google/home/vkarampudi/anaconda3/envs/s2t-env-py312/lib/python3.12/site-packages/tensorflow/include"
57+
build --action_env TF_SHARED_LIBRARY_DIR="/usr/local/google/home/vkarampudi/anaconda3/envs/s2t-env-py312/lib/python3.12/site-packages/tensorflow"
58+
build --action_env TF_SHARED_LIBRARY_NAME="libtensorflow_framework.so.2"

RELEASE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* Disabled Bzlmod in `.bazelrc` to resolve protobuf conflicts.
1616
* Added dummy repositories in `WORKSPACE` to bypass circular dependencies with TensorFlow.
1717
* Fixed missing `#include <cstdint>` in various files to support compilation with `gcc 15`.
18+
* Added support for Python 3.12.
19+
* Dropped support for Python 3.9.
1820

1921
## Breaking Changes
2022

0 commit comments

Comments
 (0)