Skip to content

Commit 0ef4b49

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

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ 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
3939
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def get_extensions():
120120
"-g",
121121
"-std=c++17",
122122
"-fdiagnostics-color=always",
123+
"-D_GLIBCXX_USE_CXX11_ABI=1",
123124
]
124125
}
125126
extra_link_args = ["-O0", "-g"]

0 commit comments

Comments
 (0)