Skip to content

Commit 426b38e

Browse files
committed
init
1 parent 60e7179 commit 426b38e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

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

+1
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

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ 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
2323
with:
2424
package-type: wheel
2525
os: linux
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.6
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -33,15 +33,15 @@ jobs:
3333
include:
3434
- repository: pytorch/tensordict
3535
smoke-test-script: test/smoke_test.py
36-
post-script: .github/scripts/linux-post-script.sh
36+
pre-script: .github/scripts/linux-pre-script.sh
3737
package-name: tensordict
3838
name: pytorch/tensordict
39-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
39+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.6
4040
with:
4141
repository: ${{ matrix.repository }}
4242
ref: ""
4343
test-infra-repository: pytorch/test-infra
44-
test-infra-ref: main
44+
test-infra-ref: release/2.6
4545
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4646
package-name: ${{ matrix.package-name }}
4747
smoke-test-script: ${{ matrix.smoke-test-script }}

setup.py

+1
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)