versions.cmake 5.81 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
# This maintains the links for all sources used by this superbuild.
# Simply update this file to change the revision.
# One can use different revision on different platforms.
# e.g.
# if (UNIX)
#   ..
# else (APPLE)
#   ..
# endif()

add_revision(zlib
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
12
  URL "http://www.paraview.org/files/dependencies/zlib-1.2.7.tar.gz"
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
13
  URL_MD5 60df6a37c56e7c1366cca812414f7b85)
14
# NOTE: if updating zlib version, fix patch in zlib.cmake
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
15

16
17

add_revision(png
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
18
  URL "http://paraview.org/files/dependencies/libpng-1.4.8.tar.gz"
19
20
21
  URL_MD5 49c6e05be5fa88ed815945d7ca7d4aa9)

add_revision(freetype
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
22
  URL "http://paraview.org/files/dependencies/freetype-2.4.8.tar.gz"
23
24
25
  URL_MD5 "5d82aaa9a4abc0ebbd592783208d9c76")

add_revision(szip
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
26
  URL "http://paraview.org/files/dependencies/szip-2.1.tar.gz"
27
28
29
  URL_MD5 902f831bcefb69c6b635374424acbead)

add_revision(hdf5
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
30
  URL "http://paraview.org/files/dependencies/hdf5-1.8.9.tar.gz"
31
  URL_MD5 d1266bb7416ef089400a15cc7c963218)
32
33

add_revision(silo
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
34
  URL "http://paraview.org/files/dependencies/silo-4.8-bsd.tar.gz"
35
  URL_MD5 d864e383f25b5b047b98aa2d5562d379)
36
37

add_revision(cgns
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
38
  URL "http://www.paraview.org/files/dependencies/cgnslib_3.1.3-4.tar.gz"
39
  URL_MD5 442bba32b576f3429cbd086af43fd4ae)
40
41

add_revision(ffmpeg
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
42
  URL "http://paraview.org/files/dependencies/ffmpeg-0.6.5.tar.gz"
43
44
45
  URL_MD5 451054dae3b3d33a86c2c48bd12d56e7)

add_revision(libxml2
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
46
  URL "http://paraview.org/files/dependencies/libxml2-2.7.8.tar.gz"
47
48
49
  URL_MD5 8127a65e8c3b08856093099b52599c86)

add_revision(fontconfig
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
50
  URL "http://paraview.org/files/dependencies/fontconfig-2.8.0.tar.gz"
51
52
  URL_MD5 77e15a92006ddc2adbb06f840d591c0e)

53
add_revision(qt
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
54
  URL "http://www.paraview.org/files/dependencies/qt-everywhere-opensource-src-4.8.2.tar.gz"
55
  URL_MD5 3c1146ddf56247e16782f96910a8423b)
56

57
if (WIN32 OR (CROSS_BUILD_STAGE STREQUAL "CROSS"))
58
  add_revision(python
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
59
    URL "http://www.paraview.org/files/dependencies/Python-2.7.3.tgz"
60
61
62
    URL_MD5 "2cf641732ac23b18d139be077bd906cd")
else()
  add_revision(python
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
63
    URL "http://paraview.org/files/dependencies/Python-2.7.2.tgz"
64
65
    URL_MD5 "0ddfe265f1b3d0a8c2459f5bf66894c7")
endif()
66
67

add_revision(numpy
68
69
  URL "http://paraview.org/files/dependencies/numpy-1.6.2.tar.gz"
  URL_MD5 95ed6c9dcc94af1fc1642ea2a33c1bba)
70

David C. Lonie's avatar
David C. Lonie committed
71
add_revision(matplotlib
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
72
  URL "http://paraview.org/files/dependencies/matplotlib-1.1.1_notests.tar.gz"
David C. Lonie's avatar
David C. Lonie committed
73
74
  URL_MD5 30ee59119599331bf1f3b6e838fee9a8)

75
add_revision(boost
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
76
  URL "http://www.paraview.org/files/dependencies/boost_1_50_0.tar.gz"
77
  URL_MD5 dbc07ab0254df3dda6300fd737b3f264)
78
79

add_revision(manta
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
80
  URL "http://paraview.org/files/dependencies/manta-r2439.tar.gz"
81
82
  URL_MD5 fbf4107fe2f6d7e8a5ae3dda71805bdc)

83
if (UNIX)
84
  add_revision(mpi
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
85
    URL "http://paraview.org/files/dependencies/mpich2-1.4.1p1.tar.gz"
86
87
88
    URL_MD5 b470666749bcb4a0449a072a18e2c204)
elseif (WIN32)
  add_revision(mpi
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
89
    URL "http://www.paraview.org/files/dependencies/openmpi-1.4.4.tar.gz"
90
    URL_MD5 7253c2a43445fbce2bf4f1dfbac113ad)
91
endif()
92

93
94
if (CROSS_BUILD_STAGE STREQUAL "CROSS")
  add_revision(mesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
95
    URL "http://www.paraview.org/files/dependencies/MesaLib-7.6.1.tar.gz"
96
97
98
    URL_MD5 e80fabad2e3eb7990adae773d6aeacba)
else()
  add_revision(mesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
99
    URL "http://paraview.org/files/dependencies/MesaLib-7.11.2.tar.gz"
100
101
    URL_MD5 b9e84efee3931c0acbccd1bb5a860554)
endif()
102

103
104
# We stick with 7.11.2 for Mesa version for now. Newer mesa doesn't seem to
# build correctly with certain older compilers (e.g. on neser).
105
add_revision(osmesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
106
    URL "http://paraview.org/files/dependencies/MesaLib-7.11.2.tar.gz"
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
107
    URL_MD5 b9e84efee3931c0acbccd1bb5a860554)
108

109
110
111
if (TRUST_SVN_CERTIFICATES_AUTOMATICALLY)
  add_revision(diy
     SVN_REPOSITORY https://svn.mcs.anl.gov/repos/diy/trunk
George Zagaris's avatar
George Zagaris committed
112
     SVN_REVISION -r176
113
114
115
     SVN_TRUST_CERT 1)
else()
  add_revision(diy
116
     SVN_REPOSITORY https://svn.mcs.anl.gov/repos/diy/trunk
George Zagaris's avatar
George Zagaris committed
117
     SVN_REVISION -r176)
118
endif()
119

120
121
# ----------------------------------------------------------------------------
# You choose to download ParaView source form GIT or other URL/FILE tarball
122
option(ParaView_FROM_GIT "If enabled then the repository is fetched from git" ON)
123
124
125
126
127

if (ParaView_FROM_GIT)
  # Download PV from GIT
  add_revision(paraview
    GIT_REPOSITORY git://paraview.org/ParaView.git
128
    GIT_TAG "master")
129
130
else()
  # Variables to hold the URL and MD5 (optional)
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
131
  set (ParaView_URL "http://www.paraview.org/files/v4.0/ParaView-v4.0.1-source.tgz" CACHE
132
    STRING "Specify the url for ParaView tarball")
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
133
  set (ParaView_URL_MD5 "6a65c4b03bd82393197f1311e6d9c750" CACHE
134
135
136
137
138
139
140
141
142
143
144
145
146
147
    STRING "MD5 of the ParaView tarball")

  # Get the length of the URL specified.
  if("${ParaView_URL}" STREQUAL "")
    # No URL specified raise error.
    message (FATAL_ERROR "ParaView_URL should have a valid URL or FilePath to a ParaView tarball")
  else()
    # Download PV from source specified in URL
    add_revision(paraview
      URL ${ParaView_URL}
      URL_MD5 ${ParaView_URL_MD5})
  endif()
endif()

148
add_revision(qhull
149
    GIT_REPOSITORY git://github.com/gzagaris/gxzagas-qhull.git
150
151
    GIT_TAG master)

152
#------------------------------------------------------------------------------
153
# Optional Plugins. Doesn't affect ParaView binaries at all even if missing
154
155
156
# or disabled.
#------------------------------------------------------------------------------

157
add_revision(cosmologytools
George Zagaris's avatar
George Zagaris committed
158
    GIT_REPOSITORY git://public.kitware.com/cosmotools.git
George Zagaris's avatar
George Zagaris committed
159
    GIT_TAG v0.11)
160

Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
161
add_revision(acusolve
162
163
  GIT_REPOSITORY git://kwsource.kitwarein.com/paraview/acusolvereaderplugin.git
  GIT_TAG master)
164

Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
165
add_revision(vistrails
166
167
168
  GIT_REPOSITORY git://kwsource.kitwarein.com/paraview/vistrails.git
  GIT_TAG master)

169
170
#add_revision(mili_plugin
# URL ${CMAKE_CURRENT_SOURCE_DIR}/Externals/mili)
171

172
173
174
175
add_revision(nektar_plugin
  GIT_REPOSITORY git://gitorious.org/nektarplugin/nektarplugin.git
  GIT_TAG master)

176
add_revision(portfwd
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
177
  URL "http://www.paraview.org/files/dependencies/portfwd-0.29.tar.gz"
178
  URL_MD5 93161c91e12b0d67ca52dc13708a2f2f)