File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 22
33yum update gcc
44yum update libstdc++
5+ export CXXFLAGS=" -D_GLIBCXX_USE_CXX11_ABI=1"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -101,13 +101,17 @@ def run(self):
101101
102102def get_extensions ():
103103 extension = CppExtension
104+ import torch
105+
106+ # torch._C._GLIBCXX_USE_CXX11_ABI = True
104107
105108 extra_link_args = []
106109 extra_compile_args = {
107110 "cxx" : [
108111 "-O3" ,
109112 "-std=c++17" ,
110113 "-fdiagnostics-color=always" ,
114+ "-D_GLIBCXX_USE_CXX11_ABI=0" ,
111115 ]
112116 }
113117 debug_mode = os .getenv ("DEBUG" , "0" ) == "1"
You can’t perform that action at this time.
0 commit comments