File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 88
99include (ExternalProject)
1010
11- set (CMAKE_CXX_STANDARD 20)
12-
1311set (CMAKE_INCLUDE_CURRENT_DIR ON )
1412
1513project (triton)
@@ -36,11 +34,13 @@ set(TRITON_CODEGEN_BACKENDS "" CACHE STRING "Enable different codegen backends")
3634
3735# Customized release build type with assertions: TritonRelBuildWithAsserts
3836if (NOT MSVC )
37+ set (CMAKE_CXX_STANDARD 17)
3938 set (CMAKE_C_FLAGS_TRITONRELBUILDWITHASSERTS "-O2 -g" )
4039 set (CMAKE_CXX_FLAGS_TRITONRELBUILDWITHASSERTS "-O2 -g" )
4140 set (CMAKE_C_FLAGS_TRITONBUILDWITHO1 "-O1" )
4241 set (CMAKE_CXX_FLAGS_TRITONBUILDWITHO1 "-O1" )
4342else ()
43+ set (CMAKE_CXX_STANDARD 20)
4444 set (CMAKE_C_FLAGS_TRITONRELBUILDWITHASSERTS "/Zi /Ob0 /Od /RTC1 /bigobj" )
4545 set (CMAKE_CXX_FLAGS_TRITONRELBUILDWITHASSERTS "/Zi /Ob0 /Od /RTC1 /bigobj " )
4646 set (CMAKE_EXE_LINKER_FLAGS_TRITONRELBUILDWITHASSERTS "/debug:fastlink /INCREMENTAL" )
You can’t perform that action at this time.
0 commit comments