summaryrefslogtreecommitdiffstats
path: root/Utilities/Release
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-10-16 16:47:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-10-16 16:47:07 (GMT)
commit71c934f02959b8593bc4241e61f3bcf78cceefd0 (patch)
treeb968757fa2b58a0a4793b9460170fed2f59d317d /Utilities/Release
parente593fbf6eee74e33f721742ac0d632a3b7f72084 (diff)
downloadCMake-71c934f02959b8593bc4241e61f3bcf78cceefd0.zip
CMake-71c934f02959b8593bc4241e61f3bcf78cceefd0.tar.gz
CMake-71c934f02959b8593bc4241e61f3bcf78cceefd0.tar.bz2
ENH: update for release
Diffstat (limited to 'Utilities/Release')
-rw-r--r--Utilities/Release/create-cmake-release.cmake2
-rw-r--r--Utilities/Release/magrathea_release.cmake13
-rw-r--r--Utilities/Release/r36n11_aix_release.cmake22
-rwxr-xr-xUtilities/Release/release_cmake.sh.in5
-rw-r--r--Utilities/Release/upload_release.cmake17
5 files changed, 58 insertions, 1 deletions
diff --git a/Utilities/Release/create-cmake-release.cmake b/Utilities/Release/create-cmake-release.cmake
index f10d31e..2b16879 100644
--- a/Utilities/Release/create-cmake-release.cmake
+++ b/Utilities/Release/create-cmake-release.cmake
@@ -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")
diff --git a/Utilities/Release/magrathea_release.cmake b/Utilities/Release/magrathea_release.cmake
new file mode 100644
index 0000000..cbae074
--- /dev/null
+++ b/Utilities/Release/magrathea_release.cmake
@@ -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)
diff --git a/Utilities/Release/r36n11_aix_release.cmake b/Utilities/Release/r36n11_aix_release.cmake
new file mode 100644
index 0000000..60c8459
--- /dev/null
+++ b/Utilities/Release/r36n11_aix_release.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)
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index f9ea95e..12442c6 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -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
diff --git a/Utilities/Release/upload_release.cmake b/Utilities/Release/upload_release.cmake
new file mode 100644
index 0000000..4b9917a
--- /dev/null
+++ b/Utilities/Release/upload_release.cmake
@@ -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)