Utilities/Release: Update IBM AIX build machine access
This commit is contained in:
parent
71b14dcb0a
commit
f0f2b21d52
|
@ -10,7 +10,7 @@ set(RELEASE_SCRIPTS_BATCH_1
|
||||||
dashmacmini2_release.cmake # Mac Darwin universal ppc;i386
|
dashmacmini2_release.cmake # Mac Darwin universal ppc;i386
|
||||||
dashmacmini5_release.cmake # Mac Darwin64 universal x86_64;i386
|
dashmacmini5_release.cmake # Mac Darwin64 universal x86_64;i386
|
||||||
magrathea_release.cmake # Linux
|
magrathea_release.cmake # Linux
|
||||||
v20n250_aix_release.cmake # AIX 5.3
|
ibm_aix_release.cmake # AIX
|
||||||
ferrari_sgi64_release.cmake # IRIX 64
|
ferrari_sgi64_release.cmake # IRIX 64
|
||||||
ferrari_sgi_release.cmake # IRIX
|
ferrari_sgi_release.cmake # IRIX
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
set(CMAKE_RELEASE_DIRECTORY "/bench1/noibm34/CMakeReleaseDirectory")
|
set(CMAKE_RELEASE_DIRECTORY "/bench1/noibm34/CMakeReleaseDirectory")
|
||||||
set(FINAL_PATH /u/noibm34/cmake-release)
|
set(PROCESSORS 64)
|
||||||
set(PROCESSORS 2)
|
set(HOST "ibm-backend")
|
||||||
set(HOST "sshserv.centers.ihost.com")
|
set(SCRIPT_NAME aix)
|
||||||
set(EXTRA_HOP "rsh p90n03")
|
|
||||||
set(MAKE_PROGRAM "make")
|
set(MAKE_PROGRAM "make")
|
||||||
set(CC "xlc_r")
|
set(CC "xlc_r")
|
||||||
set(CXX "xlC_r")
|
set(CXX "xlC_r")
|
||||||
|
@ -12,11 +11,5 @@ set(INITIAL_CACHE "
|
||||||
CMAKE_BUILD_TYPE:STRING=Release
|
CMAKE_BUILD_TYPE:STRING=Release
|
||||||
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
||||||
")
|
")
|
||||||
set(EXTRA_COPY "
|
|
||||||
rm -rf ~/cmake-release
|
|
||||||
mkdir ~/cmake-release
|
|
||||||
mv *.sh ~/cmake-release
|
|
||||||
mv *.Z ~/cmake-release
|
|
||||||
mv *.gz ~/cmake-release")
|
|
||||||
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||||
include(${path}/release_cmake.cmake)
|
include(${path}/release_cmake.cmake)
|
|
@ -4,9 +4,6 @@ get_filename_component(SCRIPT_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||||
if(NOT DEFINED CPACK_BINARY_GENERATORS)
|
if(NOT DEFINED CPACK_BINARY_GENERATORS)
|
||||||
set(CPACK_BINARY_GENERATORS "STGZ TGZ TZ")
|
set(CPACK_BINARY_GENERATORS "STGZ TGZ TZ")
|
||||||
endif()
|
endif()
|
||||||
if(DEFINED EXTRA_COPY)
|
|
||||||
set(HAS_EXTRA_COPY 1)
|
|
||||||
endif()
|
|
||||||
if(NOT DEFINED CMAKE_RELEASE_DIRECTORY)
|
if(NOT DEFINED CMAKE_RELEASE_DIRECTORY)
|
||||||
set(CMAKE_RELEASE_DIRECTORY "~/CMakeReleaseDirectory")
|
set(CMAKE_RELEASE_DIRECTORY "~/CMakeReleaseDirectory")
|
||||||
endif()
|
endif()
|
||||||
|
@ -55,11 +52,11 @@ message("Creating CMake release ${CMAKE_CREATE_VERSION} on ${HOST} with parallel
|
||||||
macro(remote_command comment command)
|
macro(remote_command comment command)
|
||||||
message("${comment}")
|
message("${comment}")
|
||||||
if(${ARGC} GREATER 2)
|
if(${ARGC} GREATER 2)
|
||||||
message("ssh ${HOST} ${EXTRA_HOP} ${command}")
|
message("ssh ${HOST} ${command}")
|
||||||
execute_process(COMMAND ssh ${HOST} ${EXTRA_HOP} ${command} RESULT_VARIABLE result INPUT_FILE ${ARGV2})
|
execute_process(COMMAND ssh ${HOST} ${command} RESULT_VARIABLE result INPUT_FILE ${ARGV2})
|
||||||
else()
|
else()
|
||||||
message("ssh ${HOST} ${EXTRA_HOP} ${command}")
|
message("ssh ${HOST} ${command}")
|
||||||
execute_process(COMMAND ssh ${HOST} ${EXTRA_HOP} ${command} RESULT_VARIABLE result)
|
execute_process(COMMAND ssh ${HOST} ${command} RESULT_VARIABLE result)
|
||||||
endif()
|
endif()
|
||||||
if(${result} GREATER 0)
|
if(${result} GREATER 0)
|
||||||
message(FATAL_ERROR "Error running command: ${command}, return value = ${result}")
|
message(FATAL_ERROR "Error running command: ${command}, return value = ${result}")
|
||||||
|
|
|
@ -155,11 +155,6 @@ done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# need to add an extra copy thing here
|
|
||||||
if [ ! -z "@EXTRA_COPY@" ]; then
|
|
||||||
@EXTRA_COPY@
|
|
||||||
check_exit_value $? "Extra copy step @EXTRA_COPY@" || exit 1
|
|
||||||
fi
|
|
||||||
echo "End release"
|
echo "End release"
|
||||||
date
|
date
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in New Issue