Skip to content

Commit b11481f

Browse files
author
Vincent Moens
committed
init
1 parent 60e7179 commit b11481f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/scripts/linux-post-script.sh renamed to .github/scripts/linux-pre-script.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
yum update gcc
44
yum update libstdc++
5+
export CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1"

.github/workflows/build-wheels-linux.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
23+
test-infra-ref: release/2.6
2324
with:
2425
package-type: wheel
2526
os: linux
@@ -33,10 +34,11 @@ jobs:
3334
include:
3435
- repository: pytorch/tensordict
3536
smoke-test-script: test/smoke_test.py
36-
post-script: .github/scripts/linux-post-script.sh
37+
pre-script: .github/scripts/linux-pre-script.sh
3738
package-name: tensordict
3839
name: pytorch/tensordict
39-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
40+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.6
41+
test-infra-ref: release/2.6
4042
with:
4143
repository: ${{ matrix.repository }}
4244
ref: ""

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def get_extensions():
108108
"-O3",
109109
"-std=c++17",
110110
"-fdiagnostics-color=always",
111+
# "-D_GLIBCXX_USE_CXX11_ABI=0",
111112
]
112113
}
113114
debug_mode = os.getenv("DEBUG", "0") == "1"

0 commit comments

Comments
 (0)