Added exceptions flag to Make.py

This commit is contained in:
Richard Berger 2016-09-14 19:21:52 -04:00
parent 62bf307d3c
commit cddc1dbb11
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ libclasses = ("atc","awpmd","colvars","cuda","gpu","h5md",
buildclasses = ("intel","kokkos")
makeclasses = ("cc","flags","mpi","fft","jpg","png")
setargs = ("gzip","#gzip","ffmpeg","#ffmpeg","smallbig","bigbig","smallsmall")
setargs = ("gzip","#gzip","ffmpeg","#ffmpeg","smallbig","bigbig","smallsmall","exceptions","#exceptions")
actionargs = ("lib-all","file","clean","exe")
gpubuildflag = 0
@ -459,6 +459,8 @@ class Actions(object):
make.delvar("LMP_INC","-DLAMMPS_SMALLBIG")
make.delvar("LMP_INC","-DLAMMPS_BIGBIG")
make.addvar("LMP_INC","-DLAMMPS_SMALLSMALL")
elif one == "exceptions": make.addvar("LMP_INC","-DLAMMPS_EXCEPTIONS")
elif one == "#exception": make.delvar("LMP_INC","-DLAMMPS_EXCEPTIONS")
# add FFT, JPG, PNG settings