Skip to content

Commit 50434c1

Browse files
committed
Add some additional system info in config logging
- Target arch - Path to CMake - Current source directory
1 parent 770b240 commit 50434c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ message( STATUS
1212
============================================================
1313
")
1414

15+
message( STATUS "Running with CMake from: ${CMAKE_COMMAND}" )
16+
message( STATUS "Current source dir (for OpenCoarrays): ${CMAKE_CURRENT_SOURCE_DIR}")
17+
1518
# Add option and check environment to determine if developer tests should be run
1619
if($ENV{OPENCOARRAYS_DEVELOPER})
1720
option(CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" ON)
@@ -82,6 +85,7 @@ string(REGEX REPLACE "-rc[0-9]+$"
8285
project(opencoarrays VERSION "${OPENCOARRAYS_CMAKE_PROJECT_VERSION}" LANGUAGES C Fortran)
8386
message( STATUS "Building OpenCoarrays version: ${full_git_describe}" )
8487
set(OpenCoarrays_dist_string "OpenCoarrays-${full_git_describe}")
88+
message( STATUS "Building for target architecture: ${CMAKE_SYSTEM_PROCESSOR}" )
8589

8690
#Print an error message on an attempt to build inside the source directory tree:
8791
if ("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")

0 commit comments

Comments
 (0)