Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • James Willenbring
  • Trilinos
  • Issues
  • #2101

Closed
Open
Created Dec 22, 2017 by James Willenbring@jmwilleMaintainer

Looks for the fortran executable when Trilinos_ENABLE_Fortran=OFF

Created by: yurivict

Building with these arguments:

-DTrilinos_ENABLE_Fortran:BOOL=OFF \
-DTrilinos_ENABLE_ALL_PACKAGES=ON \
-DTPL_ENABLE_BLAS=OFF \
-DTPL_ENABLE_Netcdf=ON \
-DX11_LIBRARY_DIRS:STRING=${LOCALBASE}/lib \
-DBUILD_SHARED_LIBS:BOOL=ON

It fails in the end:

Set up for creating a distribution ...


Finished configuring Trilinos!

-- Configuring done
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_Fortran_LINK_EXECUTABLE
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_Fortran_LINK_EXECUTABLE

If fortran is disabled, it should disable all packages that require the fortran executable, it shouldn't fail like this. Also, removing X11_LIBRARY_DIRS=${LOCALBASE}/lib removes this error too.

Assignee
Assign to
Time tracking