Project

General

Profile

Bug #420

setting CFLAGS with Cmake

Added by Rossen Apostolov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Erik Lindahl
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

CMake should set appropriate default CFLAGS

History

#1 Updated by Sander Pronk over 9 years ago

I've partially implemented this: it works for x86, but no other architecture yet.

#2 Updated by Sander Pronk over 9 years ago

I've added support for all reasonable compilers (gcc, icc, pgi, pathscale, xlc), but they need testing (I have no access to machines with pgi, pathscale or xlc compilers).

two questions:
- Does MSVC qualify as a 'reasonable compiler', given that SSE won't work on it?
- Does anybody know any more compilers to add support for?

#3 Updated by Sander Pronk over 9 years ago

I think I've fixed this now. Any specific problems should be platform-specific and can be filed separately.

Also available in: Atom PDF