Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,235
    • Issues 3,235
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #18817

Closed
Open
Opened 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
3.13.4
Milestone
3.13.4 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: cmake/cmake#18817