Skip to content

Commit 0746e1b

Browse files
Remove vestigial POWER7 configuration checks
1 parent bd2a55d commit 0746e1b

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,6 @@ else()
366366
message(FATAL_ERROR "Unsupported operating system ${CMAKE_SYSTEM_NAME}.")
367367
endif()
368368

369-
set(CMK_POWER7 0)
370-
if(CHARM_CPU STREQUAL "ppc64le")
371-
execute_process(COMMAND grep f Makefile RESULT_VARIABLE isppc7 OUTPUT_QUIET ERROR_QUIET)
372-
if(${isppc7})
373-
set(CMK_POWER7 1)
374-
endif()
375-
endif()
376-
377369
# Adjust version number so it can be tested by numerical comparisons, e.g. 6.10.1 -> 61001:
378370
# #if CHARM_VERSION > 61001
379371
if(${PROJECT_VERSION_PATCH} LESS 10)

src/scripts/configure.ac

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -642,12 +642,6 @@ test_finish() {
642642
exit $1
643643
}
644644

645-
# detect certain architectures
646-
if cat /proc/cpuinfo 2>/dev/null | grep 'POWER7' > /dev/null
647-
then
648-
AC_DEFINE_UNQUOTED(CMK_POWER7, 1, [whether is power7])
649-
fi
650-
651645
# detect OS
652646
OSNAME=`uname -s`
653647
if test $OSNAME = "Linux"

0 commit comments

Comments
 (0)