Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Feb 5, 2025
1 parent 60e7179 commit 27fffbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

yum update gcc
yum update libstdc++
export CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1"
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
include:
- repository: pytorch/tensordict
smoke-test-script: test/smoke_test.py
post-script: .github/scripts/linux-post-script.sh
pre-script: .github/scripts/linux-pre-script.sh
package-name: tensordict
name: pytorch/tensordict
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def get_extensions():
"-O3",
"-std=c++17",
"-fdiagnostics-color=always",
"-D_GLIBCXX_USE_CXX11_ABI=1",
]
}
debug_mode = os.getenv("DEBUG", "0") == "1"
Expand Down

0 comments on commit 27fffbb

Please sign in to comment.