| 1 |
# @HEADER |
| 2 |
# ***************************************************************************** |
| 3 |
# TriBITS: Tribal Build, Integrate, and Test System |
| 4 |
# |
| 5 |
# Copyright 2013-2016 NTESS and the TriBITS contributors. |
| 6 |
# SPDX-License-Identifier: BSD-3-Clause |
| 7 |
# ***************************************************************************** |
| 8 |
# @HEADER |
| 9 |
|
| 10 |
# This file designates the officially supported versions of CMake for Trilinos. |
| 11 |
# It is updated periodically as new builds of CMake are available. |
| 12 |
|
| 13 |
from CMakeVersions import * |
| 14 |
|
| 15 |
|
| 16 |
# All CMake binaries are downloaded from some path under this base url: |
| 17 |
# |
| 18 |
cmake_baseurl = "http://www.cmake.org/files" |
| 19 |
|
| 20 |
|
| 21 |
# These are the directories under the base url where we look for new builds. |
| 22 |
# Each entry in cmake_vdirs will be scanned for the most-recent available build |
| 23 |
# when download-cmake.py is run (unless detection is skipped) |
| 24 |
# |
| 25 |
# You could also add v2.4 and v2.6 to this list. Installers for the big three |
| 26 |
# platforms have been available since v2.4. Left out here because Trilinos |
| 27 |
# requires at least a CMake v2.7... |
| 28 |
# |
| 29 |
cmake_vdirs = (\ |
| 30 |
"v2.8",\ |
| 31 |
"vCVS",\ |
| 32 |
) |
| 33 |
|
| 34 |
|
| 35 |
# Minimum required -- updated manually, synched with cmake_minimum_required |
| 36 |
# |
| 37 |
# |
| 38 |
# version_min should match Trilinos/CMakeLists.txt cmake_minimum_required |
| 39 |
# |
| 40 |
# This one is the very first day of Kitware producing all three binaries on a |
| 41 |
# nightly basis in the vCVS directory... prior to that, only Windows |
| 42 |
# binaries were available nightly. This is the only available date for |
| 43 |
# pre-built binaries on all three platforms for v2.7. On 9/25, the CMake-2-8 |
| 44 |
# branch was created, and we started producing v2.9 binaries in vCVS. |
| 45 |
|
| 46 |
cmake_min_binaries = (\ |
| 47 |
('linux2', cmake_baseurl + "/vCVS/cmake-" + cmake_version_min + "-Linux-i386.tar.gz"),\ |
| 48 |
('darwin', cmake_baseurl + "/vCVS/cmake-" + cmake_version_min + "-Darwin-universal.tar.gz"),\ |
| 49 |
('win32', cmake_baseurl + "/vCVS/cmake-" + cmake_version_min + "-win32-x86.zip"),\ |
| 50 |
) |
| 51 |
|
| 52 |
|
| 53 |
# Latest official release -- updated manually |
| 54 |
# |
| 55 |
|
| 56 |
cmake_release_binaries = (\ |
| 57 |
('linux2', cmake_baseurl + "/v2.8/cmake-" + cmake_version_release + "-Linux-i386.tar.gz"),\ |
| 58 |
('darwin', cmake_baseurl + "/v2.8/cmake-" + cmake_version_release + "-Darwin-universal.tar.gz"),\ |
| 59 |
('win32', cmake_baseurl + "/v2.8/cmake-" + cmake_version_release + "-win32-x86.zip"),\ |
| 60 |
) |
| 61 |
|
| 62 |
|
| 63 |
# Latest release candidate for vdir "v2.8" -- detected automatically |
| 64 |
# |
| 65 |
|
| 66 |
cmake_rc_binaries = (\ |
| 67 |
('linux2', cmake_baseurl + "/v2.8/cmake-" + cmake_version_rc + "-Linux-i386.tar.gz"),\ |
| 68 |
('darwin', cmake_baseurl + "/v2.8/cmake-" + cmake_version_rc + "-Darwin-universal.tar.gz"),\ |
| 69 |
('win32', cmake_baseurl + "/v2.8/cmake-" + cmake_version_rc + "-win32-x86.zip"),\ |
| 70 |
) |
| 71 |
|
| 72 |
|
| 73 |
# Latest verified build for vdir "vCVS" -- detected automatically |
| 74 |
# |
| 75 |
|
| 76 |
cmake_dev_binaries = (\ |
| 77 |
('linux2', cmake_baseurl + "/vCVS/cmake-" + cmake_version_dev + "-Linux-i386.tar.gz"),\ |
| 78 |
('darwin', cmake_baseurl + "/vCVS/cmake-" + cmake_version_dev + "-Darwin-universal.tar.gz"),\ |
| 79 |
('win32', cmake_baseurl + "/vCVS/cmake-" + cmake_version_dev + "-win32-x86.zip"),\ |
| 80 |
) |