~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/m4/ga_warn_flags.m4

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# GA_WARN_FLAGS
 
2
# -------------
 
3
# Add all known warning flags to the language-specific FLAGS variable.
 
4
AC_DEFUN([GA_WARN_FLAGS], [
 
5
AS_IF([test "x$enable_warnings" = xyes], [
 
6
AC_REQUIRE([GA_COMPILER_VENDOR])
 
7
AS_VAR_PUSHDEF([vendor], [ga_cv_[]_AC_LANG_ABBREV[]_compiler_vendor])
 
8
AS_VAR_PUSHDEF([result], [ga_cv_[]_AC_LANG_ABBREV[]_warning_flags])
 
9
AC_CACHE_CHECK([for _AC_LANG warning flags], [result], [
 
10
AC_LANG_CASE(
 
11
[C], [
 
12
AS_CASE([$vendor],
 
13
[amd],       [result="-Wall -W -Wdeclaration-after-statement"],
 
14
[borland],   [result=],
 
15
[comeau],    [result=],
 
16
[cray],      [result=],
 
17
[dec],       [result=],
 
18
[fujitsu],   [result="-Xc -pvctl,fullmsg"],
 
19
[gnu],       [result="-Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -pedantic -Wno-long-long -Wnested-externs -ansi"],
 
20
[hp],        [result=],
 
21
[ibm],       [result=],
 
22
[intel],     [result="-Wall"],
 
23
[kai],       [result=],
 
24
[lcc],       [result=],
 
25
[metrowerks],[result=],
 
26
[microsoft], [result=],
 
27
[pathscale], [result="-Wall -fullwarn -Wno-unused-parameter -pedantic -Wno-long-long -Wnested-externs"],
 
28
[portland],  [result="-Xc"],
 
29
[sgi],       [result=],
 
30
[sun],       [result=],
 
31
[watcom],    [result=])
 
32
],
 
33
[Fortran 77], [
 
34
result=
 
35
],
 
36
[Fortran], [
 
37
result=
 
38
],
 
39
[C++], [
 
40
result=
 
41
])
 
42
])
 
43
AC_SUBST(GA_[]_AC_LANG_PREFIX[]_WARN, [$result])
 
44
AS_VAR_POPDEF([result])
 
45
AS_VAR_POPDEF([vendor])
 
46
])
 
47
])dnl
 
48
 
 
49
# GA_ENABLE_WARNINGS
 
50
# ------------------
 
51
# Adds --enable-warnings.
 
52
AC_DEFUN([GA_ENABLE_WARNINGS], [
 
53
AC_ARG_ENABLE([warnings],
 
54
    [AS_HELP_STRING([--enable-warnings],
 
55
        [use compiler-specific warnings])],
 
56
    [enable_warnings=yes],
 
57
    [enable_warnings=no])
 
58
])dnl