mirror of https://github.com/QMCPACK/qmcpack.git
Suppress the warnings on BGClang.
This commit is contained in:
parent
8051b45682
commit
5c027b652c
|
@ -1,7 +1,7 @@
|
|||
set(CMAKE_C_COMPILER mpiclang)
|
||||
set(CMAKE_CXX_COMPILER mpiclang++11)
|
||||
|
||||
set(GNU_OPTS "-O3 -g -ffast-math -fopenmp -fstrict-aliasing -Wno-deprecated -Wno-unused-value -Wno-type-safety")
|
||||
set(GNU_OPTS "-O3 -g -ffast-math -fopenmp -fstrict-aliasing -Wno-deprecated -Wno-unused-value -Wno-type-safety -Wno-undefined-var-template")
|
||||
set(GNU_FLAGS "-Drestrict=__restrict__ -DADD_ -DHAVE_MASS -DHAVE_MASSV -DSPLINEFLOAT -DBGQPX -D__forceinline=inline")
|
||||
set(CMAKE_CXX_FLAGS "${GNU_FLAGS} ${GNU_OPTS} -ftemplate-depth-60")
|
||||
set(CMAKE_C_FLAGS "${GNU_FLAGS} ${GNU_OPTS} -std=c99" )
|
||||
|
|
Loading…
Reference in New Issue