initial sandbox version
This commit is contained in:
		
							
								
								
									
										5
									
								
								compiler_flags/Clang.C.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/Clang.C.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_C_COMPILER_ID MATCHES Clang) | ||||
|     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g") | ||||
|     set(CMAKE_C_FLAGS_RELEASE "-O2 -Wno-unused") | ||||
|     set(CMAKE_C_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/Clang.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/Clang.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_CXX_COMPILER_ID MATCHES Clang) | ||||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wno-unknown-pragmas -Wno-sign-compare -Woverloaded-virtual -Wwrite-strings -Wno-unused") | ||||
|     set(CMAKE_CXX_FLAGS_RELEASE "-Ofast -march=native -DNDEBUG -Wno-unused") | ||||
|     set(CMAKE_CXX_FLAGS_DEBUG "-O0 -DDEBUG") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/GNU.C.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/GNU.C.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_C_COMPILER_ID MATCHES GNU) | ||||
|     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g") | ||||
|     set(CMAKE_C_FLAGS_RELEASE "-O2 -Wno-unused") | ||||
|     set(CMAKE_C_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/GNU.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/GNU.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_CXX_COMPILER_ID MATCHES GNU) | ||||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wno-unknown-pragmas -Wno-sign-compare -Woverloaded-virtual -Wwrite-strings -Wno-unused") | ||||
|     set(CMAKE_CXX_FLAGS_RELEASE "-Ofast -march=native -DNDEBUG -Wno-unused") | ||||
|     set(CMAKE_CXX_FLAGS_DEBUG "-O0 -DDEBUG") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/GNU.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/GNU.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_Fortran_COMPILER_ID MATCHES GNU) | ||||
|     set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -fbacktrace") | ||||
|     set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -funroll-all-loops -w") | ||||
|     set(CMAKE_Fortran_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/Intel.C.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/Intel.C.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_C_COMPILER_ID MATCHES Intel) | ||||
|     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g") | ||||
|     set(CMAKE_C_FLAGS_RELEASE "-O3") | ||||
|     set(CMAKE_C_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/Intel.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/Intel.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_CXX_COMPILER_ID MATCHES Intel) | ||||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-pragmas") | ||||
|     set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") | ||||
|     set(CMAKE_CXX_FLAGS_DEBUG "-O0 -debug -DDEBUG") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/Intel.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/Intel.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_Fortran_COMPILER_ID MATCHES Intel) | ||||
|     set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -w -assume byterecl -g -traceback") | ||||
|     set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -ip") | ||||
|     set(CMAKE_Fortran_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/PGI.C.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/PGI.C.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_C_COMPILER_ID MATCHES PGI) | ||||
|     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g") | ||||
|     set(CMAKE_C_FLAGS_RELEASE "-O3") | ||||
|     set(CMAKE_C_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/PGI.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/PGI.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_CXX_COMPILER_ID MATCHES PGI) | ||||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") | ||||
|     set(CMAKE_CXX_FLAGS_RELEASE "-O3") | ||||
|     set(CMAKE_CXX_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/PGI.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/PGI.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_Fortran_COMPILER_ID MATCHES PGI) | ||||
|     set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS}") | ||||
|     set(CMAKE_Fortran_FLAGS_RELEASE "-O3") | ||||
|     set(CMAKE_Fortran_FLAGS_DEBUG "-g") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/XL.C.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/XL.C.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_C_COMPILER_ID MATCHES XL) | ||||
|     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -qcpluscmt") | ||||
|     set(CMAKE_C_FLAGS_RELEASE "-O3") | ||||
|     set(CMAKE_C_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/XL.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/XL.CXX.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_CXX_COMPILER_ID MATCHES XL) | ||||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") | ||||
|     set(CMAKE_CXX_FLAGS_RELEASE "-O3") | ||||
|     set(CMAKE_CXX_FLAGS_DEBUG "-O0") | ||||
| endif() | ||||
							
								
								
									
										5
									
								
								compiler_flags/XL.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								compiler_flags/XL.Fortran.cmake
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| if(CMAKE_Fortran_COMPILER_ID MATCHES XL) | ||||
|     set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qzerosize -qextname -qsuppress=cmpmsg") | ||||
|     set(CMAKE_Fortran_FLAGS_RELEASE "-O3") | ||||
|     set(CMAKE_Fortran_FLAGS_DEBUG "-g") | ||||
| endif() | ||||
		Reference in New Issue
	
	Block a user