Skip to content

Commit

Permalink
Merge pull request #3653 from youngar/jb_info
Browse files Browse the repository at this point in the history
Stop printing compiler definitions when running cmake
  • Loading branch information
charliegracie authored Mar 14, 2019
2 parents 6c60aa2 + 98ecd0d commit d8aa556
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cmake/modules/OmrCompilerSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ function(make_compiler_target TARGET_NAME SCOPE)
${COMPILER_DEFINES}
)

message("Made ${TARGET_NAME} into a compiler target,for ${TARGET_COMPILER}.")
message("Defines are ${COMPILER_DEFINES} and ${TR_COMPILE_DEFINITIONS}, arch is ${TR_TARGET_ARCH} and ${TR_TARGET_SUBARCH}, compile options are ${TR_COMPILE_OPTIONS} ")
message(STATUS "Adding ${SCOPE} compiler options to ${TARGET_NAME} for ${TARGET_COMPILER}.")
endfunction(make_compiler_target)

# Filter through the provided list, and rewrite any
Expand Down Expand Up @@ -180,7 +179,6 @@ function(spp2s_files out_var compiler)
set(SPP_INCLUDES ${${compiler}_INCLUDES})
set(SPP_DEFINES ${${compiler}_DEFINES} ${compile_defs})

message(STATUS "Set SPP defines to ${SPP_DEFINES}")
omr_add_prefix(SPP_INCLUDES "-I" ${SPP_INCLUDES})
omr_add_prefix(SPP_DEFINES "-D" ${SPP_DEFINES})
set(result "")
Expand Down Expand Up @@ -319,10 +317,10 @@ function(create_omr_compiler_library)
)

if(COMPILER_SHARED)
message("Creating shared library for ${COMPILER_NAME}")
message(STATUS "Creating shared library for ${COMPILER_NAME}")
set(LIB_TYPE SHARED)
else()
message("Creating static library for ${COMPILER_NAME}")
message(STATUS "Creating static library for ${COMPILER_NAME}")
set(LIB_TYPE STATIC)
endif()

Expand All @@ -345,8 +343,6 @@ function(create_omr_compiler_library)
CACHE INTERNAL "Include header list for ${COMPILER}"
)

message("${COMPILER_NAME}_ROOT = ${${COMPILER_NAME}_ROOT}")

# Generate a build name file.
set(BUILD_NAME_FILE "${CMAKE_BINARY_DIR}/${COMPILER_NAME}Name.cpp")
add_custom_command(OUTPUT ${BUILD_NAME_FILE}
Expand Down

0 comments on commit d8aa556

Please sign in to comment.