File tree Expand file tree Collapse file tree 3 files changed +0
-18
lines changed
Expand file tree Collapse file tree 3 files changed +0
-18
lines changed Original file line number Diff line number Diff 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
2620grep -q ' CMAKE_CXX_STANDARD *14' CMakeLists.txt
2721sed -i -e ' s|CMAKE_CXX_STANDARD *14|CMAKE_CXX_STANDARD %{cms_cxx_standard}|' CMakeLists.txt
Original file line number Diff line number Diff 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
2620grep -q ' CMAKE_CXX_STANDARD *14' CMakeLists.txt
2721sed -i -e ' s|CMAKE_CXX_STANDARD *14|CMAKE_CXX_STANDARD %{cms_cxx_standard}|' CMakeLists.txt
Original file line number Diff line number Diff 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
2620grep -q ' CMAKE_CXX_STANDARD *14' CMakeLists.txt
2721sed -i -e ' s|CMAKE_CXX_STANDARD *14|CMAKE_CXX_STANDARD %{cms_cxx_standard}|' CMakeLists.txt
You can’t perform that action at this time.
0 commit comments