versions.cmake 8.75 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
# 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()

11
12
include(CMakeDependentOption)

Ben Boeckel's avatar
Ben Boeckel committed
13
add_revision(bzip2
14
  URL "http://www.paraview.org/files/dependencies/bzip2-1.0.6.tar.gz"
Ben Boeckel's avatar
Ben Boeckel committed
15
16
17
18
  URL_MD5 00b516f4704d4a7cb50a1d97e6e8e15b)
# NOTE: if updating bzip2 version, fix patch in bzip2.cmake


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

24
25

add_revision(png
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
26
  URL "http://paraview.org/files/dependencies/libpng-1.4.8.tar.gz"
27
28
29
  URL_MD5 49c6e05be5fa88ed815945d7ca7d4aa9)

add_revision(freetype
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
30
  URL "http://paraview.org/files/dependencies/freetype-2.4.8.tar.gz"
31
32
33
  URL_MD5 "5d82aaa9a4abc0ebbd592783208d9c76")

add_revision(szip
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
34
  URL "http://paraview.org/files/dependencies/szip-2.1.tar.gz"
35
36
37
  URL_MD5 902f831bcefb69c6b635374424acbead)

add_revision(hdf5
38
  URL "http://www.paraview.org/files/dependencies/hdf5-1.8.13.tar.gz"
Dan Lipsa's avatar
Dan Lipsa committed
39
  URL_MD5 c03426e9e77d7766944654280b467289)
40
41

add_revision(silo
42
43
  URL "http://paraview.org/files/dependencies/silo-4.9.1-bsd.tar.gz"
  URL_MD5 465d2a0a8958b088cde83fb2a5a7eeef)
44
45

add_revision(cgns
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
46
  URL "http://www.paraview.org/files/dependencies/cgnslib_3.1.3-4.tar.gz"
47
  URL_MD5 442bba32b576f3429cbd086af43fd4ae)
48
49

add_revision(ffmpeg
50
  URL "http://paraview.org/files/dependencies/ffmpeg-2.3.3.tar.bz2"
51
  URL_MD5 72361d3b8717b6db3ad2b9da8df7af5e)
52
53

add_revision(libxml2
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
54
  URL "http://paraview.org/files/dependencies/libxml2-2.7.8.tar.gz"
55
56
57
  URL_MD5 8127a65e8c3b08856093099b52599c86)

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

Ben Boeckel's avatar
Ben Boeckel committed
61
62
63
64
65
66
67
68
69
if (WIN32)
  add_revision(qt4
    URL "http://paraview.org/files/dependencies/qt-everywhere-opensource-src-4.8.4.tar.gz"
    URL_MD5 89c5ecba180cae74c66260ac732dc5cb)
else ()
  add_revision(qt4
    URL "http://paraview.org/files/dependencies/qt-everywhere-opensource-src-4.8.6.tar.gz"
    URL_MD5 2edbe4d6c2eff33ef91732602f3518eb)
endif ()
70

Ben Boeckel's avatar
Ben Boeckel committed
71
if (WIN32)
Ben Boeckel's avatar
Ben Boeckel committed
72
  add_revision(qt5
Ben Boeckel's avatar
Ben Boeckel committed
73
74
75
    URL "http://download.qt.io/official_releases/qt/5.4/5.4.1/single/qt-everywhere-opensource-src-5.4.1.zip"
    URL_MD5 57b25c68982237abb9e18b347034e005)
else ()
Ben Boeckel's avatar
Ben Boeckel committed
76
  add_revision(qt5
Ben Boeckel's avatar
Ben Boeckel committed
77
78
79
80
    URL "http://download.qt.io/official_releases/qt/5.4/5.4.1/single/qt-everywhere-opensource-src-5.4.1.tar.gz"
    URL_MD5 90f3fbce38ed16e5dc2cd0909ae86ca4)
endif ()

81
82
83
84
85
86
87
88
89
90
91
if (WIN32)
  if (64bit_build)
    add_revision(python
      URL "http://www.paraview.org/files/dependencies/python+deps.tar.bz2"
      URL_MD5 "4318b8f771eda5606d9ce7f0be9f82e1")
  else ()
    add_revision(python
      URL "http://www.paraview.org/files/dependencies/python+deps-x32.tar.bz2"
      URL_MD5 "6ba441784a672e08379d23ddd61146f0")
  endif ()
elseif (CROSS_BUILD_STAGE STREQUAL "CROSS")
92
  add_revision(python
93
94
    URL "http://www.paraview.org/files/dependencies/Python-2.7.3_CMake-7d1eb56.tar.bz2"
    URL_MD5 "48121a265837f825b1136ca8cf9bc4cd")
95
96
else()
  add_revision(python
97
98
    URL "http://paraview.org/files/dependencies/Python-2.7.11.tgz"
    URL_MD5 "6b6076ec9e93f05dd63e47eb9c15728b")
99
endif()
100
101

add_revision(numpy
Ben Boeckel's avatar
Ben Boeckel committed
102
103
  URL "http://paraview.org/files/dependencies/numpy-1.8.1+cmake+static.tar.bz2"
  URL_MD5 1974dbb4bfa1509e492791a8cd225774)
104

David C. Lonie's avatar
David C. Lonie committed
105
add_revision(matplotlib
106
107
  URL "http://paraview.org/files/dependencies/matplotlib-1.1.1_notests.tar.gz"
  URL_MD5 30ee59119599331bf1f3b6e838fee9a8)
David C. Lonie's avatar
David C. Lonie committed
108

109
add_revision(boost
Ben Boeckel's avatar
Ben Boeckel committed
110
  URL "http://www.computationalmodelbuilder.org/files/dependencies/boost_1_56_0.tar.gz"
Ben Boeckel's avatar
Ben Boeckel committed
111
  URL_MD5 8c54705c424513fa2be0042696a3a162)
112
113

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

Ben Boeckel's avatar
Ben Boeckel committed
117
118
119
120
add_revision(vrpn
  GIT_REPOSITORY "https://github.com/vrpn/vrpn.git"
  GIT_TAG a545ef6415f0026aabdbdb1d7fdbefeb91c47d4f)

121
if (UNIX)
122
  add_revision(mpi
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
123
    URL "http://paraview.org/files/dependencies/mpich2-1.4.1p1.tar.gz"
124
125
126
    URL_MD5 b470666749bcb4a0449a072a18e2c204)
elseif (WIN32)
  add_revision(mpi
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
127
    URL "http://www.paraview.org/files/dependencies/openmpi-1.4.4.tar.gz"
128
    URL_MD5 7253c2a43445fbce2bf4f1dfbac113ad)
129
endif()
130

131
132
if (CROSS_BUILD_STAGE STREQUAL "CROSS")
  add_revision(mesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
133
    URL "http://www.paraview.org/files/dependencies/MesaLib-7.6.1.tar.gz"
134
135
136
    URL_MD5 e80fabad2e3eb7990adae773d6aeacba)
else()
  add_revision(mesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
137
    URL "http://paraview.org/files/dependencies/MesaLib-7.11.2.tar.gz"
138
139
    URL_MD5 b9e84efee3931c0acbccd1bb5a860554)
endif()
140

141
142
# 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).
143
add_revision(osmesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
144
    URL "http://paraview.org/files/dependencies/MesaLib-7.11.2.tar.gz"
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
145
    URL_MD5 b9e84efee3931c0acbccd1bb5a860554)
146

147

148
149
# ----------------------------------------------------------------------------
# You choose to download ParaView source form GIT or other URL/FILE tarball
150
option(ParaView_FROM_GIT "If enabled then the repository is fetched from git" ON)
151
cmake_dependent_option(ParaView_FROM_SOURCE_DIR "Enable to use existing ParaView source." OFF
152
  "NOT ParaView_FROM_GIT" OFF)
153
154
155

if (ParaView_FROM_GIT)
  # Download PV from GIT
156
  add_customizable_revision(paraview
Ben Boeckel's avatar
Ben Boeckel committed
157
    GIT_REPOSITORY https://gitlab.kitware.com/paraview/paraview.git
158
    GIT_TAG "master")
159
else()
160
161
162
163
164
165
  if (ParaView_FROM_SOURCE_DIR)
    add_customizable_revision(paraview
      SOURCE_DIR "ParaViewSource")
  else()
    # Variables to hold the URL and MD5 (optional)
    add_customizable_revision(paraview
166
167
      URL "http://www.paraview.org/files/v5.0/ParaView-v5.0.1-source.tar.gz"
      URL_MD5 "fdf206113369746e2276b95b257d2c9b")
168
  endif()
169
170
endif()

Ben Boeckel's avatar
Ben Boeckel committed
171
172
add_revision(catalyst ${paraview_revision})

173
174
175
176
177
178
179
#------------------------------------------------------------------------------
# Optional Plugins. Doesn't affect ParaView binaries at all even if missing
# or disabled.
#------------------------------------------------------------------------------

if (USE_NONFREE_COMPONENTS)
  add_revision(qhull
180
181
    GIT_REPOSITORY https://github.com/mathstuf/qhull.git
    GIT_TAG next)
182

183
  add_revision(genericio
184
    GIT_REPOSITORY https://kwgitlab.kitware.com/paraview/genericio.git
Ben Boeckel's avatar
Ben Boeckel committed
185
    GIT_TAG master)
186

187
188
189
190
191
192
193
194
  # Add an option to not use diy from SVN. On Debian-Etch the SVN is too old
  # to work with invalid SVN certificates.
  option(DIY_SKIP_SVN "If enabled, we simply download diy from a source tar" OFF)
  if(DIY_SKIP_SVN)
    add_revision(diy
      URL "http://paraview.org/files/dependencies/diy-src.r178.tar.gz"
      URL_MD5 4fba13aae93927d0f32dd6db0599ffcd)
  else()
Ben Boeckel's avatar
Ben Boeckel committed
195
196
197
    add_revision(diy
      GIT_REPOSITORY https://gitlab.kitware.com/paraview/diy.git
      GIT_TAG f5c00a034279d20cf040705d78a6b7bdb4beae43) # r178
198
  endif()
199

200
  add_revision(cosmotools
George Zagaris's avatar
George Zagaris committed
201
    GIT_REPOSITORY git://public.kitware.com/cosmotools.git
202
    GIT_TAG v0.13)
203

204
  add_revision(acusolve
205
    GIT_REPOSITORY https://kwgitlab.kitware.com/paraview/acusolvereaderplugin.git
206
    GIT_TAG master)
207

208
  add_revision(vistrails
209
    GIT_REPOSITORY https://kwgitlab.kitware.com/paraview/vistrails.git
210
211
    GIT_TAG master)
endif ()
212

213
214
215
216
#add_customizable_revision(vortexfinder2
#  GIT_REPOSITORY https://github.com/hguo/vortexfinder2.git
#  GIT_TAG 2bdae9bfc0f36e1013a4b41c5d25c9e6ebbf1701)
add_customizable_revision(vortexfinder2
T.J. Corona's avatar
T.J. Corona committed
217
218
  GIT_REPOSITORY https://github.com/tjcorona/vortexfinder2.git
  GIT_TAG master)
219

220
221
#add_revision(mili_plugin
# URL ${CMAKE_CURRENT_SOURCE_DIR}/Externals/mili)
222

223
add_revision(portfwd
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
224
  URL "http://www.paraview.org/files/dependencies/portfwd-0.29.tar.gz"
225
  URL_MD5 93161c91e12b0d67ca52dc13708a2f2f)
226
227
228
229

add_revision(lapack
  URL "http://paraview.org/files/dependencies/lapack-3.4.2.tgz"
  URL_MD5 61bf1a8a4469d4bdb7604f5897179478)
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
230
231
232

add_revision(netcdf
  URL http://www.paraview.org/files/dependencies/netcdf-4.3.2.modified.tar.gz
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
233
  URL_MD5 1841196c2bfcf10246966eecf92ad0ec)
Chuck Atkins's avatar
Chuck Atkins committed
234
235
236
237
238
239
240
241
242
243

add_revision(mxml
  URL http://www.paraview.org/files/dependencies/mxml-2.9.tar.gz
  URL_MD5 e21cad0f7aacd18f942aa0568a8dee19
)

add_revision(adios
  URL http://www.paraview.org/files/dependencies/adios-1.8-439f0fb6.tar.bz2
  URL_MD5 a88701c77a7ead5daadd8d8aff70556a
)
Ben Boeckel's avatar
Ben Boeckel committed
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259

set(tbb_ver "44_20150728oss")
if (WIN32)
  set(tbb_file "tbb${tbb_ver}_win.zip")
  set(tbb_md5 "e7bbf293cdb5a50ca81347c80168956d")
elseif (APPLE)
  set(tbb_file "tbb${tbb_ver}_osx.tgz")
  set(tbb_md5 "a767d7a8b375e6b054e44e2317d806b8")
else ()
  set(tbb_file "tbb${tbb_ver}_lin_0.tgz")
  set(tbb_md5 "ab5df80a65adf423b14637a1f35814b2")
endif ()

add_revision(tbb
  URL "http://www.paraview.org/files/dependencies/${tbb_file}"
  URL_MD5 "${tbb_md5}")
260
261

add_revision(ispc
262
263
264
  URL "http://sourceforge.net/projects/ispcmirror/files/v1.9.0/ispc-v1.9.0-linux.tar.gz"
  #URL_MD5 "39dca86592deb207ce4dc1211eef9d33")
  )
265
266

add_revision(ospray
267
268
  GIT_REPOSITORY "https://github.com/ospray/ospray.git"
  GIT_TAG "v0.10.0")