Menu

#21 Build problem: NAG & cmake on OS X Mavericks 10.9

Development v3.x
closed-fixed
nobody
4
2014-11-05
2014-09-08
No

The problem is with NAG under cmake: clang has apparently been updated and “auto detects” fortran and supplies itself with a flag that it does not support. :-)

bash-3.2$ /usr/bin/cc -E -C t.F90
error: invalid value 'f95-cpp-input' in '-x f95-cpp-input'

Not sure what the best workaround is yet. We may have to assume that gcc is installed. :-(

I cannot even find what options -x expects so that we could try to override. Could possibly play games with file suffix.

Discussion

  • Michael L. Rilee

    [...] kludged CMake to use a temporary file with .C as the suffix and all worked.

    I suppose we should make the kludge only happen under 10.9.

    [TLC]

     
  • Michael L. Rilee

    • Group: v2.x --> Development v3.x
    • Priority: 5 --> 4
     
  • Michael L. Rilee

    We've pushed mods that clean up the dependency calculation and compile for NAG.

     
  • Michael L. Rilee

    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB