Skip to content

Commit

Permalink
fix facebookresearch#225 incompatibility with g++ 11
Browse files Browse the repository at this point in the history
  • Loading branch information
emepetres committed Apr 5, 2022
1 parent dcf6a7f commit a6b5d13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@

#export TORCH_CUDA_ARCH_LIST="6.0;6.1;6.2;7.0;7.5"
rm -rf build/ dist/ sparseconvnet.egg-info
export CC=/usr/bin/gcc-10
export CXX=/usr/bin/g++-10
python setup.py install && python examples/hello-world.py
2 changes: 2 additions & 0 deletions develop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@

#export TORCH_CUDA_ARCH_LIST="6.0;6.1;6.2;7.0;7.5"
rm -rf build/ dist/ sparseconvnet.egg-info sparseconvnet_SCN*.so
export CC=/usr/bin/gcc-10
export CXX=/usr/bin/g++-10
python setup.py develop && python examples/hello-world.py

0 comments on commit a6b5d13

Please sign in to comment.