Skip to content

Commit c6239ac

Browse files
committed
Revert pytorch-cluster.spec pytorch-scatter.spec pytorch-sparse.spec
1 parent 2f261a9 commit c6239ac

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

pytorch-cluster.spec

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ Requires: py3-torch %{!?without_cuda:cuda}
1616

1717
%prep
1818
%setup -n %{n}-%{realversion}
19-
#Set cms_cxx_standard to 20 as CUDA 12 doesn't yet support C++23
20-
%if "%{cms_cxx_standard}" == "23"
21-
%undefine cms_cxx_standard
22-
%define cms_cxx_standard 20
23-
%endif
24-
2519
# Make sure the default c++sdt stand is c++14
2620
grep -q 'CMAKE_CXX_STANDARD *14' CMakeLists.txt
2721
sed -i -e 's|CMAKE_CXX_STANDARD *14|CMAKE_CXX_STANDARD %{cms_cxx_standard}|' CMakeLists.txt

pytorch-scatter.spec

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ Requires: py3-torch %{!?without_cuda:cuda}
1616

1717
%prep
1818
%setup -n %{n}-%{realversion}
19-
#Set cms_cxx_standard to 20 as CUDA 12 doesn't yet support C++23
20-
%if "%{cms_cxx_standard}" == "23"
21-
%undefine cms_cxx_standard
22-
%define cms_cxx_standard 20
23-
%endif
24-
2519
# Make sure the default c++sdt stand is c++14
2620
grep -q 'CMAKE_CXX_STANDARD *14' CMakeLists.txt
2721
sed -i -e 's|CMAKE_CXX_STANDARD *14|CMAKE_CXX_STANDARD %{cms_cxx_standard}|' CMakeLists.txt

pytorch-sparse.spec

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ Requires: py3-torch %{!?without_cuda:cuda}
1616

1717
%prep
1818
%setup -n %{n}-%{realversion}
19-
#Set cms_cxx_standard to 20 as CUDA 12 doesn't yet support C++23
20-
%if "%{cms_cxx_standard}" == "23"
21-
%undefine cms_cxx_standard
22-
%define cms_cxx_standard 20
23-
%endif
24-
2519
# Make sure the default c++sdt stand is c++14
2620
grep -q 'CMAKE_CXX_STANDARD *14' CMakeLists.txt
2721
sed -i -e 's|CMAKE_CXX_STANDARD *14|CMAKE_CXX_STANDARD %{cms_cxx_standard}|' CMakeLists.txt

0 commit comments

Comments
 (0)