versions.cmake 6.66 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()

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


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

22
23

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

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

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

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

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

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

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

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

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

59
add_revision(qt
60
  URL "http://paraview.org/files/dependencies/qt-everywhere-opensource-src-4.8.6.tar.gz"
Ben Boeckel's avatar
Ben Boeckel committed
61
  URL_MD5 2edbe4d6c2eff33ef91732602f3518eb)
62

63
if (WIN32 OR (CROSS_BUILD_STAGE STREQUAL "CROSS"))
64
  add_revision(python
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
65
    URL "http://www.paraview.org/files/dependencies/Python-2.7.3.tgz"
66
67
68
    URL_MD5 "2cf641732ac23b18d139be077bd906cd")
else()
  add_revision(python
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
69
    URL "http://paraview.org/files/dependencies/Python-2.7.2.tgz"
70
71
    URL_MD5 "0ddfe265f1b3d0a8c2459f5bf66894c7")
endif()
72
73

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

David C. Lonie's avatar
David C. Lonie committed
77
add_revision(matplotlib
78
79
  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
80

81
add_revision(boost
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
82
  URL "http://www.paraview.org/files/dependencies/boost_1_50_0.tar.gz"
83
  URL_MD5 dbc07ab0254df3dda6300fd737b3f264)
84
85

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

89
if (UNIX)
90
  add_revision(mpi
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
91
    URL "http://paraview.org/files/dependencies/mpich2-1.4.1p1.tar.gz"
92
93
94
    URL_MD5 b470666749bcb4a0449a072a18e2c204)
elseif (WIN32)
  add_revision(mpi
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
95
    URL "http://www.paraview.org/files/dependencies/openmpi-1.4.4.tar.gz"
96
    URL_MD5 7253c2a43445fbce2bf4f1dfbac113ad)
97
endif()
98

99
100
if (CROSS_BUILD_STAGE STREQUAL "CROSS")
  add_revision(mesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
101
    URL "http://www.paraview.org/files/dependencies/MesaLib-7.6.1.tar.gz"
102
103
104
    URL_MD5 e80fabad2e3eb7990adae773d6aeacba)
else()
  add_revision(mesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
105
    URL "http://paraview.org/files/dependencies/MesaLib-7.11.2.tar.gz"
106
107
    URL_MD5 b9e84efee3931c0acbccd1bb5a860554)
endif()
108

109
110
# 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).
111
add_revision(osmesa
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
112
    URL "http://paraview.org/files/dependencies/MesaLib-7.11.2.tar.gz"
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
113
    URL_MD5 b9e84efee3931c0acbccd1bb5a860554)
114

115
116
117
118
119

# Add an option to not use diy from SVN. One 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)
120
  add_revision(diy
121
122
    URL "http://paraview.org/files/dependencies/diy-src.r178.tar.gz"
    URL_MD5 4fba13aae93927d0f32dd6db0599ffcd)
123
else()
124
125
126
127
128
129
130
131
132
133
  if (TRUST_SVN_CERTIFICATES_AUTOMATICALLY)
    add_revision(diy
       SVN_REPOSITORY https://svn.mcs.anl.gov/repos/diy/trunk
       SVN_REVISION -r178
       SVN_TRUST_CERT 1)
  else()
    add_revision(diy
       SVN_REPOSITORY https://svn.mcs.anl.gov/repos/diy/trunk
       SVN_REVISION -r178)
  endif()
134
endif()
135

136
137
# ----------------------------------------------------------------------------
# You choose to download ParaView source form GIT or other URL/FILE tarball
138
option(ParaView_FROM_GIT "If enabled then the repository is fetched from git" ON)
139
140
141
142
143

if (ParaView_FROM_GIT)
  # Download PV from GIT
  add_revision(paraview
    GIT_REPOSITORY git://paraview.org/ParaView.git
144
    GIT_TAG "master")
145
146
else()
  # Variables to hold the URL and MD5 (optional)
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
147
  set (ParaView_URL "http://www.paraview.org/files/v4.3/ParaView-v4.3.1-source.tar.gz" CACHE
148
    STRING "Specify the url for ParaView tarball")
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
149
  set (ParaView_URL_MD5 "d03d3ab504037edd21306413dff64293" CACHE STRING "MD5 of the ParaView tarball")
150
151
152
153
154
155
156
157
158
159
160
161
162

  # 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()

163
add_revision(qhull
164
    GIT_REPOSITORY git://github.com/gzagaris/gxzagas-qhull.git
165
166
    GIT_TAG master)

167
168
add_revision(genericio
    GIT_REPOSITORY git://kwsource.kitwarein.com/genericio/genericio.git
Ben Boeckel's avatar
Ben Boeckel committed
169
    GIT_TAG master)
170

171
#------------------------------------------------------------------------------
172
# Optional Plugins. Doesn't affect ParaView binaries at all even if missing
173
174
175
# or disabled.
#------------------------------------------------------------------------------

176
add_revision(cosmotools
George Zagaris's avatar
George Zagaris committed
177
    GIT_REPOSITORY git://public.kitware.com/cosmotools.git
178
    GIT_TAG v0.13)
179

Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
180
add_revision(acusolve
181
182
  GIT_REPOSITORY git://kwsource.kitwarein.com/paraview/acusolvereaderplugin.git
  GIT_TAG master)
183

Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
184
add_revision(vistrails
185
186
187
  GIT_REPOSITORY git://kwsource.kitwarein.com/paraview/vistrails.git
  GIT_TAG master)

188
189
#add_revision(mili_plugin
# URL ${CMAKE_CURRENT_SOURCE_DIR}/Externals/mili)
190

191
add_revision(portfwd
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
192
  URL "http://www.paraview.org/files/dependencies/portfwd-0.29.tar.gz"
193
  URL_MD5 93161c91e12b0d67ca52dc13708a2f2f)
194
195
196
197

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

add_revision(netcdf
  URL http://www.paraview.org/files/dependencies/netcdf-4.3.2.modified.tar.gz
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
201
  URL_MD5 1841196c2bfcf10246966eecf92ad0ec)