Skip to content

GitLab

  • Menu
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 3,802
    • Issues 3,802
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & 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
  • CMake
  • CMakeCMake
  • Issues
  • #18817

Closed
Open
Created Jan 19, 2019 by Tobias C. Berner@tcbernerContributor

Regression in cmake-3.13.3 with missing source directory

Good morning

Scalapack [1] fails to build on FreeBSD [2] with cmake-3.13.3, and works all things being the same with 3.13.2.

I suspect the change [3] which made source/binary directories required. A possible fix for scalapack is in its CMAKE/FortranMangling.cmake to append the value it passes as WORKING_DIRECTORY as additional argument to the called cmake (line 21).

 17    # Configure: 
 18     EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}  
 19          "-DCMAKE_Fortran_COMPILER=${CMAKE_Fortran_COMPILER}"
 20          "-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}"
 21          "${PROJECT_SOURCE_DIR}/BLACS/INSTALL"
 22         WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/BLACS/INSTALL/        
 23         RESULT_VARIABLE RESVAR OUTPUT_VARIABLE LOG1 ERROR_VARIABLE LOG1
 24     )

mfg Tobias

[1] http://www.netlib.org/scalapack/ [v2.0.2]

[2] http://package23.nyi.freebsd.org/data/112i386-default-PR234959/2019-01-17_09h09m39s/logs/errors/scalapack-2.0.2_16.log

[3] 27eb7c5b

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