ENH: update for release
This commit is contained in:
parent
e593fbf6ee
commit
71c934f029
|
@ -10,7 +10,7 @@ set(RELEASE_SCRIPTS
|
|||
dashsgi1_release.cmake # IRIX
|
||||
dashsgi1_release64.cmake # IRIX 64
|
||||
vogon_release.cmake # Windows
|
||||
v60n177_aix_release.cmake # AIX
|
||||
r36n11_aix_release.cmake # AIX
|
||||
)
|
||||
|
||||
file(WRITE create-${CMAKE_VERSION}.sh "#!/bin/sh")
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
set(PROCESSORS 1)
|
||||
set(HOST magrathea)
|
||||
set(MAKE_PROGRAM "make")
|
||||
set(CC gcc332s)
|
||||
set(CXX c++332s)
|
||||
set(INITIAL_CACHE "
|
||||
CURSES_LIBRARY:FILEPATH=/usr/i686-gcc-332s/lib/libncurses.a
|
||||
CURSES_INCLUDE_PATH:PATH=/usr/i686-gcc-332s/include/ncurses
|
||||
FORM_LIBRARY:FILEPATH=/usr/i686-gcc-332s/lib/libform.a
|
||||
CPACK_SYSTEM_NAME:STRING=Linux-i386
|
||||
")
|
||||
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
include(${path}/release_cmake.cmake)
|
|
@ -0,0 +1,22 @@
|
|||
set(CMAKE_RELEASE_DIRECTORY "/bench1/noibm34/CMakeReleaseDirectory" )
|
||||
set(FINAL_PATH /u/noibm34/cmake-release)
|
||||
set(PROCESSORS 2)
|
||||
set(CVS_COMMAND /vol/local/bin/cvs)
|
||||
set(HOST "sshserv.centers.ihost.com" )
|
||||
set(EXTRA_HOP "ssh r36n11" )
|
||||
set(MAKE_PROGRAM "make")
|
||||
set(CC "xlc")
|
||||
set(CXX "xlC")
|
||||
set(FC "xlf")
|
||||
set(INITIAL_CACHE "
|
||||
CMAKE_BUILD_TYPE:STRING=Release
|
||||
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)
|
||||
include(${path}/release_cmake.cmake)
|
|
@ -20,6 +20,11 @@ if [ ! -z "@CC@" ]; then
|
|||
check_exit_value $? "set CC compiler env var" || exit 1
|
||||
fi
|
||||
|
||||
if [ ! -z "@FC@" ]; then
|
||||
export FC="@FC@"
|
||||
check_exit_value $? "set FC compiler env var" || exit 1
|
||||
fi
|
||||
|
||||
if [ ! -z "@CXX@" ]; then
|
||||
export CXX="@CXX@"
|
||||
check_exit_value $? "set CC compiler env var" || exit 1
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
set(PROJECT_PREFIX cmake-)
|
||||
set(VERSION 2.4)
|
||||
file(GLOB FILES ${CMAKE_CURRENT_SOURCE_DIR} "${PROJECT_PREFIX}*")
|
||||
message("${FILES}")
|
||||
set(UPLOAD_LOC
|
||||
"kitware@www.cmake.org:/projects/FTP/pub/cmake/v${VERSION}")
|
||||
foreach(file ${FILES})
|
||||
if(NOT IS_DIRECTORY ${file})
|
||||
message("upload ${file}")
|
||||
execute_process(COMMAND
|
||||
scp ${file} ${UPLOAD_LOC}
|
||||
RESULT_VARIABLE result)
|
||||
if("${result}" GREATER 0)
|
||||
message(FATAL_ERROR "failed to upload file to ${UPLOAD_LOC}")
|
||||
endif("${result}" GREATER 0)
|
||||
endif(NOT IS_DIRECTORY ${file})
|
||||
endforeach(file)
|
Loading…
Reference in New Issue