summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-10 18:03:51 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-10 18:03:51 (GMT)
commit3840afa054a0268be344214553fc7db92be0cb91 (patch)
treea9fbf207ef491a5f92ed6eb5426240ee4e08420d /Utilities
parentaa3fc279bfffcd068c8e7b37bd8d539b0456dfc4 (diff)
downloadCMake-3840afa054a0268be344214553fc7db92be0cb91.zip
CMake-3840afa054a0268be344214553fc7db92be0cb91.tar.gz
CMake-3840afa054a0268be344214553fc7db92be0cb91.tar.bz2
ENH:
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/create-cmake-release.cmake4
-rw-r--r--Utilities/Release/dashsgi1_release.cmake11
-rw-r--r--Utilities/Release/dashsgi1_release64.cmake15
-rwxr-xr-xUtilities/Release/release_cmake.sh.in13
4 files changed, 38 insertions, 5 deletions
diff --git a/Utilities/Release/create-cmake-release.cmake b/Utilities/Release/create-cmake-release.cmake
index 3651ee2..af9931a 100644
--- a/Utilities/Release/create-cmake-release.cmake
+++ b/Utilities/Release/create-cmake-release.cmake
@@ -7,8 +7,8 @@ set(RELEASE_SCRIPTS
dashsun1_release.cmake # SunOS
destiny_release.cmake # HPUX
hythloth_release.cmake # Linux
- muse_release.cmake # IRIX
- muse_release64.cmake # IRIX 64
+ dashsgi1_release.cmake # IRIX
+ dashsgi1_release64.cmake # IRIX 64
v60n177_aix_release.cmake # AIX
)
diff --git a/Utilities/Release/dashsgi1_release.cmake b/Utilities/Release/dashsgi1_release.cmake
new file mode 100644
index 0000000..0af5ca7
--- /dev/null
+++ b/Utilities/Release/dashsgi1_release.cmake
@@ -0,0 +1,11 @@
+set(CMAKE_RELEASE_DIRECTORY "/usr/people/kitware/CMakeReleaseDirectory")
+set(PROCESSORS 2)
+set(HOST dashsgi1)
+set(MAKE_PROGRAM "make")
+set(MAKE "${MAKE_PROGRAM} -P")
+set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release
+CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
+CPACK_SYSTEM_NAME:STRING=IRIX64-n32
+")
+get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
+include(${path}/release_cmake.cmake)
diff --git a/Utilities/Release/dashsgi1_release64.cmake b/Utilities/Release/dashsgi1_release64.cmake
new file mode 100644
index 0000000..133f478
--- /dev/null
+++ b/Utilities/Release/dashsgi1_release64.cmake
@@ -0,0 +1,15 @@
+set(CMAKE_RELEASE_DIRECTORY "/usr/people/kitware/CMakeReleaseDirectory64")
+set(PROCESSORS 2)
+set(CFLAGS "-64")
+set(CXXFLAGS "-64")
+set(LDFLAGS="-64")
+set(HOST dashsgi1)
+set(SCRIPT_NAME dashsgi164)
+set(MAKE_PROGRAM "make")
+set(MAKE "${MAKE_PROGRAM} -P")
+set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release
+CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
+CPACK_SYSTEM_NAME:STRING=IRIX64-64
+")
+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 77a3752..b797ed7 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -68,9 +68,16 @@ cd @CMAKE_RELEASE_DIRECTORY@
check_exit_value $? "Checkout cmake source" || exit 1
cd @CMAKE_RELEASE_DIRECTORY@/@CMAKE_VERSION@-build
-echo "Run cmake bootstrap --parallel=@PROCESSORS@"
-../@CMAKE_VERSION@/bootstrap --parallel=@PROCESSORS@
-check_exit_value $? "Bootstrap cmake" || exit 1
+
+if [ ! -z "@CONFIGURE_WITH_CMAKE@" ]; then
+ echo "Run cmake to configure cmake"
+ @CMAKE_CONFIGURE_PATH@ ../@CMAKE_VERSION@
+ check_exit_value $? "Configure cmake" || exit 1
+else
+ echo "Run cmake bootstrap --parallel=@PROCESSORS@"
+ ../@CMAKE_VERSION@/bootstrap --parallel=@PROCESSORS@
+ check_exit_value $? "Bootstrap cmake" || exit 1
+fi
echo "Build cmake with @MAKE@"
@MAKE@