Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,104
    • Issues 4,104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #20697
Closed
Open
Issue created May 12, 2020 by Brad King@brad.kingOwner

Ninja: XL Fortran preprocessing with -E

In !4075 (merged) and !4735 (merged) we implemented support for XL Fortran with the Ninja generator. This required a special cpp helper script to work around the lack of any xlf option to explicitly preprocess without also compiling.

#19450 (comment 658510) mentioned that XL Fortran is gaining support for explicit preprocessing with the -qpreprocess -E options. This has now been documented by IBM here:

The -E option is added to XL Fortran starting from XL Fortran for Linux, V16.1.1.7.

This means that, at least on Linux, we could switch to using that option instead of the special script when the compiler is sufficiently new.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking