Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D darshan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • darshan
  • darshan
  • Issues
  • #259
Closed
Open
Issue created Jul 18, 2019 by Glenn K. Lockwood@glockDeveloper

autoconf should require GCC unless explicitly overridden

Darshan should always be built with GCC on Linux since it provides the most portability when linked against other applications. For users who know what they are doing and want to compile with a non-GCC compiler, there should be an explicit --without-gcc (or something) configure option that allows this behavior.

Looking around the Internet, it looks like the solution would be something like

#if defined(__GNUC__) && !defined(__clang__)

because both GCC and clang expose __GNUC__. Might want to check the common HPC compilers (Intel, PGI, Cray) to ensure that they aren't also flying a false flag like this.

Assignee
Assign to
Time tracking