Skip to content

Commit 8e9d27b

Browse files
vanbasten23wonjoo-wj
authored andcommitted
Disable cxx abi in ansible when building pt/xla for branch r2.0 (#5332)
1 parent 33f1cd2 commit 8e9d27b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

infra/ansible/config/env.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ build_env:
3333
BAZEL_REMOTE_CACHE: 1
3434
SILO_NAME: "cache-silo-{{ arch }}-{{ accelerator }}-{{ clang_version }}"
3535
DISABLE_XRT: "{{ disable_xrt }}"
36+
_GLIBCXX_USE_CXX11_ABI: 0
3637

3738
amd64:
3839
ARCH: amd64

infra/ansible/roles/build_srcs/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
- name: Build XLA computation client library
2626
ansible.builtin.command:
27-
cmd: bash build_torch_xla_libs.sh -O -D_GLIBCXX_USE_CXX11_ABI=1
27+
cmd: bash build_torch_xla_libs.sh
2828
chdir: "{{ (src_root, 'pytorch/xla') | path_join }}"
2929
environment: "{{ env_vars }}"
3030
when: build_torch_xla_libs_result.stat.exists

0 commit comments

Comments
 (0)