Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4.4k
    • Issues 4.4k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • 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
  • #18817

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